What is PHP?<

liunx

Guest
I consider myself to be pretty decent at HTML, but I know nothing about PHP. Therefore, I have some questions:

1: Do I need to have, like, my own server, or can I use PHP if I'm hosted by, for example, Geocities?

2: A guy I know says that PHP is rather alike HTML, in some way or another. Is that true or have I misunderstood him somehow?

Those are all the questions I can think of right now.I think this should help explain:
<!-- m --><a class="postlink" href="http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=what+is+PHP%3F&btnG=Google+Search">http://www.google.com/search?hl=en&ie=U ... gle+Search</a><!-- m -->

;)1) For PHP, I do not believe any free hosts provide support;
I host websites for cheap, but if you just want a **small**
subdomain website w/ PHP support, I can let
you use some of my personal space... (did for joe2kiss)

2) In a way, yes PHP is **looosely** like HTML;
but its so much more than that, and believe me,
you'll be forever glad to 'break away from HTML' into PHP...

3) PHP is open-source, so you can make changes to it;
as well, this also means they have a *free* online manual;

<!-- m --><a class="postlink" href="http://php.net/tut.php">http://php.net/tut.php</a><!-- m --> <-- PHP Introductry Tutorial
<!-- m --><a class="postlink" href="http://php.net/manual/en/index.php">http://php.net/manual/en/index.php</a><!-- m --> <-- PHP *free* English Manual

Hope this helps :)1) It's rare that free hosts support PHP, but some do, to an extent(you'll often see safe mode activated). You'll need a local webserver to test your PHP documents locally, such as the Apache HTTP Server or Microsoft IIS.

2) PHP is absolutely not like HTML. HTML is used to mark up and structure information, while PHP is a programming language like Perl, Java, VB, and so on, commonly used to process or to generate (X)HTML. PHP is often mixed with (X)HTML, so it's a common misunderstanding that they have anything in common. I really suggest you read the introduction in the manual, linked above.
 
Back
Top