hello every1, i need help with the following questions:
1) I have an upload form, before the image is being upload i want to check if that image really is an image, how to do it?
2) i got a foldier containing images for my gallery page, while going through each file in that foldier i want also to check if that file is an image, how to do that aswell?
3) i got a form that can update a certain date in 1 of my pages, how can i check if the uploaded text really is a date (ie 20/05/2010)
4) i got a form that can upload text to DB, i dont want this text to contain more than 1 word, how do i check that this text isnt more than a word?
Thanks for all the help in advance