Before you start learning - the server
PHP isn’t something you can write and then just run by double clicking the file (well you can, but please don’t think about that right now). I’m going to assume that most of you that read this article use Windows, but if you’re using something else (like myself - using ubuntu linux, which I recommend btw) and want help, feel free to message (write a comment or something) me.
Okay, let us get on with it. There’s three thing you need to write, execute and see PHP. First - an editor. You can write with the usual notepad, but I recommend something else, like Notepad 2. Downloading and installing that is pretty easy, you download Notepad 2, open the .zip-file and put the file Notepad2.exe wherever you want it.
Notpad 2 is for writing PHP, but to actually see the PHP in action you need a webserver and a browser (Opera, firefox, safari, IE etc.). If you wonder what a webserver is, it’s simply the program that sends you webpages you request. When you requested this page, you connected to another computer’s webserver to get the page.
Anyways, enough explaining what a webserver is. If you’re using Windows, which I assume you do, the most convenient thing to do is to install Wamp. The installation shouldn’t be too hard, and when the installation’s done, it’s time to start programming PHP.
If you have questions, feel free to ask them to me and I’ll answer as soon as possible.
March 25th, 2008 at 20:31
I look forward to seeing future posts about this
Nice idea!