Re: save file from outside url

From: Date: Tue, 10 Dec 2002 19:31:12 +0000
Subject: Re: save file from outside url
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-127704@lists.php.net to get a copy of this message
When I wanted to output the png to file, I just need to plop the global label in front of the $image_filename before I passed it.. Simple mistake, that's what I get for using someone else's script ;-) // output PNG object. global $image_filename; imagePNG($image, $image_filename); "Jason Wong" <php-general@gremlins.biz> wrote in message news:200212100015.30972.php-general@gremlins.biz... > On Monday 09 December 2002 23:44, Jeremiah Breindel wrote: > > Ok. I stripped the needed code out of the image creation script and > > inserted it into my update script. It works great as long as I hard > > code in the filename of the file that is being saved to the server. > > When I pass the image creation function a variable for the filename it > > tells me "invalid filename", although I am echoing it out right before > > and it looks perfect. Any thoughts? > > Could you show the (relevant) parts of your updated code? > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > > /* > Put your brain in gear before starting your mouth in motion. > */ >

« previous php.general (#127704) next »