How can I automatically forward to an external URL using PHP?
Or is that at all possible?
header(Location: http://www.php.net/;);
note that this cannot be set once any output has been sent to the browser.
atleast not without using output buffering.
--
Joseph Crawford Jr.
Zend Certified Engineer
Codebowl Solutions, Inc.
1-802-671-2021
[EMAIL PROTECTED]
How can I automatically forward to an external URL using PHP?
header('Location: http://espn.go.com');
exit;
Larry
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
One way:
heading(Location: http://www.somesite.com;);
Has to be before any HTML output.
-Micah
On Monday 26 September 2005 12:57 pm, Daryl Booth wrote:
How can I automatically forward to an external URL using PHP?
Or is that at all possible?
--
PHP Database Mailing List
.
-Original Message-
From: Joseph Crawford [mailto:[EMAIL PROTECTED]
Sent: Montag, 26. September 2005 22:02
To: Daryl Booth; [PHP-DB] Mailing List
Subject: Re: [PHP-DB] URL Forwarding in PHP...
header(Location: http://www.php.net/;);
note that this cannot be set once any output has been sent
, 26. September 2005 22:20
To: php-db@lists.php.net
Subject: Re: [PHP-DB] URL Forwarding in PHP...
Okay, then you should use an HTML meta tag to forward.. uhh.. (looking it up
since I haven't done this in a while)
Here, try this:
http://www.billstclair.com/html-redirect.html
-Micah