hello
how can i know the server type
for remote server in php ?
i found that
curl -I http://www.google.com
but no server allow the clients to execute command
is there another way ?
Use [man]get_headers[/man] and look for the Server: header in the result.
thanks Weedpacket
But i use Curl
to check the site
How can I show the header
Separate than the site
up
i use curl like that
curl_setopt ($ch, CURLOPT_HEADER, 1);
to show the header
but can I show the header
Separate than the site ?