[Techtalk] PHP to open a web page?

April april at farstrider.org
Sat Nov 13 02:31:31 EST 2004


If you're doing this before anything has been printed to the page, you 
can set the header of the page to redirect people.  If you have to print 
something first... I think you need to use javascript, unfortunately.

Megan Golding wrote:

>I must be thinking about this problem wrong because I can't find anything on how to do this one thing with PHP. Here's what I want to do, in pseudo code:
>
>if (some_variable == some_value)
>  pull up some web page
>else
>  pull up some other web page
>
>This is being written in PHP (on Apache, under Linux). What the heck is this function I'm looking for?
>
>Many thanks,
>Megan Golding
>  
>



More information about the Techtalk mailing list