I'm having this very strange problem with the behavior of fopen. When I run the script below on my local machine using EasyPHP, it works fine, but when I put it online on a Linux server (php enabled), it doesn't work. Any ideas?
$site = "http://www.zyzyzyzy.com";
if (!@fopen($site, "r")) exit("Site Not Found.");