PDA

View Full Version : learning PHP



thebillionaire
10-30-2004, 02:32 PM
Hey, I was wondering if there are any php video tutorials, or good sites?

AndyH
10-30-2004, 07:49 PM
www.php.net is all I needed but I did/do know PERL.

The first thing I made (in PERL, though it doesn't matter and still relates) is a simple message boards. It is good learning experience because it teaches you how to: use $_GET and $_POST varibles, how to use a database, how to steralize input and how to use regex (making your own markup language such as vB code), how to delete and update rows in a database and much more.

Then you can extend it to add authentication and whatever you want.

I think a search on Google for "PHP tutorials" would bring up lots of relavent sites also.

thebillionaire
10-30-2004, 08:05 PM
What do you think is better Perl or PHP? What programming language is used to make newgrounds.com

AndyH
10-30-2004, 08:09 PM
PHP for both your questions. :)

eMEraLdwPn
10-30-2004, 08:25 PM
first thing i made in PHP was a messageboard too... i knew c++ before i learned php

Emancipator
10-30-2004, 10:16 PM
ask questions, easiest way to learn php :) and php is better then perl.

James
10-31-2004, 12:56 AM
It's not quite better from what I've heard. They have their ups and downs. It's just a preference.
But I prefer PHP, myself.

Xander
10-31-2004, 04:03 AM
Php.net has a great tutorial. The best way to learn is just by doing, but I would grab an offline copy of the tutorial or have it handy for searching for functions. You can post questions here and other places and you can usually get some great answers.

PHP and perl, whilst being similar are better at some things than others. Generally PHP is used for front website scripting and perl for background scripting/reporting.

Chris
10-31-2004, 07:00 AM
The problem with PERL is that it is most often used with CGI, and CGI is very slow.

Though look at it this way. PHP was made for web development. PERL was made for text processing.

The New Guy
10-31-2004, 07:03 AM
CGI can sometimes be more secure, and there are speed up thingys out there. Still I wouldnt choose perl.

thebillionaire
10-31-2004, 12:35 PM
I can't find any tutorials on php.net. Can any one give me a direct link please?

pas
10-31-2004, 01:16 PM
What do you think is better Perl or PHP? What programming language is used to make newgrounds.com
Perl can be much more cryptic to read. Perl has a HUGE library of great stuff at cpan. With mod_perl, Perl on the web server can perform as well as PHP.

r2d2
11-01-2004, 05:52 AM
Sitepoint has a bunch of PHP tutorials: http://www.sitepoint.com/subcat/php-tutorials

And phpfreaks have some good stuff too : www.phpfreaks.com

have you done any programming before?

Blue Cat Buxton
11-01-2004, 06:26 AM
Sitepoint has a bunch of PHP tutorials: http://www.sitepoint.com/subcat/php-tutorials



Download the first 4 chapters of Kevin Yanks book at Sitepoint (its free)

It got me started and just went from there

LuckyShima
11-01-2004, 05:23 PM
There is an intro tutorial here:

http://webmonkey.wired.com/webmonkey/01/48/index2a.html?tw=programming

and with mysql here:

http://webmonkey.wired.com/webmonkey/programming/php/tutorials/tutorial4.html

I got some help here when I started but I am not sure what they are doing now:

http://www.phptalk.com

(there is a forum there somewhere)

This book is a useful reference:

Core PHP programming / Leon Atkinson [with Zeev Suraski]

Don't try to memorise everything if this slows you down. Just keep a copy of all the types of codes and routines you need and refer to them when you need them.

Todd W
11-06-2004, 05:05 PM
There is an intro tutorial here:

http://webmonkey.wired.com/webmonkey/01/48/index2a.html?tw=programming

and with mysql here:

http://webmonkey.wired.com/webmonkey/programming/php/tutorials/tutorial4.html

I got some help here when I started but I am not sure what they are doing now:

http://www.phptalk.com

(there is a forum there somewhere)

This book is a useful reference:

Core PHP programming / Leon Atkinson [with Zeev Suraski]

Don't try to memorise everything if this slows you down. Just keep a copy of all the types of codes and routines you need and refer to them when you need them.

I couldn't agree more, attempting to memorize it all from the start is hard. Start writing your own simple php scripts and as you go on you wil see what you use most and start memorizing the important things. I also believe it is good to write down functions you use rarely but that are of great use when you need them... This will save you time from having to re-look them back up on php.net. :)

shim
11-06-2004, 11:52 PM
...attempting to memorize it all from the start is hard

This is SSOOO very true! :eek: