magmf
30-05-10, 17:57
Ребята,
У меня есть некоторые проблемы с содержанием прямо BBCodes PHP и код
же примеры
<?
$diary_directory = opendir(".");
while($filename = readdir($diary_directory))
{
$filesplit = explode(".", $filename);
$check_filename = $filesplit[0];
if(ereg("[0-9]{6}", $check_filename))
{
$check_filename .= ".$filesplit[1]";
$valid_filename[] = $check_filename;
}
}
closedir($diary_directory);
for($index = 0; $index < count($valid_filename); $index++)
{
print("$valid_filename[$index]<br>");
}
?>
<?
$diary_directory = opendir(".");
while($filename = readdir($diary_directory))
{
$filesplit = explode(".", $filename);
$check_filename = $filesplit[0];
if(ereg("[0-9]{6}", $check_filename))
{
$check_filename .= ".$filesplit[1]";
$valid_filename[] = $check_filename;
}
}
closedir($diary_directory);
for($index = 0; $index < count($valid_filename); $index++)
{
print("$valid_filename[$index]<br>");
}
$diary_directory = opendir(".");
while($filename = readdir($diary_directory))
{
$filesplit = explode(".", $filename);
$check_filename = $filesplit[0];
if(ereg("[0-9]{6}", $check_filename))
{
$check_filename .= ".$filesplit[1]";
$valid_filename[] = $check_filename;
}
}
closedir($diary_directory);
for($index = 0; $index < count($valid_filename); $index++)
{
print("$valid_filename[$index]<br>");
}
$diary_directory = opendir(".");
while($filename = readdir($diary_directory))
{
$filesplit = explode(".", $filename);
$check_filename = $filesplit[0];
if(ereg("[0-9]{6}", $check_filename))
{
$check_filename .= ".$filesplit[1]";
$valid_filename[] = $check_filename;
}
}
closedir($diary_directory);
for($index = 0; $index < count($valid_filename); $index++)
{
print("$valid_filename[$index]<br>");
}
$diary_directory = opendir(".");
while($filename = readdir($diary_directory))
{
$filesplit = explode(".", $filename);
$check_filename = $filesplit[0];
if(ereg("[0-9]{6}", $check_filename))
{
$check_filename .= ".$filesplit[1]";
$valid_filename[] = $check_filename;
}
}
closedir($diary_directory);
for($index = 0; $index < count($valid_filename); $index++)
{
print("$valid_filename[$index]<br>");
}
?>
на родном языке, работает отлично, но на других языках происходит сбой, и перевод этой страницы, которые должны быть переведены.
У меня есть некоторые проблемы с содержанием прямо BBCodes PHP и код
же примеры
<?
$diary_directory = opendir(".");
while($filename = readdir($diary_directory))
{
$filesplit = explode(".", $filename);
$check_filename = $filesplit[0];
if(ereg("[0-9]{6}", $check_filename))
{
$check_filename .= ".$filesplit[1]";
$valid_filename[] = $check_filename;
}
}
closedir($diary_directory);
for($index = 0; $index < count($valid_filename); $index++)
{
print("$valid_filename[$index]<br>");
}
?>
<?
$diary_directory = opendir(".");
while($filename = readdir($diary_directory))
{
$filesplit = explode(".", $filename);
$check_filename = $filesplit[0];
if(ereg("[0-9]{6}", $check_filename))
{
$check_filename .= ".$filesplit[1]";
$valid_filename[] = $check_filename;
}
}
closedir($diary_directory);
for($index = 0; $index < count($valid_filename); $index++)
{
print("$valid_filename[$index]<br>");
}
$diary_directory = opendir(".");
while($filename = readdir($diary_directory))
{
$filesplit = explode(".", $filename);
$check_filename = $filesplit[0];
if(ereg("[0-9]{6}", $check_filename))
{
$check_filename .= ".$filesplit[1]";
$valid_filename[] = $check_filename;
}
}
closedir($diary_directory);
for($index = 0; $index < count($valid_filename); $index++)
{
print("$valid_filename[$index]<br>");
}
$diary_directory = opendir(".");
while($filename = readdir($diary_directory))
{
$filesplit = explode(".", $filename);
$check_filename = $filesplit[0];
if(ereg("[0-9]{6}", $check_filename))
{
$check_filename .= ".$filesplit[1]";
$valid_filename[] = $check_filename;
}
}
closedir($diary_directory);
for($index = 0; $index < count($valid_filename); $index++)
{
print("$valid_filename[$index]<br>");
}
$diary_directory = opendir(".");
while($filename = readdir($diary_directory))
{
$filesplit = explode(".", $filename);
$check_filename = $filesplit[0];
if(ereg("[0-9]{6}", $check_filename))
{
$check_filename .= ".$filesplit[1]";
$valid_filename[] = $check_filename;
}
}
closedir($diary_directory);
for($index = 0; $index < count($valid_filename); $index++)
{
print("$valid_filename[$index]<br>");
}
?>
на родном языке, работает отлично, но на других языках происходит сбой, и перевод этой страницы, которые должны быть переведены.