php-windows | 2003112
Date: 11/18/03
- Next message: Svensson, B.A.T. (HKG): "RE: [PHP-WIN] help with header on UNIX server"
- Previous message: Lawrence: "[PHP-WIN] help with header on UNIX server"
- In reply to: Lawrence: "[PHP-WIN] help with header on UNIX server"
- Next in thread: Svensson, B.A.T. (HKG): "RE: [PHP-WIN] help with header on UNIX server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You miss the http:// before the url it could be part of the problem.
Eric
At 14:48 18/11/2003, Lawrence wrote:
>I have two page header.htm and header.php
>This is header.htm
><body>
><p><a href="header.php?xp=1">Link Google</a></p>
><p><a href="header.php?xp=2">Link Yahoo</a></p>
><p><a href="header.php?xp=3">Link Hotmail </a></p>
><p><a href="header.php?xp=4">Link Php.net</a></p>
></body>
>This is header.php
><?
>if ($xp==1)
>header("location : www.google.com") ;
>elseif ($xp==2)
>header("location : www.yahoo.com") ;
>elseif ($xp==3)
>header("location : www.hotmail.com") ;
>elseif ($xp==4)
>header("location : www.php.net") ;
>?>
>When I run on my computer , IIS and windows xp , they run well , but when I
>upload them on UNIX server , they run nothing , they don't redirect , I ask
>admin why he anwsers he doesn't know , anyone can help me , thank you .
>
>--
>PHP Windows Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Svensson, B.A.T. (HKG): "RE: [PHP-WIN] help with header on UNIX server"
- Previous message: Lawrence: "[PHP-WIN] help with header on UNIX server"
- In reply to: Lawrence: "[PHP-WIN] help with header on UNIX server"
- Next in thread: Svensson, B.A.T. (HKG): "RE: [PHP-WIN] help with header on UNIX server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

