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" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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. > */ > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php