2014年10月9日 星期四

PHP Warning opendir error

PHP Warning:  opendir(test/test11/): failed to open dir: No such file or directory in XXX

解決方法
opendir($_SERVER['DOCUMENT_ROOT'].'/test/test11/');

參考網站
http://stackoverflow.com/questions/9155992/opendir-error-no-such-file-or-directory-found

沒有留言:

張貼留言