s out either, and he supposedly has programming experience. :-P
Many thanks again!!
- Original Message -
From: "Julie Williams" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 10:09 PM
Subject: [PHP] Script that writes e-mail (continued)
Hi again,
Thank you, Chris, for your help. We modified the script as per your suggestions and
modified a few other things, so that finally, the script does what it is supposed to
do.
However, there is another problem now, that happens in the e-mail itself. An
exclamation mark appears in the
ervice departments are located on the following page: ";
$body .= "http://swedishengineering.com/service.html ";
$body .= "(If your email client doesn't allow you to click on the link above, just
copy and paste into your browser)";
$body .= $_POST['comments'];
$body .= "Thank you,Swedish Engineering Staff";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: [EMAIL PROTECTED]";
$headers .= "To: ".$_POST['custemail']."\r\n";
mail($_POST['custemail'], "Your Parts Request", $body, $headers);
header("Location:index.html");
}
}
}
ELSE {
print ("Please go back and enter the customer's request type!");
}
}
ELSE {
print ("Please go back and enter the customer's email address!");
}
?>
The form that uses this script is located at:
http://www.swedishengineering.com/requestresponse.html
Thanks to anyone who can help me out with this! We have been banging our heads on our
desks for a really long time with what is supposed to be just a simple script. We are
beginning to think that the server is possessed. LOL
Julie Williams
Hi everyone,
Well, after much debugging, turns out it was the "isset" command that was
causing all the problems. By simply removing that, everything started
working properly.
Thanks to everyone for their input!
Julie Williams
-Original Message-
From: John Nichel [mai
're asking me this because you don't see anything wrong with the
script's logic?
Julie
-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 31, 2003 8:10 AM
To: Julie Williams
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Introduction
Julie,
Wh
}
}
}
ELSE {
print ("Please go back and enter the customer's request type!");
}
}
ELSE {
print ("Please go back and enter the customer's email address!");
}
?>
-----Original Message-
From: Jason Wong [mailto:[EMAIL
ber needs to be
entered. However, the script bypasses this and builds the e-mail anyway.
I hope this makes sense and would greatly appreciate any help.
Thanks!!
Julie
-Original Message-
From: Mike Kercher [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 6:21 PM
To: 'Julie Wi
Hello everyone,
I just subscribed to the list and wanted to say hello. Also to check if I
have the right address.
:-)
Julie Williams
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
8 matches
Mail list logo