<分区>
Possible Duplicate:
PHP - opendir on another server
像这样:
opendir(http://super.cdn.com/running_order_image/sale/587/)
opendir
用于检查 Rackspace Cloud Files Akamai 存储桶的内容。
我正在遍历这样的结构
587/
587/587_rubyred
587/587_rubyred/front.jpg
587/587_rubyred/back.jpg
我正在尝试返回 587_rubyred
部分。基本上我的 MySQL 查询循环遍历 587 和 834 以及其他数字,然后我检查这些数字的目录并返回第一个子文件夹。