PDA

Click to See Complete Forum and Search --> : yohoo?, anyone even looks at this section?


Paxthegreat
Feb 15th, 2002, 05:03 PM
ok, very good question here, what is PHP, can someone give me a use, an example and how it differs to any other Web language (If you were un-aware i have no-idea what PHP is)

chrisjk
Feb 16th, 2002, 10:24 AM
it started life as a wrapper for perl but became a language all by itself. For that reason it is very similar to perl, also other web scripting languages like javascript.

And that's all it is, a web scripting language. It allows you to provide dynamic content on a web page which static HTML can't. Along with that it is very closely tied with MySQL and other sql servers.

PHP can be embedded into any HTML file, and the interpreter will only compile the PHP bits, it will ignore the rest of the HTML and just output it as is. All you have to do is give your html file a .php(3) extension and usually you can place it anywhere rather than just in a cgi-bin.

JoshT
Feb 18th, 2002, 11:45 AM
it started life as a wrapper for perl but became a language all by itself. For that reason it is very similar to perl, also other web scripting languages like javascript.

I though it started as a wrapper for the standard C library functions?

chrisjk
Feb 18th, 2002, 12:14 PM
maybe...sure I read it somewhere.

meh you're probably right.

ubunreal69
Feb 18th, 2002, 06:47 PM
Originally posted by chrisjk
... All you have to do is give your html file a .php(3) extension and ... or just *.php :p

sail3005
Feb 18th, 2002, 08:30 PM
the best reference i have found is http://www.php.net

If you are advanced at programming, then just looking up the functions should be enough for you.

chrisjk
Feb 18th, 2002, 08:49 PM
Originally posted by ubunreal69
or just *.php :p that be why I put the 3 in brackets (optional) ;)