I'm working on this 'last updated' code:
<?
$last_modified = filemtime("http://www.phpbuilder.com/");
print("Last Modified ");
print(date("m/j/y h:i", $last_modified));
?>
My problem is that it works for files in my domain, but not for external ones.
"hello.php" works fine becouse it's in the same folder but for "http://www.phpbuilder.com/" I get: "Warning: filemtime(): Stat failed for http://www.phpbuilder.com/ (errno=2 - No such file or directory)"
What can be the problem?
Btw, sorry for my English, it's pretty bad :rolleyes: