Page 1 of 1
Email web form with Attached MS Word File
Posted: Mon Dec 08, 2003 10:54 pm
by jacksphp
How can my users attach a word file from their pc via a php web form and send to my email. I dont want to get uplaoded but emailed real time.
Any php expert here !!!!!
Please...Jacks
Posted: Tue Dec 09, 2003 9:43 am
by Chambrln
I believe you will still have to upload it to a temp folder for php to be able to mail it to you. You can set it up so once the email is successfully sent php deletes the temp file.
Posted: Tue Dec 09, 2003 9:50 am
by JayBird
yup, Chambrln is absolutely correct, you need to upload, send then delete the file.
Mark
Posted: Tue Dec 09, 2003 7:43 pm
by jacksphp
does anyone has a complete php codes to show me how...please
Posted: Wed Dec 10, 2003 5:06 am
by JayBird
have a look at these, write some code, and if you get into difficulties, come back and we will try and help
http://uk2.php.net/features.file-upload
http://uk2.php.net/manual/en/function.mail.php
Mark