Re: Html location
| From: | Christian Kieninger | Date: | Sat, 29 Jul 2000 12:36:37 +0000 |
| Subject: | Re: Html location | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-1399@lists.php.net to get a copy of this message | ||
hi john,
this is an example to redirect to another URL.
echo "<meta http-equiv=\"refresh\" content=\"0;
URL=/*.php4?var1=$var1&var2=$var2\">";
X-Powered-By: PHP/4.0.0 - you have to set the expose_php = Off in the
php.ini file.
Content-type: text/html - there is a wrong entry in the php.ini file like an
old php3_extension.dll file
Christian
ckieninger@packdata.com
www.packdata.com
----- Original Message -----
From: John Smith <john-smith@katamail.com>
To: PHP Windows <php-windows@lists.php.net>
Sent: Saturday, July 29, 2000 12:06 PM
Subject: [PHP-WIN] Html location
> Hi all ppl,
> This is the problem.
> i have to redirect browsers from a server to another. The first server
(that
> one to be redirected) is a Nt server and does not support php. The second
is
> a unix server and this one support php. So i have to redirect from the NT
> server to the unix one and i have tried to make an index.php file
processed
> from the command line with php.exe and put it on the NT server but with no
> success. This was the line showed "X-Powered-By: PHP/4.0.0 Location:
> http://www.salonina.it/ Content-type: text/html" and does
> not redirect me
to
> the correct location. So some1 knows an HTML command to redirect browser
> without using the header() php command?
> Thanks all
> John
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>