Posts Tagged ‘PHP’

Move uploaded file problem


Today I faced a new problem in php coding. I was coding a simple file uploader class. I used regular script as I do. A warning is found at move_uploaded_file() function. I passed some time googling about it. I found that the function cannot access the directory I have mentioned. I made a command on [...]

No Comments

PHP header already sent error


Few days ago I made a silly mistake in my php coding. I have echoed something on the page where I have set the cookie.  It seems that it is not faulty code. I googled the problem and found the solution from php.net. Actually cookie must be called before anything goes to browser from server.
So [...]

No Comments

PHP CAPTCHA generator


CAPTCHA stands for Completely Automated Public Turing test to tell Computers and Humans Apart. The term captcha was first coined by Luis von Ahn, Manuel Blum, Nicholas J. Hooper and John Langford. The first three are from Carnegie Mellon University and last one is from IBM. We will see how easily we can produce captcha [...]

No Comments

Pie diagram in PHP


PHP is a very powerful web scripting language. We can easily create images on web page using php.
Now the question is there are thousands of image editing software to create marvellous images, why we need php script to draw image for us.
The answer is php is dynamic. Most of the image editing software are designed [...]

No Comments