RE: [PHP] Redirect
| From: | Maxim Maletsky \(PHPBeginner.com\) | Date: | Fri, 26 Apr 2002 00:25:41 +0000 |
| Subject: | RE: [PHP] Redirect | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94697@lists.php.net to get a copy of this message | ||
With header you can do by using
header("Location: http://www.site.com/some/page.php?some=var");
here's a good article about it:
http://www.phpbeginner.com/columns/shobhan/browser
other than that, you can always include(). But this is a little bit of a
mess.
Sincerely,
Maxim Maletsky
Founder, Chief Developer
www.PHPBeginner.com // where PHP Begins
> -----Original Message-----
> From: Jennifer Downey [mailto:jendowney@attbi.com]
> Sent: Friday, April 26, 2002 2:10 AM
> To: php-general@lists.php.net
> Subject: [PHP] Redirect
>
> Hi to all,
>
> I am wondering if there are other ways to redirect users other than
using
> header()?
>
> I have a script that if the user doesn't have enough money to buy an
item
> then it directs to one page and if they do then it directs them back
to the
> referring page.
>
> Is this possible?
>
>
> Thanks
> Jennifer
>
> --
> The sleeper has awaken
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php