Quote:
Originally Posted by Kymmy
Something missing??
?????
|
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
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?