I have a large-ish PHP project (hundreds of files) that I ve been brought in to work on and the source formatting hasn t been very consistent from the beginning. I d now like to take all source and format it according to the Zend Framework coding standards (tabs to spaces, short tags to full php tags, correct indenting, etc.), however this is not a job that can be done manually. How can I automate this process?
I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...