Page 1 of 2

Going to learn PHP...

Posted: Thu Oct 19, 2006 8:13 am
by Joakim Christiansen
I'm going to learn myself PHP now... anyone know where I should begin?
Anybody have an ide on how to preview php files?
I want to preview the pages I make without uploading them!

Posted: Thu Oct 19, 2006 8:44 am
by Jan2004
Freely available tutorials:
http://www.vtc.com/products/php.htm

Posted: Thu Oct 19, 2006 9:19 am
by Joakim Christiansen
Nice!

Posted: Thu Oct 19, 2006 9:25 am
by CadeX
nice, 1111 post JLC...

I want to learn php but i'm sick of learning new languages, which is exactly why i want to use PB with Apache.

Re: Going to learn PHP...

Posted: Thu Oct 19, 2006 9:27 am
by Kale
Joakim Christiansen wrote:I'm going to learn myself PHP now... anyone know where I should begin?
Anybody have an ide on how to preview php files?
I want to preview the pages I make without uploading them!
Install this (free home version): Abyss X1 Webserver

then follow the wesite guide to install PHP to this local webserver (http://www.aprelium.com/abyssws/php5win.html). Then use this local webserver to test your php enabled webpages offline.

then read this:

http://www.php.net/manual/en/ or download the manual here: http://www.php.net/download-docs.php

PHP is cool and easy to learn and absolutely rocks the socks off asp and jsp. :wink:

Re: Going to learn PHP...

Posted: Thu Oct 19, 2006 9:28 am
by mskuma
Joakim Christiansen wrote:Anybody have an ide on how to preview php files?
There are quite a few editors that have syntax files for PHP (to do syntax highlighting), and there are editors like PHP Expert Editor that are purpose-built for PHP.
I want to preview the pages I make without uploading them!
The usual way is to setup a web server on your machine and run it locally - this is the best (and probably only way if targetting web applications). If you're on Windows, keyfocus web server or Abyss Web Server are good, easy choices for local testing.

Re: Going to learn PHP...

Posted: Thu Oct 19, 2006 9:32 am
by Kale
mskuma wrote:The usual way is to setup a web server on your machine and run it locally - this is the best (and probably only way if targetting web applications). If you're on Windows, keyfocus web server or Abyss Web Server are good, easy choices for local testing.
See above. :wink:

Re: Going to learn PHP...

Posted: Thu Oct 19, 2006 9:33 am
by mskuma
Kale wrote:See above. :wink:
So I guess we typed the same thing at the same time - so what.

Posted: Thu Oct 19, 2006 9:34 am
by Joakim Christiansen
Thanks for the help anyone! :D
I also see that I'll have to learn MySQL if I want to do anything fancy!

Re: Going to learn PHP...

Posted: Thu Oct 19, 2006 9:46 am
by Kale
mskuma wrote:
Kale wrote:See above. :wink:
So I guess we typed the same thing at the same time - so what.
ooo, tetchy! :roll:

Re: Going to learn PHP...

Posted: Thu Oct 19, 2006 10:03 am
by mskuma
Kale wrote:ooo, tetchy! :roll:
I think it was simply an unnecessary post on your part (like that one too) - there was no point, and added no value to the topic. All you had to do was look at the post times and you'd have seen it too. Have some consideration.

Posted: Thu Oct 19, 2006 10:15 am
by CadeX
I hate mysql, i'm currently trying to set it up, the documentation is SO bad for installing it and setting up user tables + databases.

Posted: Thu Oct 19, 2006 10:22 am
by mskuma
CadeX wrote:I hate mysql, i'm currently trying to set it up, the documentation is SO bad for installing it and setting up user tables + databases.
I agree - mysql can be a pain, but the installer for the latest version (5) is MUCH better than past versions - I think it's relatively smooth these days. I personally think you're better off getting one of the many 3rd-party tools out for setting up a database/table - I suggest the EMS MySQL Manager Lite (freeware & can also recommend the pro version). Even MySQL's own GUI admin tools are worth a look also.

Re: Going to learn PHP...

Posted: Thu Oct 19, 2006 10:30 am
by Kale
mskuma wrote:
Kale wrote:ooo, tetchy! :roll:
I think it was simply an unnecessary post on your part (like that one too) - there was no point, and added no value to the topic. All you had to do was look at the post times and you'd have seen it too. Have some consideration.
That's NumberWang!

Re: Going to learn PHP...

Posted: Thu Oct 19, 2006 10:36 am
by mskuma
Kale wrote:That one was unnecessary too. :roll:
Why are you perpetuating this nonsense.. Oh I see - it's good banner exposure.. :?