Webmaster Chat Forum

Discuss Webmaster Issues. Get help and help others.
 
HomeHome  CalendarCalendar  FAQFAQ  SearchSearch  MemberlistMemberlist  UsergroupsUsergroups  RegisterRegister  Log in  SEOSEO  
Get Top Ranking in Google, Yahoo and Bing.
Get forum link building packages from Linkgenie.

Share | 
 

 Putting URL on page

Go down 
AuthorMessage
kasyapa_lk

avatar

Posts : 3
Join date : 2009-09-25

PostSubject: hai   Fri Sep 25, 2009 3:14 am

$HTTP_HOST ought to just do the domain itself, explode() off the www or regex it to strip out the rubbish.

If you are building a holding page for names it is worth logging everything eg.

$date = date("l dS of F Y h:i:s A");
$ip = $_SERVER['REMOTE_ADDR'];
$browser = $HTTP_USER_AGENT;
$os = $_ENV["OS"];
$referer = $HTTP_REFERER ;
$searchterm = "FRONTPAGE";

Nice and handy to find out who is visiting site, where they have come from, what they did prior to contacting you etc etc. Logging IP's can be handy to see previous visits as well.

Others do things far more in depth than the above, but it can be very handy
Back to top Go down
View user profile
 
Putting URL on page
Back to top 
Page 1 of 1
 Similar topics
-
» Can any one suggest what command could be used for refreshing a page using c sharp
» Page load issue
» Hmong History Page
» How to disable Remote Control page popping up?
» Rounding corners and glowing boarders in PhpBB

Permissions in this forum:You cannot reply to topics in this forum
Webmaster Chat Forum  :: Webmaster Forum :: Web Design-
Jump to: