07-27-2020, 02:13 PM
First of all thanks for sharing.
You should add some data about the browser to your hash to make it more unique in case multiple people use the same network.
Storing that info in a database instead of a .txt file and using the identical operator would be more efficiently btw.
And you should definitely make use of
Using OOP would also be useful if you want people to use your stuff.
You should add some data about the browser to your hash to make it more unique in case multiple people use the same network.
[To see links please register here]
might be interesting for you as well.Storing that info in a database instead of a .txt file and using the identical operator would be more efficiently btw.
PHP Code:
if(strpos($ipget, $printip) === false){
fwrite($ipfile, $printip);
$countipfile++;
}
And you should definitely make use of
[To see links please register here]
to make your variables easier to read.Hidden Content
Using OOP would also be useful if you want people to use your stuff.