Monday, November 24, 2014

IP store in a File

keep IP  from visitors and place them on a file.

$file = fopen("ip.txt","a");
echo fwrite($file,$ip);
this store in a file as name ip.txt
the second parameter can use "w" if you want only write mode 
"a" stands for append mode .

1 comment:

  1. My friend Suggest me this blog and I can say this is the best blog to get the basic knowledge.Thank you so much for this Selenium Training in Chennai


Related Posts Plugin for WordPress, Blogger...