The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.

PHP Code Tag is Impossible to Read

ASimPersonASimPerson Cold...... and hard.Registered User regular
edited April 2010 in H.Q. Reception Desk
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: »
[php]
<?php

$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/>";
}
}
}

closedir($dirHandle);
?>
[/php]

ASimPerson on

Posts

  • 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
  • bowenbowen Sup? 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.