
29.06.2006, 10:53
|
|
Регистрация: Jan 2003
Сообщений: 365
|
Кавычка в одной из последних строк не закрыта.
<?
if (isset ($podcatal)) {
$dir=opendir("../pos/"."$podcatal"."/");
chdir("../pos/"."$podcatal"."/");
echo "<table width=100%>";
while($sod=readdir("$dir")) {
if (is_file("$sod")) {
$obr=join('',file("../pos/"."$podcatal"."/"."$sod"));
$from = strpos("$obr","<title>");
$to = strpos("$obr","</title>");
$len = $to-$from;
$nam= substr("$obr","$from","$len");
echo "<a href=index.hph?b=poslugi>$nam</a>";
}
?>
|