lional Posted July 19, 2006 Share Posted July 19, 2006 Hi AllI am trying to write a web application that will only run on 1 pc as a small Intranet that keeps a record of all clients.I would also like to store all notes, folders, images and voice messages in a folder for each client.Can PHP browse to a directory, to view the files in that directory and if a file is opened can it use the program that is associated with that file type to run that file.Windows XP is being used as the operating systemThanksLional Quote Link to comment https://forums.phpfreaks.com/topic/15017-browsing-directories/ Share on other sites More sharing options...
ShogunWarrior Posted July 19, 2006 Share Posted July 19, 2006 Well PHP can run programs using [b]exec[/b], [b]shell_exec[/b] or [b]system[/b] but it can only run programs on the server side, and it has to wait for them to close.What you'd have to do is server the file for download and let the person click open to open the right application. Quote Link to comment https://forums.phpfreaks.com/topic/15017-browsing-directories/#findComment-60388 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.