Ricky55 Posted November 11, 2010 Share Posted November 11, 2010 Hi I'm very new to PHP. I've been searching high and low for a script that will process a simple form and also allow a file attachment. I've tried loads of different ones and none of them work as I want. I do actually have one working but this doesn't have any validation of the file. Can anyone please point me in the direction of a script that will allow me to do this. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/218382-a-php-script-that-allows-file-attachments/ Share on other sites More sharing options...
revraz Posted November 11, 2010 Share Posted November 11, 2010 What do you want to do with the file attachment? Quote Link to comment https://forums.phpfreaks.com/topic/218382-a-php-script-that-allows-file-attachments/#findComment-1133007 Share on other sites More sharing options...
Ricky55 Posted November 11, 2010 Author Share Posted November 11, 2010 Just have it emailed to the recipient along with the form data. So the user completes a simple form and then they click a browse button to locate an image on their local machine. Click submit and this gets sent to me, the form data and the file as an attachment. Quote Link to comment https://forums.phpfreaks.com/topic/218382-a-php-script-that-allows-file-attachments/#findComment-1133022 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.