RE: call a website from a php script
| From: | Uttam | Date: | Mon, 17 Feb 2003 06:37:09 +0000 |
| Subject: | RE: call a website from a php script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-135803@lists.php.net to get a copy of this message | ||
if (condition) {
header("Location: http://www.gogle.com/");
} else {
header("Location: http://www.yahoo.com/");
}
regds,
-----Original Message-----
From: christian tischler [mailto:christian@tischler.co.uk]
Sent: Sunday, February 16, 2003 16:11
To: php-general@lists.php.net
Subject: call a website from a php script
can anybody tell me please how to "call" a website from a php script.
meaning
if (something happens) {goto www.google.com} else {goto www.yahoo.com}
tanks,
christian