Programming question: PHP
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Webmaster/SEO forum, WebPublishingForum forum Forum Index -> Web Design/Programming
Author Message
seo



Joined: 16 Mar 2006
Posts: 1999

PostPosted: Wed Sep 13, 2006 12:46 am    Post subject: Reply with quote   

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

PostPosted: Wed Sep 20, 2006 11:45 am    Post subject: Reply with quote   

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 Wink.
_________________
Gunbound Aimbot
Back to top
                  
seo



Joined: 16 Mar 2006
Posts: 1999

PostPosted: Wed Sep 20, 2006 9:06 pm    Post subject: Reply with quote   

Damnz wrote:
But, you shouldn't use PHP to code a whole website, that would really cause some big server load Wink.

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

PostPosted: Thu Sep 21, 2006 10:23 am    Post subject: Reply with quote   

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". Mr. Green
_________________
Gunbound Aimbot
Back to top
                  
seo



Joined: 16 Mar 2006
Posts: 1999

PostPosted: Thu Sep 21, 2006 9:08 pm    Post subject: Reply with quote   

Ok ... I'll just let the expert (which is you) speak ... Surprised
_________________
Travel News Online College Degree
Back to top
                  
Damnz



Joined: 16 Sep 2006
Posts: 57

PostPosted: Fri Sep 22, 2006 4:26 am    Post subject: Reply with quote   

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? Very Happy Twisted Evil
_________________
Gunbound Aimbot
Back to top
                  
scolls



Joined: 31 May 2006
Posts: 242

PostPosted: Fri Sep 22, 2006 7:13 pm    Post subject: Reply with quote   

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
                  
Display posts from previous:   
Post new topic   Reply to topic    Webmaster/SEO forum, WebPublishingForum forum Forum Index -> Web Design/Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Do you think it's easy to make a Google Map? 0 altyfc 150 Mon Jan 28, 2008 9:33 pm
altyfc View latest post
No new posts Subdomain: Pros and Cons 17 seo 1330 Fri Aug 11, 2006 1:23 am
hotrod1 View latest post
No new posts Best movie website 7 seo 727 Fri Jul 28, 2006 10:16 pm
red_devil52 View latest post
No new posts Giant community site: Pros and Cons 7 seo 712 Fri Jul 28, 2006 10:54 am
seo View latest post
No new posts What do you think about this one ? 7 iatbm 925 Sat Jul 15, 2006 5:01 pm
Camron View latest post
 


Powered by phpBB © 2001, 2002 phpBB Group