PHP Code Tag is Impossible to Read

ASimPersonASimPerson Cold...and hard.Registered User regular
The php tag's background is impossible to read. I was wondering if someone could fix the style code for that? Here's an example:
bowen wrote: »

$path = $_REQUEST["dir"];

$dirHandle = opendir($path) or die("Unable to open {$path}");

echo "{$path}'s contents:<br/><br/>";

while (false !== ($dirObj= readdir($dirHandle))) {
//check if it's a directory
if($dirObj != "." && $dirObj != "..") {
if(!is_file($dirObj)) {
echo "<a href=\"{$_SERVER["SCRIPT_NAME"]}?dir={$dirObj}\">{$dirObj}</a><br/>";
} else {
echo "<a href=\"{$dirObj}\">{$dirObj}</a><br/>";


ASimPerson on


  • Options
    YamiNoSenshiYamiNoSenshi A point called Z In the complex planeRegistered User regular
    edited April 2010
    That does look pretty bad in Firefox 3.6.2.

    YamiNoSenshi on
  • Options
    bowenbowen How you doin'? Registered User regular
    edited April 2010
    Yeah a white or really light gray would be good there.

    bowen on
    not a doctor, not a lawyer, examples I use may not be fully researched so don't take out of context plz, don't @ me
Sign In or Register to comment.