Hi Victor!
On Fri, 06 Jul 2001, Victor Sp�ng Arthursson wrote:
> Hi!
>
> Still new on PHP, converting from vb$cript, I wonder how I do a
> redirect...
>
> In vbscript:
>
> <%
> response.redirect("page.extension")
> %>
>
> In PHP???
$response->redirect("page");
where:
class Response {
function redirect($page) { header("Location: $page"); }
}
$response = new Response();
to feel more at home :D
-- teodor
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] Redirect Karl J. Stubsjoen
- RE: [PHP] Redirect Thor M. Steindorsson
- [PHP] Redirect Fernando Buitrago
- Re: [PHP] Redirect Philip Olson
- Re: [PHP] Redirect elias
- [PHP] Redirect Victor Sp�ng Arthursson
- [PHP] Redirect Vicor Sp�ng Arthursson
- Re: [PHP] Redirect Christopher Allen
- [PHP] redirect teo
- [PHP] redirect Etienne Colla
- [PHP] Re: redirect Fredrik Wahlberg
- [PHP] Redirect MindHunter
- Re: [PHP] Redirect mcsaba
- [PHP] redirect Tommy Straetemans
- Re: [PHP] redirect Tamas Arpad
- [PHP] Redirect Jennifer Downey
- RE: [PHP] Redirect Maxim Maletsky \(PHPBeginner.com\)
- RE: [PHP] Redirect John Holmes
- [PHP] redirect Alex Davis

