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:[EMAIL PROTECTED]]
> Sent: Friday, April 26, 2002 2:10 AM
> To: [EMAIL PROTECTED]
> 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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to