Thread: PHP Question
View Single Post
Old 02-28-2004, 11:49 AM  
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
What it will look like:

$x = @file($siteurl);

if ($x) {
.....
} else {
print "Could not connect to $url";
exit;
}
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote