Re: Go to a different web page?
| From: | Justin French | Date: | Fri, 31 May 2002 13:31:17 +0000 |
| Subject: | Re: Go to a different web page? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-100087@lists.php.net to get a copy of this message | ||
on 31/05/02 10:43 PM, Dave Shacket (dshacket@believethis.org) wrote:
> I have stared at fopen for a long time but can't figure out how to get php
> to pull in a new web page. I am looking for something akin to javascript
> window.location command, just as if I typed a new page into my address bar.
> What am I missing?
you are missing header('Location: blah.html') :)
read the manual page carefully, because header()'s have to be set before any
content is sent to the browser.
php.net/header
Justin French