Forum Moderators: coopster

Message Too Old, No Replies

how to save image file on my web server?

         

feelexit

10:51 pm on Jul 22, 2005 (gmt 0)

10+ Year Member



I use gd2 to resize my image file and it shows up fine on my browser, but i dont know how to save it on my web server.

which function do i have to call?

thanx for help.

ergophobe

12:44 am on Jul 23, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Welcome to WebmasterWorld feelexit.

It's probably easiest to save the image first, then serve up the file


bool imagegif ( resource image [, string filename] )

If you set the filename parameter, that's where the image should get created.

[us2.php.net...]
[us2.php.net...]