I would like to use exec()

Status
Not open for further replies.

mcwebdzyne47

New Member
Messages
6
Reaction score
0
Points
0
Dear Staff,

I need to dynamically get a list of files from my "root/public_html/upNorth/audio/" folder, but in order to do so, I need to use the exec(); function. The exec(); function returns the output of the command "ls ./audio/" as an array, allowing me to step through the array and create links on the index.php file for the user to download the files.

Thank you so very much for considering this request. I really appreciate it. Have a great day and thank you so much for your prompt service!

Sincerely,
Benjamin J. Tiffany
 

calistoy

Free Support Volunteer
Community Support
Messages
5,602
Reaction score
87
Points
48
I see that it's saying that it's disabled for security reasons. Unfortunately, settings are not enabled or disable for just one account. It affects all accounts on the same server your account is on.
 

mcwebdzyne47

New Member
Messages
6
Reaction score
0
Points
0
I worked around it and used a database to hold all of the file information instead. It just took me a lot of extra time. So this post is resolved.
 
Last edited:
Status
Not open for further replies.
Top