--- alain dhaene <[EMAIL PROTECTED]> wrote:
> Is there in php something as a redirect to another page like in asp?

Yes, and as with ASP, there are several methods.

Make an example script that has only this:

<? header('Location: http://www.google.com/'); ?>

As for your error about headers already being sent, this is because you
generate output prior to the call to header(). You can't do this due to a
protocol restriction. The same applies to ASP, although it might buffer output
or something for you.

Hope that helps.

Chris

=====
My Blog
     http://shiflett.org/
HTTP Developer's Handbook
     http://httphandbook.org/
RAMP Training Courses
     http://www.nyphp.org/ramp

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

Reply via email to