Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: need help with php...
05-04-2006, 05:28 AM #1
- Join Date
- May 2006
- Thanked 0 Times in 0 Posts
need help with php...
I'm newbie, I don't know anything about php, mysql; can you help me to write simple php script?
I have a html page with forms: name*, email*, msg and a browser upload file.
- I want when users submit this form, error will show if they don't enter require field * and check file size, type.
- File upload (must be <500kb, allow only *.doc, *.txt, *.pdf type)
- If all field ok, they will redir to confilm page. they click send and an email with these info with attach file (if they select) will be send to email@example.com and redir they to thanks page.
And users who enter these info will be record to contact system. (log name, email, ip, time gmt+7)
Admin must login to view info about them and he can send email to users...
Thanks for help.
05-04-2006, 10:27 AM #2
- Join Date
- Nov 2002
- Manchester, UK
- Thanked 1 Time in 1 Post
that doesnt really sound like a "simple php script" !!
Its certainly unlikely that someone will knock up one for you. Try google for tutorials on each subject, such as
"php upload tutorial"
"php mysql tutorial" etc etc
Once you have some code, post it and we can help from there.