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]

Reply via email to