At 9:44 AM -0800 1/13/07, Chris Carter wrote:
Hi,

Here is code that I got from the internet for random image. This file works
perfect if I try it independently but not on any existing file. I think the
error that I am getting is quite common on the net but its new for me.

I am getting this error:

Warning: Cannot modify header information - headers already sent by (output
started at /folder/test.php:12) in /folder/randomimage.php on line 19

Chris :

Whenever I get that error, I look to:

http://us2.php.net/ob_start

I think ob_start and ob_flush might solve your problem.

Cheers,

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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

Reply via email to