Learning PHP

Soldato
Joined
25 Sep 2003
Posts
3,750
Location
Manchester
I need to learn some php for a small project I'm doing and was wondering the best way to learn it is? Also, are there any Dreamweaver type editors that would do code hinting to help me out a bit while I'm getting to grips with it?

What I'm trying to do is put together something where a user uploads images, those images are auto renamed to be called image#### (where#### is an auto number incremented by one from the last file on the server to keep the images in order). The images once uploaded and renamed are added to an xml file. Is using php going to be the best way to do this, and how hard will it be for someone who used to do a bit of VB about 10 years ago? :)

Stage 2 of this project involves randomly shuffling the xml contents so all the images randomize.

Thanks for any tips.
 
Last edited:
Just grab something like XAMPP and it'll get a webserver set-up for you (including PHP support). Once done, create a *.php file in the htdocs folder and go to http://127.0.0.1/*.php and you're half way there :p.

You can use notepad++ for PHP autocompletion (using this). There's also PDT for Eclipse if you want to manage a whole project.

For actually learning PHP, there's loads of tutorials online. YouTube is a great source as well (I work better from Video at least).

Wow, thanks Pho - I've got XAMPP set up so am on my way! I've just been playing with an upload script which works great, shame I have no idea what all the code actually really means. :(

I'll browse through YouTube and see what I can learn.
 
Back
Top Bottom