Fetching the Date of a Remote File - Possible?

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
rixtertrader
Registered User
Posts: 1
Joined: Thu May 23, 2019 1:46 am

Fetching the Date of a Remote File - Possible?

Post by rixtertrader » Thu May 23, 2019 2:42 am

Greetings! PHP Newbie here.

I need to be able to determine the modified or upload date of a file that is on another server (uploaded to my Amazon S3 bucket).

So from my Wordpress site (not hosted on Amazon), I'm trying to get the date as to when my file was uploaded to Amazon so as to display the date on my WP site page.

Is this even possible?

It was when the file was on the same server as WP using filemtime(), but it doesn't appear to work on a URL.

TIA

User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 50423
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Fetching the Date of a Remote File - Possible?

Post by stevemaury » Thu May 23, 2019 2:57 am

I am not seeing a phpBB support issue here. This site is for support of the phpBB Bulletin Board software, not for general php support. You need to ask at a dedicated php support site. Thanks.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)

Post Reply

Return to “[3.2.x] Support Forum”