PHP and HTML tags?

I poked at them, and they just seem to format whatever script you insert into them and color code stuff. However, the color scheme makes it pretty much worthless. So either we're not supposed to have these tags (I don't remember ever seeing them before), or their color scheme needs to be pretty heavily reworked to not be eye-rapingly awful.

<title> My New Web Page </title>


<h1> Welcome to My Web Page! </h1>

This page illustrates how you can write proper HTML
using only a text editor, such as Windows Notepad. You can also
download a free text editor, such as Crimson Editor, which is
better than Notepad.

There is a small graphic after the period at the end of this sentence.
<img src="images/mouse.gif" alt="Mousie" width="32" height="32" border="0"> The graphic is in a file. The file is inside a folder named "images."

Link: <a href="http://www.yahoo.com/">Yahoo!</a&gt; <br>
Another link: <a href="tableexample.htm">Another Web page</a> <br>
Note the way the BR tag works in the two lines above.

<p>> <a href="index.htm">HTML examples index</a></p>




$folder = '';

$exts = 'jpg jpeg png gif';

$files = array(); $i = -1;
if ('' == $folder) $folder = './';

$handle = opendir($folder);
$exts = explode(' ', $exts);
while (false !== ($file = readdir($handle))) {
foreach($exts as $ext) {
if (preg_match('/\.'.$ext.'$/i', $file, $test)) {
$files[] = $file;
mt_srand((double)microtime()*1000000); // seed for PHP < 4.2
$rand = mt_rand(0, $i);

header('Location: '.$folder.$files[$rand]);

Aroduc on


  • Options
    MKRMKR Registered User regular
    edited May 2007
    I think it's a safe bet that the code colors were picked for the theme that was modified to make the PAF theme.

    They are somewhat of an eyesore. D:

    MKR on
  • Options
    RamiusRamius Joined: July 19, 2000 Administrator, ClubPA admin
    edited May 2007
    Indeed, they are extraneous bits that vBulletin decided to include for what seem to be almost arbitrary reasons (Why only HTML and PHP color coding?). I should just remove them entirely.

    Ramius on
  • Options
    EchoEcho ski-bap ba-dapModerator mod
    edited May 2007
    Yeah, where's the FORTRAN syntax coloring? :x

    Echo on
Sign In or Register to comment.