php post remote wildcard filename -



php post remote wildcard filename -

i need php script on remote http server (i'm assuming via fopen) , needs find unique filename if exists. if exist, need display. remote filename changing on time , needs limited first 1 finds in case there multiple remote files on accident.

ie filename this: domain.com/filename-1.zip or this domain.com/filename-2.zip

how post dynamic, remote filename in local script , limit 1? ie domain.com/filename-*.zip

the remote server have cooperate , tell filenames available. means script explicitly tells (or serves up) file matching parameters, or allows directory browsing allowing parse out filenames , find whatever want.

php wildcard fopen file-exists

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -