Sure, why not? Even if Goldbug does finally start a new one, we can still have two contests running simultaneously, right? This one will test your PHP abilities a little more than the Prime Number one did. It will also test your HTML coding skills (which you better have, if you are a PHP developer!)
Here's the info:
Contest Name: phpinfo() Replacement
Contest ends: when a new entry hasn't been submitted for a while.
Task: Create a new page called phpinfo.php, without using phpinfo().
Goal: The page must look as close to phpinfo() as possible. Include as much information as you can by using any other php function, accessing $_SESSION variables, etc. The closer it looks to the real thing, the better.
Restrictions:
All coding must be either: PHP, HTML, Javascript, or CSS.
All code on one page. No external .inc, .css, .js, etc.
You may not use phpinfo() in any way. Period.
If there is something on the phpinfo page that you need to replicate, and there is NO other way to put it there, then you may simply use plain HTML to display it. However, if it is discovered that there is way to get the info using PHP, you will lose points.
Your page must conform to XHTML 1.1 Strict and CSS standards.
You may add bells and whistles to the page, with the following condition: There MUST be an option to view the page in standard "phpinfo()" format. If so, then you can use CSS to change the page, or do anything else you want to add to the value of the page info (for example, links to the PHP manual). Just make sure there is an option to view it "normally." This can be done with a GET parameter if you like (eg: phpinfo2.php?view=std).
Scoring: Entries will be judged subjectively. The closer the page looks to the standard phpinfo() page, the better your chances of winning. Bells and whistles are a plus, but will only be used to break ties, in case two or more entries are too close to decide.
This might be a challenge. I haven't looked too deep into it, so I'm not sure how difficult it will be. Don't be too quick to think that you must use HTML to display info. For example, the credits at the bottom can be displayed using php_credits(). To get an idea where to start, check out the manual for [man]phpinfo/man.
Please either attach your entry as a .txt file, or provide a link to your phps file on your server. All entries will be tested on my ISP's server, so your page will need to look as close to this one as possible. Your entries will be found at:
http://www.ultimatespin.com/contests/phpinfo/phpinfo_username.php
Check back here often for any additional rules I might have left out, and for links to each person's entry.
FYI, expose_php is set to ON on my ISP's server.
Good Luck!