shanes
New Member
- Messages
- 35
- Reaction score
- 0
- Points
- 0
Well i'm a total 'newbie' when it comes to PHP , I know close to nothing , anyway I recently downloaded a CMS and I was looking through the source and I found this , i'm wondering what this code does as it seems dodgy , to me it looks like the site is logging the information I enter into my mysql database and sending it off to a 3rd party site , I just want someone to confirm it.
Here's the code:
It probably isn't anything bad but better safe than sorry :lockd:
Here's the code:
PHP:
$domain = $_SERVER['HTTP_HOST'];
$ip = $_SERVER['REMOTE_ADDR'];
$report = file_get_contents("*Removed*/logger/installs.php?d=".$domain."&i=".$ip."");
It probably isn't anything bad but better safe than sorry :lockd: