/php/Serverlist/data/file.txt
but this code:
Code: Select all
<?php
echo "<a href=\php\Serverlist\data"\$file">$file</a><br />\n";
?>/php/Serverlist/data"file.txt"
help would be greatful.. i tried over 50 different ways.. for half anhour!!
Moderator: General Moderators
Code: Select all
<?php
echo "<a href=\php\Serverlist\data"\$file">$file</a><br />\n";
?>Code: Select all
$file = str_replace(".txt", "", $file);