It is wierd! I won't work for me!! Anyway who know a fail that could make this make
this problem?! Could it be the firewall or something. I havn't seen this problem
before! It works fine with other PHP files with other ports, but the problem comes
when i tries to redirect to another page with a port included!
With Best Regards
Johan Holst Nielsen
----- Original Message -----
From: "Sean R. Bright" <[EMAIL PROTECTED]>
To: "'Johan Holst Nielsen'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 4:16 PM
Subject: RE: [PHP-DEV] Sent location header with port!
> This works fine for me...make absolutely sure that there is no whitespace
> before your opening <?php tags. This includes any files you are
> require()ing and include()ing.
>
> <?php
> header("Location: http://www.mysite.com:8080/index.php");
> ?>
>
> Sean
>
> -----Original Message-----
> From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 11, 2001 10:25 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DEV] Sent location header with port!
>
>
> Hi ppl
>
> I have a problem with the header() function. I have to seen a header which
> contain a port! My script looks like this:
> <?
> header("Location: http://domain.com:8080/file.php3");
> ?>
>
> But it won't redirect! Anyway know a solution? Please help! Shall I define
> the port antoher place, or is it impossible to send a header containing a
> port?
>
> With Best Regards
>
> Johan Holst Nielsen
>
>
--
PHP Development 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]