URL: https://www.overclockers.at/coding-stuff/php_problem_bei_linkscript_117405/page_1 - zur Vollversion wechseln!
soda
was soll das script machen ? - alle files mit einer .php endung verlinken
was hab ich bisher gemacht ß?
Code: PHP//die datei heisst test.php <? $verz=opendir ('.'); while ($file = readdir ($verz)) { if($file{0}!=".") { $endung = strchr($file, '.'); $link = substr($file, 0, -4); if($file != "." && $file != ".." && $file != "test.php" && $file != "") { if($endung =".php") { echo "<a href=\"$file\">$link</a><br>"; } } } } closedir($verz); ?>
== statt =
Zitat von murcielago== statt =
overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2025