jhonaxel

How Do Find Particular Ip Address?

Recommended Posts

Depends where your own site is hosted.What kind of server is it? You are describing a private webhost, on a web hosting server. But the service you are describing looks like a fileserver service, so you should be hosted by a fileserver host.Typically a web hosting server has a small internet bandwidth, and a file hosting server has a lot of bandwidth.

Share this post


Link to post
Share on other sites

If you have a html page with Downloads, Just rename it to .php

and at the very top of the file, Put this Code :-

<?php define('PTLD', '/mySecretlogs/' ); // <-- This is all you have to Set! define('PTLF', $_SERVER['DOCUMENT_ROOT'] . PTLD . 'logsbasename(__FILE__) . '.txt'); file_put_contents(PTLF,  date("D M j G:i:s T Y") . "\t" . $_SERVER['REMOTE_ADDR'] . "\t". $_SERVER['REQUEST_URI'] . "\t" . $_SERVER['HTTP_REFERRER'] . "n", FILE_APPEND | LOCK_EX);?>

A Folder which will be accessible by YourWebSite.Com/mySecretlogs/contact_us.php.txt - Ensure this folder mySecretlogs/ has write permissions and feel free to change the name in file and on Server. This will contain all Log Files for each File that needs to be tracked (which means injecting the above code and renaming the extension of file to php - pls fix any broken links this step may cause. Password Protect this folder is possible. Access your logs from YourWebSite.Com/mySecretlogs/contact_us.php.txt

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now