directory list without access permission
Posted: Thu Jul 08, 2010 8:18 am
Hi,
I am new on php.
I need file and directory list for my application. My application runs at client-side. I wrote a php script to get directory list but it does not work unless read permission to anyone is enabled for the directory.But I cannot enable directory access because of security issues.
opnedir() , readdir(), scandir() and dir class. I tried all of them. I knew that php scripts run at server-side so it should not need anonymous directory access. Is this wrong?
Then I tried web service with soap. SoapServer and ServerClient. But it does not work too.
Can you help me? How can I get file and directory list from server to my client-side application?
Any help appreciated.
Thank you.
I am new on php.
I need file and directory list for my application. My application runs at client-side. I wrote a php script to get directory list but it does not work unless read permission to anyone is enabled for the directory.But I cannot enable directory access because of security issues.
opnedir() , readdir(), scandir() and dir class. I tried all of them. I knew that php scripts run at server-side so it should not need anonymous directory access. Is this wrong?
Then I tried web service with soap. SoapServer and ServerClient. But it does not work too.
Can you help me? How can I get file and directory list from server to my client-side application?
Any help appreciated.
Thank you.