Your problem is that you can not send anything to the browser before the
Header command.

Only after it.

HTH,

Ernani

"Zac Hillier" <[EMAIL PROTECTED]> escreveu na mensagem
006f01c1f372$88e64c20$667ba8c0@affectors">news:006f01c1f372$88e64c20$667ba8c0@affectors...
Hi,

Have been coding in asp for the past 18 months but have now decided to move
our site to php and mysql.

In asp we used a function response.redirect to send the user to another page
as required, is there a similar function in php that can work from within
side the page rather than the header area? We get

Warning: Cannot add header information - headers already sent by (output
started at D:\php-dev\includes\lg.php:2) in D:\php-dev\includes\lg.php on
line 26

When using header("Location:

Many thanks for any help.

Zac




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

Reply via email to