Task: Get the Last Modified Date of a Remote File Using cURL
Task: Get the Last Modified Date of a Remote File Using cURL: a task in Terminal-Lego-15k (Harbor dataset). Create a PHP script that retrieves the last modified date of a remote file using cURL. The script should make an HTTP HEAD request to get the file headers without downloading the entire…
The task
Create a PHP script that retrieves the last modified date of a remote file using cURL. The script should make an HTTP HEAD request to get the file headers without downloading the entire file, then extract and display the `Last-Modified` header value.
Part of PrimeIntellect/Terminal-Lego-15k.