View Single Post
Old 12-04-2006, 11:43 AM  
RawAlex
So Fucking Banned
 
Join Date: Oct 2003
Location: In a house.
Posts: 9,465
madrox, he is trying to write the actual link rather than having a php call, it's all about making googlebot happy.

My question would be why not have your php module write the <a href part itself? then you could just call the module rather than calling inside of a link. That is very messy code.

As others have mentioned, never use http:// inside an include. That means you server has to do a lookup (dns), make a connection (to itself, even worse) and use up available apache connection resources to serve you something that can be done directly in PHP without an issue. That will kill your server deader than a doornail in about 2 seconds if you get some hits on the page. Googlebot would be enough to make your server stop running.
RawAlex is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote