how to save PHP image code
Open notepad or textpad and write a PHP code: Save the file as image.php in htdocs/dspimage directory. Create phpimages directory inside dspimage directory and place inside an image. In my example image file name is dog.jpg.If your image file name is different, then change the image file name in php code.ou will find also PHP source code for creating thumbnail image. To use PHP image functions you have to uncomment extension line in PHP.INI file. Find PHP.INI file in C:\PHP directory and in C:\WINNT\System32\ directory. Scroll down to Windows Extensions and delete ; character in front of gd2.dll.