kpetsche20 Posted September 19, 2008 Share Posted September 19, 2008 How do I check if a image is already uploaded to the sever for a image upload script? I'm currently using fopen, but whenever a file doesn't exist on the server it spits errors. Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted September 19, 2008 Share Posted September 19, 2008 file_exists()? Quote Link to comment Share on other sites More sharing options...
kpetsche20 Posted September 19, 2008 Author Share Posted September 19, 2008 Another question, How do I display the file names in a specific folder, for a File Manager script. Quote Link to comment Share on other sites More sharing options...
GingerRobot Posted September 19, 2008 Share Posted September 19, 2008 Newish version of php? glob() Rubbish older version? opendir() and readdir(). 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.