I have an Apache directory listing of files on a remote server (in Australia/Adelaide +930) I have no control over. This server shows the correct last modified date of a file as: 14-Aug-2009 09:41
I have a PHP script on my US server to check the date of the remote file. get_headers()['Last-Modified'] returns: Fri, 14 Aug 2009 00:11:11 G...
i using get_headers Function in PHP to request headers from website
in local server return arrays
put when use in my website Does not return arrays
examples for returns
in local server
Array
(
[0] => HTTP/1.1 301 Moved
[Server] => Array
(
[0] => nginx/0.7.42
[1] => Apache/2.2.11 (Unix) mod_ssl...
hello.
trying to write a functional php script to detect charset retrieve web pages.
My script works, but if I enter get_headers () for webtrh.cz/66997-fakturace-ramci-dph?p=416206
get_headers(http://webtrh.cz/66997-fakturace-ramci-dph?p=416206);
the result:
get_headers() [function.get-headers]: Redirection limit reached, aborting. i...