Re: Parse errors with includes and/or prepends/appends
| From: | Teodor Cimpoesu | Date: | Wed, 14 Jun 2000 00:08:21 +0000 |
| Subject: | Re: Parse errors with includes and/or prepends/appends | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1784@lists.php.net to get a copy of this message | ||
Hi Seth!
On Tue, 13 Jun 2000, Seth Hollyman wrote:
> > <?
> > session_register($auth_flag);
> >
> > if ($auth_flag != 1) {
> > header("Location: ./login.php4");
+ exit;
> > }
> > ?>
>
> Is there a function or method that tells PHP to stop
> parsing/outputting? If so, this method can still be used. Otherwise, its
yap, just stop the script as above;
Also note the Location redirect syntax usually require a well formatted
URL to work (i.e. http://server/location)
-- teodor