philip Tue May 27 20:43:31 2003 EDT
Modified files:
/phpdoc/scripts checkent.php
Log:
Additional debugging information for broken links.
Index: phpdoc/scripts/checkent.php
diff -u phpdoc/scripts/checkent.php:1.5 phpdoc/scripts/checkent.php:1.6
--- phpdoc/scripts/checkent.php:1.5 Fri Mar 29 14:42:06 2002
+++ phpdoc/scripts/checkent.php Tue May 27 20:43:31 2003
@@ -85,7 +85,7 @@
fclose ($fpurl);
}
else {
- errormsg ($entity, "Could not open document: " . $link);
+ errormsg ($entity, "Could not open document: " . $entity_url);
}
break;
@@ -95,10 +95,10 @@
if (@ftp_login($ftp, "anonymous", "[EMAIL PROTECTED]")) {
$flist = ftp_nlist($ftp, $url["path"]);
if (!count($flist)) {
- errormsg($entity, "unknown path: " . $url["path"]);
+ errormsg($entity, "unknown path: " . $url["path"] . " for
ftp host: " . $url['host']);
}
} else {
- errormsg ($entity, "could not login as anonymous to " .
$url["host"]);
+ errormsg ($entity, "could not login as anonymous to FTP host:
" . $url["host"]);
ftp_quit($ftp);
}
} else {
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php