Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » Help ! I need help starting up on Php !
Closed Thread
Old 12-12-2004, 06:09 PM   #1 (permalink)
 
Newb Techie

Join Date: Nov 2004

Posts: 26

onauc

Exclamation Help ! I need help starting up on Php !

Hiya,

Ok, I really need help now.
I want to learn Php programming.
I use windows but I guess the Php scripts I write will be running on Unix/Linux since most webservers of this world are Uniz/linux.

Now, my question is :

Since there are 2 Php versions (one for Windows and one for Unix/Linux) then will that cause any trouble ?
I mean, the tutorials out there, is there a windows tutorial version and a Unix/Linux tutorial version ?
If I read the Windows tutorials and the source codes from it then will they work in webservers under Unix/Linux and vice-versa ?

Frankly, I am stuck !
I do a search on google and many websites come-up and one says do this and another says do that.
So, what should I do ?
Where do you recommend I go to download and install Php ?
I know, I can always use my webhost's server to upload the Php codes and experiment there but that would mean me losing a lot of band-width while "experimenting" and that's why I preferred to download and install Php on my own computer (Windows) but I am worried that the codes that will work on Windows (my computer) might not work on Unix/Linux (my website).
Actually, I can't afford to learn 2 versions of Php (one WIndows and one Unix/Linux) because it is hard enough to learn one version (syntax) in the first-place.
So, what do you all suggest ?
I definietly need help here as I am totally stuck and don't know what to do.
onauc is offline  
Old 12-13-2004, 03:16 PM   #2 (permalink)
 
Ultra Techie

Join Date: Sep 2003

Location: Bamberg, Germany

Posts: 549

Iron_Cross

Send a message via ICQ to Iron_Cross Send a message via MSN to Iron_Cross Send a message via Yahoo to Iron_Cross
Default

It doesn't matter.
Download and install the windows version on your computer (granted you'll need to have a webserver set up. I'd suggest Apache, or IIS) since your computer is windows based. But don't worry about the source, it will work on the *nix website.
The source is the same on both. What you are concerning yourself with is what the INTERPRETER will need to run on (in your case windows)
__________________

See today\'s Penny-Arcade!(May contain foul lanuage)
Pain is weakness leaving the body.

PM Me for my MSN
Iron_Cross is offline  
Old 12-13-2004, 04:30 PM   #3 (permalink)
 
Monster Techie

Join Date: May 2004

Location: Tucson, AZ, USA

Posts: 1,183

Vormund

Send a message via AIM to Vormund Send a message via MSN to Vormund Send a message via Yahoo to Vormund
Default

Yeah, it won't matter much...there are some slight differences in the language, as you can find on PHP's web site (www.php.net). You should download the latest PHP from there...

And for an example, my web host is on Linux, and my debugging/writing/testing is on Windows...I haven't run into a problem yet, and if you do, odds are very good it will be identified on PHP's web site and a fix to get around it.

So...there's only one real version to learn...

The LAMP combo is awsome though, if you like Linux (Linux/Apache/MySQL/PHP)
__________________
Vormund is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On