This code print_r($_SERVER)
give the current URL information but I want to be able to pass any URL in curl
take the request header information, eg:
- Pragma,
- keep-alive,
- Accept-Charset,
- Host,
- Connection,
- Cache-Control,
- Accept-Encoding,etc...
This code print_r($_SERVER)
give the current URL information but I want to be able to pass any URL in curl
take the request header information, eg: