Destramic Posted January 9, 2007 Share Posted January 9, 2007 wondring if someone could help me regex a dir in general:eg: D:\www\images\read.gifthanks destramic Quote Link to comment Share on other sites More sharing options...
effigy Posted January 9, 2007 Share Posted January 9, 2007 What do you mean? A directory path, or a glob of the files in it? Quote Link to comment Share on other sites More sharing options...
Destramic Posted January 9, 2007 Author Share Posted January 9, 2007 just to regex a dir path Quote Link to comment Share on other sites More sharing options...
effigy Posted January 9, 2007 Share Posted January 9, 2007 Details, details, details.Including the file? Windows only? Unix too? Have you tried the[tt] dirname [/tt] function? Quote Link to comment Share on other sites More sharing options...
Destramic Posted January 9, 2007 Author Share Posted January 9, 2007 basically for all operating systems..just to check that the file they have selected from<input type=file /> is accually a dir...hope this helps...should i use dirname? Quote Link to comment Share on other sites More sharing options...
effigy Posted January 10, 2007 Share Posted January 10, 2007 Unless I'm mistaken, I've never heard of users being able to select directories for file inputs. 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.