Forward to a Different PHP Script?
| From: | Alice Wei | Date: | Tue, 11 May 2010 08:54:36 +0000 |
| Subject: | Forward to a Different PHP Script? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-305072@lists.php.net to get a copy of this message | ||
Hi,
I am not sure if this makes sense, but here is a snippet of what I have:
$q=$_GET["q"];
//find out which feed was selected
if($q=="Herald Times")
{
$xml=("http://www.heraldtimesonline.com/rss/news.xml");
}
else{
//execute a whole different php program, like http://localhost/mypages/another_program.php
exit;
}
Is it possible that I could do something like this? If yes, what is the name of the function that I
should use?
Thanks for your help.
Alice
_________________________________________________________________
The New Busy is not the too busy. Combine all your e-mail accounts with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multiaccount&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_4