if (condition) { header("Location: http://www.gogle.com/"); } else { header("Location: http://www.yahoo.com/"); }
regds, -----Original Message----- From: christian tischler [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 16, 2003 16:11 To: [EMAIL PROTECTED] 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php