[PHP] Re: Nothing will execute after calling imagejpeg.

2002-07-04 Thread val petruchek

> This thread has been up before, but there was never sent a reply to it,
> and I'm having the same problemÂ…

Just idea.

If you doesn't have GD installed and php error reporting turned off
this situation is possible.

In other words php simply dies because of undeclared function and
doesn't report about error.

Maybe this helps

--
Sincerely, val petruchek




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] RE: Nothing will execute after calling imagejpeg.

2002-06-03 Thread Leotta, Natalie (NCI/IMS)

You can't use echo or print in your image - you have to use ImageTTFText or
ImageString or any other Image function.  If you go to PHP.net and search
the Image functions you should be able to find some helpful things that you
can use.  You also have to initialize your colors with ImageColorAllocate.

I have a meeting until about 1:00, but if you're still having problems let
me know and I can email you some example code this afternoon.

-Natalie

-Original Message-
From: Kris Johnson [mailto:[EMAIL PROTECTED]] 
Sent: Saturday, June 01, 2002 11:11 PM
To: Leotta, Natalie (NCI/IMS)
Subject: Nothing will execute after calling imagejpeg.


Hello, My name is Kris Johnson. I 'm hoping you can give me some direction
on a problem I am having.

After calling imagejpeg nothing else will work. I have tried echoing html,
echoing just a word in quotes, as well as a using a location header. I do
not get any errors or warnings, but whatever command I use simply doesn't
work. As a test I remarked imagejpeg out of the code and as soon as I did
this the commands after worked fine. I tried changing the filetype to png
but still get the same problem.

Have a nice day
Kris


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php