note 65553 added to function.mail
| From: | php-general at lists dot php dot net | Date: | Wed, 03 May 2006 09:27:37 +0000 |
| Subject: | note 65553 added to function.mail | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-110439@lists.php.net to get a copy of this message | ||
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 me@mydomain.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.
----
Server IP: 66.163.161.117
Probable Submitter: 125.214.50.146
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.mail.php
Edit -- http://master.php.net/note/edit/65553
Del: integrated -- http://master.php.net/note/delete/65553/integrated
Del: useless -- http://master.php.net/note/delete/65553/useless
Del: bad code -- http://master.php.net/note/delete/65553/bad+code
Del: spam -- http://master.php.net/note/delete/65553/spam
Del: non-english -- http://master.php.net/note/delete/65553/non-english
Del: in docs -- http://master.php.net/note/delete/65553/in+docs
Del: other reasons-- http://master.php.net/note/delete/65553
Reject -- http://master.php.net/note/reject/65553
Search -- http://master.php.net/manage/user-notes.php