View Single Post
Old 10-07-2010, 22:14   #5
Richard M
Inactive
 
Join Date: Jun 2003
Location: Los Angeles, CA
Age: 46
Posts: 6,343
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Richard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze arrayRichard M has a bronze array
Re: Free website monitoring agent?

Quote:
Originally Posted by Kymmy View Post
Something missing??

Code:
?>
?????
No, Zend recommend that you don't use the closing ?> to stop newlines from messing with debugging.

Quote:
For files containing only PHP code, the closing tag must always be omitted (See General standards).
http://framework.zend.com/manual/en/...ing-style.html

---------- Post added at 21:14 ---------- Previous post was at 21:13 ----------

Quote:
Originally Posted by Xaccers View Post
I'm getting:

PHP Warning: file_get_contents(webaddress): failed to open stream: No such file or directory in monitor.php on line 17

Running this on a W2K3 server.


Line 17 is:
$page = file_get_contents(urlencode($url));
Your $url must be incorrect.
I haven't tested this code, but it should work with a correct URL.

You're not using "webaddress" (literal) as the URL, right?
Richard M is offline   Reply With Quote