New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
no need for $targetIP = '1.1.1.1';
Just if the ip can not be found in those 3 txt files the rusult should be echo '';
have you added your IP in one of those files? Did you get the result?
Yes , IP's should be add line by line
127.0.0.3 127.0.0.1 127.0.0.5
super simple example
strange. At my end is not working.
Only with file_get_contents('http://pastebin.com/raw/jCDCErxB' is not a problem.
Just i need to add more like that example:
file_get_contents('http://pastebin.com/raw/jCDCErxB'
file_get_contents('http://pastebin.com/raw/888888
file_get_contents('http://pastebin.com/raw/999999'
can you give me example of your ip list?
Let me explain it again in details.
This is made to show results based on IP. If you make a request from the ip 155.155.155.155 and I dident added your IP in one of the txt files the rusult should be blank page or echo '';.
If your IP is added in file1.txt the result you should show is {"type":"Valid"}
If your IP is added in file2.txt the result you should show is {"type":"invalid"}
If your IP is added in file3.txt the result you should show is {"type":"fix"}
You failed to understand my instructions.
super dirty script
http://pastebin.com/qZdQN6UF
what you asking is really simple if you know what you do
You still dident get my point
You the one who dont understand.
That just example
Am noob in PHP thats why am asking to replace my code with yours. If possible
Thank you anyway for the help.