netpumber Posted November 5, 2009 Share Posted November 5, 2009 Halo.. So this is what i want to create. I have a folder that i share and it has many movies.. So i will setup a local web browser and i want to make a .php file that after you login it will saw you the files that are in this share(movies names). How i can make php print out a list of files in that specific directory ? Thanks..! Quote Link to comment Share on other sites More sharing options...
taquitosensei Posted November 5, 2009 Share Posted November 5, 2009 php can only do file browsing on the computer it's running on. It's server side. Quote Link to comment Share on other sites More sharing options...
netpumber Posted November 5, 2009 Author Share Posted November 5, 2009 yes i know. the server that will run this script has the hdd that i share.. So these two things are in the same pc. Quote Link to comment Share on other sites More sharing options...
simshaun Posted November 5, 2009 Share Posted November 5, 2009 readdir() Quote Link to comment Share on other sites More sharing options...
kenrbnsn Posted November 5, 2009 Share Posted November 5, 2009 I find that glob is easier to use than readdir Ken Quote Link to comment 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.