Matthew1980 - 7:09 am on Jun 7, 2010 (gmt 0)
Oop's Yes Rocknbil, I should have noted that possibility, so instead of using strip_tags() is_numeric() would have been and is the best way to go with that, and I only just noticed as there were no curly braces on the original post - but I am sure that can still function, and that the use of curly's is just good practise and clears up ambiguity between clauses. If I am wrong, please let me know.
Just to clarify - replace strip_tags with is_numeric() - that's if your file system is based on numbers
Happy coding calvinmicklefinger,