Form validation with upload

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
therat
Forum Commoner
Posts: 62
Joined: Wed Oct 01, 2003 2:44 pm
Location: London

Form validation with upload

Post by therat »

I am using a form to collect some info and then upload two files, the info is then submitted to the DB and the files uploaded.
How would I go about validating the fields of the form but, not entering the info to the DB or uploading the files until all compulsory fields are valid.
Does anyone have a class or link to some example code that I can use, or change for my own needs.
bytte
Forum Commoner
Posts: 75
Joined: Sun Nov 23, 2003 8:20 am
Location: Belgium

Post by bytte »

there's tons of scripts that validate form fields out there on the net. do a google search: php validate form
Post Reply