 |
 |
|
|
|
|
| Author |
Message |
|
|
seo
Joined: 16 Mar 2006 Posts: 1999
|
Posted: Wed Sep 13, 2006 12:46 am Post subject: |
|
|
| sinistermidget wrote: |
Of course there is. Even if you don't need anything other than basic text, images, and links on your site, PHP can make things a lot easier. There are many things that you would have to do manually if you used pure HTML. Adding PHP makes it easier to set up templating, automate breadcrumb creation, etc. All of these things could be done purely in HTML, but it would take a lot more time. |
Creating header and footer becomes very easy also. I'm not a big fan of server side include or frontpage extension. If you're thinking about running ads, then you want to enable php also, since many ads are created dynamically using php. _________________ Travel News Online College Degree |
|
| Back to top |
|
 |
|
|
Damnz
Joined: 16 Sep 2006 Posts: 57
|
Posted: Wed Sep 20, 2006 11:45 am Post subject: |
|
|
PHP is used to do some server stuff in which HTML couldn't ever dream of solving it itself. PHP is great! But, you shouldn't use PHP to code a whole website, that would really cause some big server load . _________________ Gunbound Aimbot |
|
| Back to top |
|
 |
seo
Joined: 16 Mar 2006 Posts: 1999
|
Posted: Wed Sep 20, 2006 9:06 pm Post subject: |
|
|
| Damnz wrote: | But, you shouldn't use PHP to code a whole website, that would really cause some big server load . |
I'm pretty sure that using php itself doesn't cause such a problem. PHP alone doesn't really make the web server work hard. If you run a bunch of queries, then it can become a problem, but displaying plain pages using php shouldn't cause any problem. _________________ Travel News Online College Degree |
|
| Back to top |
|
 |
Damnz
Joined: 16 Sep 2006 Posts: 57
|
Posted: Thu Sep 21, 2006 10:23 am Post subject: |
|
|
OKay, maybe not so much load, but let's take think of it from a sever's side:
"Would I rather recieve a couple of headers and send back some or would I rather open up a file, read it, INTERPRET all of it, then get out the results and send along these results with a couple of headers?"
IMO, you're just getting into some trouble wich you surely aren't in need of, i.e "escaping some certain characters".  _________________ Gunbound Aimbot |
|
| Back to top |
|
 |
seo
Joined: 16 Mar 2006 Posts: 1999
|
|
| Back to top |
|
 |
Damnz
Joined: 16 Sep 2006 Posts: 57
|
Posted: Fri Sep 22, 2006 4:26 am Post subject: |
|
|
LOL!! It's just a guess which makes perfect sense to me... Why just put your code in quotes if you don't need them?  _________________ Gunbound Aimbot |
|
| Back to top |
|
 |
scolls
Joined: 31 May 2006 Posts: 242
|
Posted: Fri Sep 22, 2006 7:13 pm Post subject: |
|
|
Servers can handle quite a lot, so I wouldn't really worry too much about load for regular websites. Perhaps with PHP running as a CGI it'll run the load a bit higher.
Take forums for an example - takes quite a lot of simultaneous users to overload a server, and then probably more because of SQL queries backlogging rather than PHP or Apache locking up. And there are some really huge PHPBB sites out there! _________________ WebWobot Search Engine & Forums | WebWobot PageTrade Multi-Exchange |
|
| Back to top |
|
 |
|
|
|
|
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
 |