Going to learn PHP...

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Going to learn PHP...

Post 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!
I like logic, hence I dislike humans but love computers.
Jan2004
Enthusiast
Enthusiast
Posts: 184
Joined: Fri Jan 07, 2005 7:17 pm

Post by Jan2004 »

Freely available tutorials:
http://www.vtc.com/products/php.htm
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Nice!
I like logic, hence I dislike humans but love computers.
CadeX
Enthusiast
Enthusiast
Posts: 124
Joined: Mon Oct 02, 2006 2:56 pm
Location: Australia
Contact:

Post 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.
Pro-Gamer, Programmer, Pro-Grammer
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Re: Going to learn PHP...

Post 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:
Last edited by Kale on Thu Oct 19, 2006 9:32 am, edited 3 times in total.
--Kale

Image
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Re: Going to learn PHP...

Post 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.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Re: Going to learn PHP...

Post 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:
--Kale

Image
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Re: Going to learn PHP...

Post by mskuma »

Kale wrote:See above. :wink:
So I guess we typed the same thing at the same time - so what.
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post 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!
I like logic, hence I dislike humans but love computers.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Re: Going to learn PHP...

Post 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:
--Kale

Image
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Re: Going to learn PHP...

Post 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.
CadeX
Enthusiast
Enthusiast
Posts: 124
Joined: Mon Oct 02, 2006 2:56 pm
Location: Australia
Contact:

Post 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.
Pro-Gamer, Programmer, Pro-Grammer
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Post 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.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Re: Going to learn PHP...

Post 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!
Last edited by Kale on Thu Oct 19, 2006 10:40 am, edited 1 time in total.
--Kale

Image
mskuma
Enthusiast
Enthusiast
Posts: 573
Joined: Sat Dec 03, 2005 1:31 am
Location: Australia

Re: Going to learn PHP...

Post by mskuma »

Kale wrote:That one was unnecessary too. :roll:
Why are you perpetuating this nonsense.. Oh I see - it's good banner exposure.. :?
Post Reply