I am facing one problem about 2 hour. Can anyone give the solution I will appreciate.
http://mydowmin.com/userdatapage.php Note: i do not want to access this page out side world using Curl function
how to avoid it this script
$ch=curl_init("http://mydowmin.com/userdatapage.php");
curl_setopt ($ch,CURLOPT_CERTINFO,1);
curl_setopt ($ch,CURLOPT_VERBOSE,1);
curl_exec($ch) or die;
print_r( curl_getinfo($ch) );
http://mydomain.com/datapage.php
I want to block the page for curl and file_get_content
for access out side. If you access this url direct on browser it should be execute but should not in Curl and Fgc function.
Browser can be simulated easily. this is not possible
php curl: how can i emulate a get request exactly like a web browser?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With