Lets say we have our own script here:
// Code inside the script.php
$url = 'https://foo.com';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30);
curl_setopt($ch, CURLOPT_TIMEOUT, 60);
$data = curl_exec($ch);
As you can see, the link above gets content of this domain:
I know foo.com can see example.com
and it's IP Address
!
but Questions is, can foo.com (the page we're getting content from) also by any methods detect this exact part:
/random_name/script.php
is making the request? does it depend on using TLS?