# Php?

**URL:** https://forum.kirupa.com/t/php/16626
**Category:** Uncategorized
**Created:** [March 26, 2003, 10:42pm UTC](https://forum.kirupa.com/t/php/16626 "2003-03-26T22:42:28Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![hojo](https://avatars.discourse-cdn.com/v4/letter/h/7cd45c/32.png) [@hojo](https://forum.kirupa.com/u/hojo)
#### Post date: [March 26, 2003, 10:42pm UTC](https://forum.kirupa.com/t/php/16626/1 "2003-03-26T22:42:28Z")

</div>

why would you use php over html?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:43pm UTC](https://forum.kirupa.com/t/php/16626/2 "2003-03-26T22:43:38Z")

</div>

you can’t compare the two. PHP is more powerful. You can use PHP to write HTML. In terms of Flash:

PHP is actionscript and HTML is the motion tweens…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:45pm UTC](https://forum.kirupa.com/t/php/16626/3 "2003-03-26T22:45:34Z")

</div>

Here is a good conversation about it over on TF forums:

[http://www.tutorialforums.com/showthread.php?threadid=39589&highlight=engine](http://www.tutorialforums.com/showthread.php?threadid=39589&highlight=engine)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:48pm UTC](https://forum.kirupa.com/t/php/16626/4 "2003-03-26T22:48:27Z")

</div>

so i guess what i should say is:

whats the advantage to using php over not using it?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:49pm UTC](https://forum.kirupa.com/t/php/16626/5 "2003-03-26T22:49:55Z")

</div>

well, I’d say that PHP is serverside and html is clientside.  
or basically, php is what killed cgi

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:52pm UTC](https://forum.kirupa.com/t/php/16626/6 "2003-03-26T22:52:12Z")

</div>

why would you want to use php in a site over just using html? i understand that php is more powerful, but in what way? what would i benefit to using it when doing a portfolio site?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:56pm UTC](https://forum.kirupa.com/t/php/16626/7 "2003-03-26T22:56:36Z")

</div>

it lets you re-use single web pages as a template for dynamic content. Things like this page here. Look at the web adress. Every thread you look at is you looking at one PHP page, showthread.php. With that query variable passed in on the end, threadid=18698, the php page is able to get the right info from the server needed to display the page properly, though it is all formed in the same manner, using a similar template as outlined in the showthread.php. Its like a server-side fed javascript (which there is SS JS) that lets you easily manage page content using a small amount of actual web pages.

For typical personal sites, you’d probably have no use for it whatsoever, but the advantages come in when dealing with forums and accessing DBs or dynamically writing files on the server etc.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:56pm UTC](https://forum.kirupa.com/t/php/16626/8 "2003-03-26T22:56:55Z")

</div>

you can use it for dynamic content. Easily update things and manipulat a database with it…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:57pm UTC](https://forum.kirupa.com/t/php/16626/9 "2003-03-26T22:57:30Z")

</div>

TOO MANY LETTERS!! TOO MUCH READING!!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 10:59pm UTC](https://forum.kirupa.com/t/php/16626/10 "2003-03-26T22:59:56Z")

</div>

ASP is far better 😉 Dynamic server content my friend… you need to do some reading!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 11:01pm UTC](https://forum.kirupa.com/t/php/16626/11 "2003-03-26T23:01:35Z")

</div>

yeah, html is static, php is dynamic.  
the main reason for use of php is to create content that’s specific to the user… such as an [amazon.com](http://amazon.com) page, which keeps track of what you’re purchasing and makes a page listing these. If serverside processors didnt exist, you would either have to keep track of everything by cookies, or someone would have to be doing a huge lot of editing. And things like database administration wouldn’t be automated.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 11:03pm UTC](https://forum.kirupa.com/t/php/16626/12 "2003-03-26T23:03:48Z")

</div>

PHP is quickly becoming the industry standard. Currently is is more powerful and more popular than ASP, and there is another version PHP 5.0 coming out soon that is more oriented towards OOP and has far supperior error-handling, as well as some other fun stuff. From what I have seen with my experience with ASP and PHP I prefer PHP. It is developed for a UNIX server as opposed to ASP which is made for M$, and we all know how reliable M$ is…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 11:06pm UTC](https://forum.kirupa.com/t/php/16626/13 "2003-03-26T23:06:26Z")

</div>

i love m$, they’ve made everyone of the constant crashing os’ that’ve been on my computers!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 11:10pm UTC](https://forum.kirupa.com/t/php/16626/14 "2003-03-26T23:10:54Z")

</div>

and PHP is crossplatform and FREE

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 26, 2003, 11:25pm UTC](https://forum.kirupa.com/t/php/16626/15 "2003-03-26T23:25:30Z")

</div>

yeah I like PHP. I’m sticking with it… 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 27, 2003, 12:11am UTC](https://forum.kirupa.com/t/php/16626/16 "2003-03-27T00:11:14Z")

</div>

I actually like ASP… I love coding in VBscript. However, there aren’t that many Windows servers out there, it’s mostly Unix… so if you’re getting started on server side scripting, don’t even bother with ASP.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 27, 2003, 1:02am UTC](https://forum.kirupa.com/t/php/16626/17 "2003-03-27T01:02:29Z")

</div>

I, too, would like to join the ranks of PHP lovers! ![](http://www.geocities.com/renaissancegerl/renSmiley.txt)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 27, 2003, 1:07am UTC](https://forum.kirupa.com/t/php/16626/18 "2003-03-27T01:07:06Z")

</div>

a great book on PHP is this one:

> **[PHP: Your visual blueprint for creating open source, server-side content](https://www.amazon.com/exec/obidos/tg/detail/-/0764535617/qid=1048727189/sr=8-1/ref=sr_8_1/102-4629570-6516932?v=glance&s=books&n=507846)**
>
> This full color book is the only PHP title available that is designed for the visual learner. It covers over 100 tasks! Including using cookies to monitor the activity of Web site visitors to retrievi ...

It taught me the basics in about 2 days. And it explains everything really really well… check it out…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 27, 2003, 1:16am UTC](https://forum.kirupa.com/t/php/16626/19 "2003-03-27T01:16:14Z")

</div>

I hate that series of books, well the AS one i have at least. it was just the same thing, they just replaced the thing we were learning, other wise it was

The code for \_\_\_\_\_ is \_\_\_\_\_ and example would be\_\_\_\_\_

and the same for the next page, of corse more print but you get the idea, i mean i suppose i learned some stuff but it was just boring and i know more with the SAMS but i am reading now because Phillip Kermet explains everything, sure its a lot more reading but its just a better book. I dont know if the whole series is like that or not, but that is my opion so far, i will look at it though, but i found this great book from SAMS Publishing, Teach Yourself PHP in 24 Hours, i thought it was well written and easy to understand.  
JMHO,  
Mike

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [March 27, 2003, 1:20am UTC](https://forum.kirupa.com/t/php/16626/20 "2003-03-27T01:20:10Z")

</div>

I read thru that one too and din’t like it that much… the MySQL book from visual blueprint is really good too… I guess I like the boring approach 😛

[Next page](https://forum.kirupa.com/t/php/16626.md?page=2)
