magmf
30-05-10, 17:57
Killar,
Jag har vissa problem med innehåll inom Forumkoder php och kod
Samma exempel
<?
$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>");
}
?>
i modersmål fungerar perfekt, men på andra språk kraschar och översätta detta innehåll som inte ska översättas.
Jag har vissa problem med innehåll inom Forumkoder php och kod
Samma exempel
<?
$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>");
}
?>
i modersmål fungerar perfekt, men på andra språk kraschar och översätta detta innehåll som inte ska översättas.