Well, for browsers that support Javascript:

print "<SCRIPT>window.location='URL';</SCRIPT>";


Or, you could load the document that you want
the user to see and print it out.

$contents = join("", file("URL"));
print $contents;
exit;


AFAIK, there's not too many ways to tell a browser
"go here instead".  'Location: ...' is by far the reliable.

---
Scott Hurring
Systems Programmer
EAC Corporation
[EMAIL PROTECTED]
Voice: 201-462-2149
Fax: 201-288-1515

> -----Original Message-----
> From: Renaldo De Silva [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, June 05, 2002 2:44 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] redirecting to a new page
> 
> 
> is there any way other than
> 
> header("Location: http://www.php.net/";);
> 
> to redirect to another page.
> 
> 
> 
> -- 
> 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

Reply via email to