DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • June 26, 2019, 12:58:28 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: whats the purpose of the tracking script?  (Read 3914 times)
0 Members and 1 Guest are viewing this topic.
thegleek
Guest
« on: June 28, 2004, 11:20:34 AM »

common.php:

i know a lot of things are going on within the function page_header(), but if i may ask what is the purpose of this tracking script?

Code:
if (strpos($_SERVER['HTTP_HOST'],"lotgd.net")!==false){
     $footer=str_replace(
     "</html>",
     '<script language="JavaScript" type="text/JavaScript" src="http://www.reinvigorate.net/archive/app.bin/jsinclude.php?5193"></script></html>',
     $footer
     );
}

or am i misreading it? that strpos is searching for the server name in $_SERVER['HTTP_HOST']... if it finds 'lotgd.net' in your server name THEN it replaces the footer with that javascript spy code right? cuz !==false is basically saying ===true right?

i just wanted some clarification on that is all...
« Last Edit: June 28, 2004, 11:36:27 AM by thegleek » Logged
markneill
Guest
« Reply #1 on: June 28, 2004, 07:07:14 PM »

It's custom code for the master server on lotgd.net.

Strpos returns false if it can't find a pattern match, so if the HTTP_HOST contains lotgd.net, then it runs the tracker.
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #2 on: June 28, 2004, 07:46:59 PM »

http://www.reinvigorate.net/system/

looks like statistics.
Logged

thegleek
Guest
« Reply #3 on: June 28, 2004, 09:57:42 PM »

yeah their stats look real good actually... i wonder if they charge for such a service...?
Logged
sixf00t4
Mod God
*****
Offline Offline

Posts: 1916



View Profile WWW
« Reply #4 on: June 28, 2004, 10:24:05 PM »

well, seeing that it says "open source" all over the page, i dont think they charge.  Grin

http://source.reinvigorate.net/
Logged

Kendaer
Guest
« Reply #5 on: June 29, 2004, 07:37:57 AM »

Yes, Eric at one point was tracking lotgd.net visitors through there.
That code is removed in 0.9.8 btw as he decided he no longer needed it.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
98 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search