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)
Printable View
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)
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.
I though it started as a wrapper for the standard C library functions?Quote:
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.
maybe...sure I read it somewhere.
meh you're probably right.
or just *.php :pQuote:
Originally posted by chrisjk
... All you have to do is give your html file a .php(3) extension and ...
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.
that be why I put the 3 in brackets (optional) ;)Quote:
Originally posted by ubunreal69
or just *.php :p