473,322 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

Form Attachment...

Hi all, i've been struggling with creating a form that lets you add an
attachment and the attachment is sent via email.. I was wondering if
recieving attachments in an md5 form is the only way to do this.. It's
all i've found in my searching. All my attachments are going to be
..gifs or .jpegs... Thanks in advance.
below is the code:

<?php
foreach($_POST as $key => $value)
{
$$key = stripslashes($value);
}
$userfile = $_FILES['userfile']['tmp_name'];
$userfile_type = $_FILES['userfile']['type'];
$userfile_name = $_FILES['userfile']['name'];
$userfile_size = $_FILES['userfile']['size'];
$userfile_error = $_FILES['userfile']['error'];
if(is_uploaded_file($userfile))
{
if($userfile_type !== "image/pjpeg" && $userfile_type !== "image/jpeg"
&& $userfile_type !== "image/gif" || $userfile_size > $MAX_FILE_SIZE)
{
echo "There were some problems with the form you submitted.";

if($userfile_type !== "image/pjpeg" && $userfile_type !==
"image/jpeg" && $userfile_type !== "image/gif")
{
echo '<p>You may only upload an image, either a GIF or
JPG.</p>\n';
echo "<p>Uploaded: $userfile_name, $userfile_type</p>\n";
}

if($userfile_size > $MAX_FILE_SIZE)
{
"<p>Sorry, you may not upload files greater than "
..($MAX_FILE_SIZE/1024). " KB, the file you uploaded is "
..round(($userfile_size/1024),1). " KB</p>\n";
}

include("update.php");
exit();
}
}
$hdrs = "From: $email";


$myemail = "$email";

$subject = "Update Form" ;

$msg = " Business Name: $company \n
URL: $url \n
Email: $email \n
Page to Update: $page \n
Changes: $changes
";

$hdrs = "From: $email\r\n";
$orig = fopen($userfile,'rb');
$file = fread($orig,filesize($userfile));
$file = chunk_split(base64_encode($file));
fclose($orig);
$bndry = "=====FormMailer".md5(time())."=====";

$hdrs .= "\nMIME-VERSION: 1.0\n" .
"Content-Type: multipart/mixed;\n boundary=\"$bndry\";";

$msg .= "This is a multi-part message in MIME format.\n\n" .
"--$bndry\n" .
"Content-Type: text/plain; charset=\"iso-8859-1\"\n" .
"Content-Transfer-Encoding: 7bit\n\n" .
$msg .
"--$bndry\n" .
"Content-Type: $userfile_type;\n name=\"$userfile_name\"\n" .
"Content-Disposition: attachment;\n
filename=\"$userfile_name\"\n" .
"Content-Transfer-Encoding: base64\n\n" .
$file .
"\n--$bndry";

mail($myemail, $subject, $msg, $hdrs);

?>

Jul 17 '05 #1
4 2436
ph*********@comcast.net wrote:
: Hi all, i've been struggling with creating a form that lets you add an
: attachment and the attachment is sent via email.. I was wondering if
: recieving attachments in an md5 form is the only way to do this.. It's

"md5 form" I don't know what you mean.

If you wish to send binary data through mail you need to put it into mime
format.

The mime format includes various headers (which it looks like your mail is
doing) and it needs to encode the binary data, normally using base64 (and
again it looks like you are doing that).

I wonder about the following line
: $hdrs .= "\nMIME-VERSION: 1.0\n" .

it adds a new line at the start of the header, which is likely wrong - the
mime-version header must be part of the initial block of headers at the
top of the message.

I don't know the mail() function well enough off hand to know if you are
using it correctly.

What exactly is going wrong?
--

This space not for rent.
Jul 17 '05 #2
hi malcom thanks for the response... I'm just confused at why it sends
me code instead of the actual image? what am i doing wrong here. this
is what i'm getting via email when i submit a small gif:
--=====FormMailerb415b1f77fefa6cf1ec3788437fc0848=== ==
Content-Type: image/gif;
name="11-07_Atari.gif"
Content-Disposition: attachment;
filename="11-07_Atari.gif"
Content-Transfer-Encoding: base64

R0lGODlhgACAAPcAAP///8zMzPwCA/wVKdyMk/8AI+dfcP8AKOgAJP8CKv4FKf0JLdK2us7Aws3G

x/8AL/8ALP8AK/8CLP4CL/wLNfgRO/cfRvQvUtzR0/8AM+LU1/8APO48aN5vi90AO/8BSO0YXf8B

V9EAUtORq/sBdvTy88cGcs65xuTb4dAwov/7/tACobUGlPrw+NXP1MBltdnP2czKzNrZ2qsEuq0q

z9LK1JUDzbWIzHwC1p1j06yrrYMv5F8A3urn7mQR5ndC3UMD6b 630Pn3/u/s+dnX4Fcu8CcD8vTy

/tva5HNq5JOQ3gwI/TAu/ktL/mJi/sPDzenp89DQ1svL0OHh5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pACQ8j

D9iUe6rESvbgCm7gD6a0esEEAMbHDaugS/fAS770Bm9wD2OkD51ED/hAD/OQD/MwB+cXCZMAJ/1A

DnNAD870DluXc+NQD/z/wM2oJxCDEHwjjcvi8AZzsA/kcA+WNA7BdMgMvcbRBADaYMjhcA76AA/y

oA/04Ark4A+6NAc6AEkqI3TwEA+RIA65Bw49pw6rkA7cIHWPPA8D4 w5zUDJRNwfhQHT9UA7w8Evr

IA/yIC/zEA4JAw/+sA2ZVA71YHj/cA7dQM7kwA/2IA/wgNKVMAf/4Ap55y/j5gresAuzMAvQMAu7

