Warptweet Posted February 11, 2007 Share Posted February 11, 2007 How can I check if the file $flashname(.php) exists? Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 11, 2007 Share Posted February 11, 2007 file_exists() This is what the manual is for. Quote Link to comment Share on other sites More sharing options...
Warptweet Posted February 11, 2007 Author Share Posted February 11, 2007 Would I do this..? if file_exists($flashname){ echo "Sorry, file already exists."; } else { do code here } Quote Link to comment Share on other sites More sharing options...
Jessica Posted February 11, 2007 Share Posted February 11, 2007 yes 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.