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 Link to comment https://forums.phpfreaks.com/topic/33515-regex-directory/ 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? Link to comment https://forums.phpfreaks.com/topic/33515-regex-directory/#findComment-156847 Share on other sites More sharing options...
Destramic Posted January 9, 2007 Author Share Posted January 9, 2007 just to regex a dir path Link to comment https://forums.phpfreaks.com/topic/33515-regex-directory/#findComment-156850 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? Link to comment https://forums.phpfreaks.com/topic/33515-regex-directory/#findComment-156853 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? Link to comment https://forums.phpfreaks.com/topic/33515-regex-directory/#findComment-156858 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. Link to comment https://forums.phpfreaks.com/topic/33515-regex-directory/#findComment-157382 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.