Filename prefix validation
Posted: Tue Oct 28, 2008 5:40 pm
Hello all,
I'm using scott's phUploader (available @ http://www.phphq.net). Im not a programmer/developer by any means, just a web designer... Anyway, the point, I need to build in an array of prefixes and have the form check against these for uploading. I've got about 28 prefixes that will go into the array. I can handle that part, what I dont know how to do is get the form to validate against this array.
The form is downloadable from the site above, so I wont bother with all the code. Or, if you can just point me to a way to validate a four character prefix followed by a '-'. Much appreciated!!
I'm using scott's phUploader (available @ http://www.phphq.net). Im not a programmer/developer by any means, just a web designer... Anyway, the point, I need to build in an array of prefixes and have the form check against these for uploading. I've got about 28 prefixes that will go into the array. I can handle that part, what I dont know how to do is get the form to validate against this array.
The form is downloadable from the site above, so I wont bother with all the code. Or, if you can just point me to a way to validate a four character prefix followed by a '-'. Much appreciated!!