Load another page if ...
Posted: Fri Oct 20, 2006 5:52 am
Hi all
I'm trying to write a PHP that checks a statement and if so, then loads another page in the IE,
For example, I type this url in IE:
http://www.mysite.com/check.php
then check.php checks for example if a file entitled test.txt exists on server then I see http://www.google.com ang If NOT I see for example http://www.yahoo.com,
How can I do it by PHP?
Thanks in advance
msrox
I'm trying to write a PHP that checks a statement and if so, then loads another page in the IE,
For example, I type this url in IE:
http://www.mysite.com/check.php
then check.php checks for example if a file entitled test.txt exists on server then I see http://www.google.com ang If NOT I see for example http://www.yahoo.com,
How can I do it by PHP?
Thanks in advance
msrox