Hello, This is a reply to an e-mail that you wrote on Fri, 8 Aug 2003 at 14:29, lines prefixed by '>' were originally written by you. > I'm able to draw simple figures like squares and circles using > ImageCreate(), > gd_lib is installed properly as far as I know. > But sometimes the result is a little square with a red cross instead > of a > generated jpg or png. > No error messages are shown. > Can anyone help me out?
You will have an error in your code, if you comment out your header("Content-Type: ...."); line and type the address of your image directly into the browser address bar you will see your error message. .. or you could use PHPs error handling functions and create an error handler that outputs as an image, that could be useful during development. All the best, David. -- phpmachine :: The quick and easy to use service providing you with professionally developed PHP scripts :: http://www.phpmachine.com/ Free PHP error handling script: www.phpmachine.com/error-handler/ Professional Web Development by David Nicholson http://www.djnicholson.com/ QuizSender.com - How well do your friends actually know you? http://www.quizsender.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php