RE: [PHP] image_create(), header.....

2002-05-24 Thread Leotta, Natalie (NCI/IMS)
You can save them and then call them up, but then you have to use a cron or something to empty out the folder. Here's how I save it: //Image created and everything up here, this is the very end of it $myTime = time(); ImagePNG($im, ../spool/jp$myTime.png); //this creates a unique name

RE: [PHP] image_create(), header.....

2002-05-24 Thread Leotta, Natalie (NCI/IMS)
Thanks! I didn't know it was that helpful :-) It's in there now. -Natalie -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED]] Sent: Friday, May 24, 2002 3:58 PM To: Leotta, Natalie (NCI/IMS) Subject: RE: [PHP] image_create(), header. This looks like a great example

Re: [PHP] image_create(), header.....

2002-05-24 Thread Miguel Cruz
You need to put the ob_start() call at the very beginning of your script, not inside that function. You have to turn output buffering on before ANY output is generated, if you want to be able to send headers later on. miguel On Fri, 24 May 2002, Gerard Samuel wrote: Im trying to use dynamic

RE: [PHP] image_create(), header.....

2002-05-24 Thread Jerome Houston
While Natalie's solution is a valid one, i have another first - the error you're getting is because the headers are sent AS SOON as you echo, print or output html outside of your ?php ? tags. you're echoing something before you call ob_start(); second- the reason this doesn't work, is

Re: [PHP] image_create(), header.....

2002-05-24 Thread Gerard Samuel
While Natalie's example, was doable, this one takes the cake for me. Thank you all for your suggestions Jerome Houston wrote: While Natalie's solution is a valid one, i have another first - the error you're getting is because the headers are sent AS SOON as you echo, print or