httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ken Brooks" <kenbro...@sevensoft.net>
Subject Re: PHP redirect to url
Date Wed, 30 Jan 2002 23:58:26 GMT
What I am about to paste below comes from the user comments on www.php.net.
These are found under Documentation.
I live by that documentation. :)

To redirect your visitors without interference (no warning/explanation) you
should use
header("Location: http://some.server.com");
If you would first like to tell your visitors what is going to happen
('You'll be redirected in 5 secs') you should consider meta-tags or
JavaScript.

good luck.
-ken



----- Original Message -----
From: "Vernon A Webb" <VernMan@net-nation.com>
To: <users@httpd.apache.org>
Sent: Wednesday, January 30, 2002 6:41 PM
Subject: Re: PHP redirect to url


> All that did was print the word Location to the page??
>
> I want to be redirected.
>
> -----Original Message-----
> From: Jeff Daniels <jeff@texaslink.com>
> To: users@httpd.apache.org
> Date: Wed, 30 Jan 2002 17:42:20 -0600
> Subject: Re: PHP redirect to url
>
> >
> > in PHP do a
> >
> > print "Location: <url>";
> >
> > cheers
> > JD
> >
> >
> > At 06:34 PM 1/30/2002 -0500, you wrote:
> > >Can anyone tell me how to do a redirect in php to a
> > >particular URL? In VBScript it's redirect = "http://url"
> > >
> > >Thanks
> > >
> > >
> > >
> > >---------------------------------------------------------
> ------------
> > >The official User-To-User support forum of the Apache
> HTTP Server
> > Project.
> > >See <URL:http://httpd.apache.org/userslist.html> for
> more info.
> > >To unsubscribe, e-mail: users-
> unsubscribe@httpd.apache.org
> > >For additional commands, e-mail: users-
> help@httpd.apache.org
> >
> >
> > ----------------------------------------------------------
> -----------
> > The official User-To-User support forum of the Apache
> HTTP Server
> > Project.
> > See <URL:http://httpd.apache.org/userslist.html> for more
> info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-
> help@httpd.apache.org
> >
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message