Mike,
thanks a lot! All I had to do was swich the $subject
over to the 2nd param. in my mail (). Sometimes the
answer is so easy, you don't see it!
--- Mike <[EMAIL PROTECTED]> wrote:
> Looks like you may be using the wrong format for the
> mail() function.
>
> bool mail ( string to, string s
Looks like you may be using the wrong format for the mail() function.
bool mail ( string to, string subject, string message [, string
additional_headers [, string additional_parameters]] )
http://us4.php.net/manual/en/function.mail.php
Reference the form you should be passing params and notice
I was wondering why when I insert the $subject = "form
results", I get the ...echo "Message failed to send";
error.
But when I comment this out, everything works fine.
Please see below.
0) {
foreach($errors as $err)
echo "$err\n";
echo "Please use your browser's Bac
Firstly, before evening uploading a file, you should check to see whether a
file has been selected (there is a filename in the textbox) - use JavaScript
for this. Then secondly, you should always perform some logic before actually
attempting the upload such as checking to see that it has a file
> if($_FILES)
> {
> if(isset($_FILES['file_upload']) &&
> $_FILES['file_upload']['name'] !="") {
>
> ..
> Any ideas or suggestions?
>
> Thanks,
> Ron
Have you tried:
If (isset ($_FILES))
Is only a guess though.
HTH,
Mikey
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe,
I have a form that may or may not contain a file upload. When the user
uploads a file the script works as it should. The problem is that when a
user doesn't upload a file, I get an error that reads:
"PHP Notice: No file uploaded in Unknown on line 0 PHP Warning: Cannot
send session cache limit
Mikey wrote:
-Original Message-
It's true that googling would produce a list of PHP-happy
editors, but
the
intended question seems to be more along the lines of "What
does everyone
like? Use? Prefer?" That's not something that's always
found on lists
you'd get off of google.
No, b