View Single Post
  #4 (permalink)  
Old 05-05-05, 06:26 AM
Acecool's Avatar
Acecool Acecool is offline
Aspiring Coder
 
Join Date: Nov 2003
Posts: 506
Thanks: 0
Thanked 0 Times in 0 Posts
To "save" the image outputted via the GD functions:

Instead of:
ImagePng ($TheImage);

Use:
imagepng($New_Image, 'Filename.png');
imagejpeg($New_Image, 'Filename.jpg');
imagegif($New_Image, 'Filename.gif');

Of course, the directory has to be CHModded 0777 - you can do this as it is happening, or have it static.
__________________
Check Acecoolco.com for PHP Tutorials, and other tuts
If you plan on contacting me, please read this: Legal Terms & Conditions
Reply With Quote