sMDAoAu6wAyxMAuuoAuxIA26kAyZzQzJAAzUQA0krAMNAA2vnQ y6YA3UwAy4rQENgAHUIA0NENwa

0AItUAMoAAMoQNwt4AquUNw6AANCMAQ1cARHQAREgARZQN1CkA U6MARHwQAFOqAFR6AFUIDdRyAE

SNDd340EQlDe1S0G7a0GaCAHg+AKYrAGaIAGdqAIhXAIgXAIfl AIkGDHmBAIzfu8zyu9Cg6J1Wu9

2Ku93vu94Tu+5Wu+EliBkrG+7Nu+Igi/8Rsrf2Er9bsF95u/+9sG/SuDMxjAAhwRWXAGMB7jMj7j

MV6cNn7jOK66qvu6PP66nvDjQA7kwTvkRF68qaAKSI7kubDkTL 7kzYAGVhjlUj7lVF7lVn7lWJ7l

Wr7lXF5RAQEAOw==

--=====FormMailerb415b1f77fefa6cf1ec3788437fc0848=== ==

Malcolm Dew-Jones wrote:
ph*********@comcast.net wrote:
: Hi all, i've been struggling with creating a form that lets you add an : attachment and the attachment is sent via email.. I was wondering if : recieving attachments in an md5 form is the only way to do this.. It's
"md5 form" I don't know what you mean.

If you wish to send binary data through mail you need to put it into mime format.

The mime format includes various headers (which it looks like your mail is doing) and it needs to encode the binary data, normally using base64 (and again it looks like you are doing that).

I wonder about the following line
: $hdrs .= "\nMIME-VERSION: 1.0\n" .

it adds a new line at the start of the header, which is likely wrong - the mime-version header must be part of the initial block of headers at the top of the message.

I don't know the mail() function well enough off hand to know if you are using it correctly.

What exactly is going wrong?
--

This space not for rent.


Jul 17 '05 #3
ph*********@comcast.net wrote:
: hi malcom thanks for the response... I'm just confused at why it sends
: me code instead of the actual image? what am i doing wrong here. this
: is what i'm getting via email when i submit a small gif:
: --=====FormMailerb415b1f77fefa6cf1ec3788437fc0848=== ==
: Content-Type: image/gif;
: name="11-07_Atari.gif"
: Content-Disposition: attachment;
: filename="11-07_Atari.gif"
: Content-Transfer-Encoding: base64

: R0lGODlhgACAAPcAAP///8zMzPwCA/wVKdyMk/8AI+dfcP8AKOgAJP8CKv4FKf0JLdK2us7Aws3G

: x/8AL/8ALP8AK/8CLP4CL/wLNfgRO/cfRvQvUtzR0/8AM+LU1/8APO48aN5vi90AO/8BSO0YXf8B

(snip snip snip)

You haven't shown the top headers of the message. The headers you don't
show must have an error.

The lines you _do_ show look like they are probably correct. If the mail
client had the correct top headers then I am guessing that this would
display as an attachment.

I suspect that the MIME-Version header (which is one of the line you don't
who us) is incorrectly placed because it had a \n at the front, which is
likely wrong.
--

This space not for rent.
Jul 17 '05 #4
below are the headers... thanks again for the response!
Return-path: <an*******@server295.com>
Envelope-to: mi**@fishfrydesigns.com
Delivery-date: Sun, 27 Mar 2005 19:21:48 -0600
Received: from [64.14.68.159] (helo=server295.com)
by roy.dnsbox3.com with smtp (Exim 4.44)
id 1DFiwq-0004YS-So
for mi**@fishfrydesigns.com; Sun, 27 Mar 2005 19:21:46 -0600
Received: (qmail 22607 invoked by uid 2066); 28 Mar 2005 01:21:50 -0000
Date: 28 Mar 2005 01:21:50 -0000
Message-ID: <20************************@server295.com>
To: mi**@fishfrydesigns.com
Subject: Update Form
From: me@mikepetruna.com
MIME-VERSION: 1.0
Content-Type: multipart/mixed;
boundary="=====FormMailerbc2057c7177aba218671f208c 64799c5=====";

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: a c s | last post by:
Hello, I'm a php newbie and have been using the following php code fine (until now) to submit a form and create an email message. I recently moved the site from a local server to an ISP's server...
1
by: abracad | last post by:
I'd like to add a form that will email a file attachment to me. Can anyone recommend a decent free script? Thanks
2
by: Zameer | last post by:
Hi All, I want to know how i can add attachment file to form for a particular user.Its like user fills his information on form and he can add an attachment file if he wants.And later when you...
0
by: ben | last post by:
The "Download file" dialogue prompts the user twice if Open is pressed when using Content-Disposition 'attachment' if, and only if, the script was submitted from a form. If Save As is pressed you...
1
by: bhavik | last post by:
hi I have problem with attachment showing form server side. when our application run on localhost we add any attachment to mail server. if suppose we want to show that attachment we can see...
5
by: Gaby | last post by:
I made this form with a very basic code <HTML> <HEAD> <TITLE>Submit Papers</TITLE> </HEAD> <BODY> <% If Len(Request.Form("txtEmail")) > 0 then
1
by: budyerr | last post by:
All, I am trying to build a email submission form using asp.net. I currently have a web form page that will upload to my webhosting server, attach to email then delete the file after sending. ...
3
by: jambonjamasb | last post by:
Hi I have two tables: email_tbl Data_table Data table is is used to create a Form Data_form
0
by: canistel | last post by:
Hi, I have a little python webservice that I created, and in one of the methods I need to store some binary data that was "posted"... I want to do something like this, but it doesn't work. ...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.