vendredi 30 janvier 2015

AWS S3 storage access in Php script?


Vote count:

0




This is a total newbie question, but I am wondering if there is an easy way to replace the following code:


A CODE - - - - - - - - - - -



foreach(glob('../music/*', GLOB_ONLYDIR) as $playlist) {
code here
}


with "something" like this:


B CODE - - - - - - - - - - -



foreach(glob('http://ift.tt/1BGHxuo', GLOB_ONLYDIR) as $playlist) {
code here
}


Code snippet "A" above works fine and the music directory is housed on the local server. Since the music directory houses lots of audio files (GBs), I am hoping I can somehow store all the audio files in an AWS S3 storage container and call them from AWS instead of storing them all on the local server. Code snippet B doesn't work of course. This illustrates what I am conceptually desiring to do. Can someone point me to an article that addresses this of offer any suggestions/solutions?



asked 1 min ago







AWS S3 storage access in Php script?

Aucun commentaire:

Enregistrer un commentaire