School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 306,911 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,740 people online right now. Registration is fast and FREE... Join Now!



's Contributions
Below are the tutorials, code snippets, and resources has submitted to dream.in.code. For more information on Kudos and contributing to dream.in.code visit: http://home.dreamincode.net/?p=about#kudos.
Tutorials
PHP Crash Course in CLI in PHP Tutorials (Last Comment: Moonbat, Views: 2,447)
Beginner's Guide to PHP-GTK in PHP Tutorials (Last Comment: Moonbat, Views: 3,248)
Guide to the HOSTS file in Windows Tutorials (Last Comment: Moonbat, Views: 2,168)
Code Snippets
Alphabatizer in PHP by Moonbat
Submitted: July 6, 2008        Views: 634
This script alphabatizes words into a nice list. Great for school, menial office jobs, etc.
Submitted: July 25, 2008        Views: 1380
A function to calculate combinations. Also included is a factorial function, which was needed for the combination function.
Submitted: July 22, 2008        Views: 373
A simple script to convert a number between base 10, base 16, and base 2.
Enumerator in PHP by Moonbat
Submitted: July 23, 2008        Views: 327
This outputs information about the server the script is running on, and about the person accessing the script. Information includes OS and server details, user agent, disk usage
Submitted: July 24, 2008        Views: 472
A simple function to go through a file and replace text.
Submitted: September 24, 2008        Views: 430
A handy function to get the coming day, useful when you have an event always occuring on a certain day.
Submitted: October 20, 2008        Views: 1825
Here is a simple function to check if a number is a prime number or not.
Submitted: July 13, 2008        Views: 321
From http://projecteuler.net/ this program solves the task of "Add all the natural numbers below one thousand that are multiples of 3 or 5" BTW, this code was made newbie-friendly. I know it could have been done shorter, but shaving off a few tenths of a second or making it a line shorter won't make much difference.
Submitted: July 19, 2008        Views: 801
From projecteuler.net - "Find the sum of all the even-valued terms in the Fibonacci sequence which do not exceed four million." This program solves that task.
Submitted: July 7, 2008        Views: 964
This script can solve quadratic equations for you. Will help the average kid check his homework answers (I don't condone cheating). You can either use the code as is or use only the SolveQuadratic() function in your own script.
Submitted: August 25, 2008        Views: 390
A function to generate a random password given the length
Stack Class in PHP by Moonbat
Submitted: October 5, 2008        Views: 1038
A simple class for using stacks in PHP. It includes simple stack functions like push and pop, but also new functions like pad_extra and peek