Program Too Big To Post
I spent the night converting a Visual BASIC program into PHP v5.
Not too bad, since I only had PHP 5 for a couple of days.
Tried to post it here, but got a message complaining that it was too long.
Code:
The text that you have entered is too long (2***6 characters). Please shorten it to *0000 characters long.
The program is an interactive web page that computes the difference between any two Gregorian dates and times.
You may have seen other programs that perform a similar task, but this is a deluxe version.
If you want to try it out, I saved it as a ZIP file on my web site so it can be downloaded.
No malware of any kind, just a zipped, plain-text PHP 5 source code file and it is only about 8K.
It's a bit long-winded, but that is because it is fully self-contained in a single file, was converted from another language and is loaded with comments. It could be made MUCH shorter if rewritten from scratch in pure PHP and the comments removed, but that's a future project for when I get better at PHP.
If you can't run it, there is working version on my web site that you can play with that is almost identical. The biggest difference being that the web version uses CSS for a neater display.
The ZIP file for download is at:
[url]http://neoprogrammics.com/difference_between_dates/dbd.zip[/url]
A working copy of the program can be seen at:
[url]http://neoprogrammics.com/difference_between_dates/[/url]
Just thought someone may find it an interesting toy to play with.
Last edited by JayT; 09-16-2007 at 08:53 AM.
Oh to be free, so blissfully free, of the ravages of intelligence, there is no greater joy! - The Cweationist's Cweed
All that is necessary for evil to triumph is a good PR firm.
Very funny, Scotty. Now beam down my clothes!