Variables are not evaluated within single quotes. You are trying to send
an email to $address, literally. If you just have a single variable,
lose the quotes entirely.
Mail($address,$subject,$body);
---John Holmes...
> -Original Message-
> From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTE
Ok, that work. Why does the ' (quote) not make it work is it because it's an
array? Any thanks John that got it work.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
strings in double quotes are evaluated looking for $vars and {$vars} to
substitute. strings with in single quotes are not evaluated for vars.
$var = "my favourite color is {$col}"; // works
$var = "my favourite color is $col";// works
$var = 'my favourite color is $col';// doesn't work
e string.
---John Holmes...
> -Original Message-
> From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, September 22, 2002 11:53 PM
> To: [EMAIL PROTECTED]
> Cc: PHP General
> Subject: Re: [PHP] Help with mail...
>
> Ok, that work. Why does the ' (quote)
On 4/6/07, Zhimmy Kanata <[EMAIL PROTECTED]> wrote:
I created the following email program from a email function that I know works
in another program.
When I create a simple form page listed below and submit it. It echos the
$email and the $username and it writes it to the page. So it is findi
Oops I was misspelling the recipients name. :)
Charles Killmer
-- Original Message --
From: "charlesk " <[EMAIL PROTECTED]>
Reply-To: <[EMAIL PROTECTED]>
Date: Thu, 30 May 2002 09:09:33 -0500
I am getting a "Server Error" when I try to send an email to a
What is this? magicians day?
I have a dog, can you tell me why he barks sometimes?
Show us some code dude, or is it "code red" classified?
There could be a dozen possible reasons but if you show the code you stand a
better chance of finding out what the problem is, from me or the other dudes
on
You wouldn't happen to be on a windows system? Read the "Warning:" on the
manual page:
http://www.php.net/manual/en/function.mail.php
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolu
No I only work on *nix platforms
"Analysis & Solutions" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You wouldn't happen to be on a windows system? Read the "Warning:" on the
> manual page:
> http://www.php.net/manual/en/function.mail.php
>
> --Dan
>
> --
>
[snip]
[/snip]
What is happening when the form is posted?
This is just a guess, but I think registar_globals is probaby off. try
this
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ahh, I have to correct myself
replace this: if ($_POST['TextArea']="") {
with this: if ($_POST['TextArea']=="") {
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
did you replace ($TextArea="") with ($TextArea=="") ?
($TextArea="") will reassign $TextArea to ""
>>> "Pooya Eslami" <[EMAIL PROTECTED]> 2/2/2004 3:00:32 PM >>>
Well the problem is not that it won't get executed, its that every
thing
will be sent except the message in the textarea! subject, t
Well the problem is not that it won't get executed, its that every thing
will be sent except the message in the textarea! subject, to and from are
sent fine
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Pooya Eslami wrote:
Hi, I'm new to php and this newsletter. I have a form on my webpage and a
php file to email it to me but the contents of the text area are not emailed
to me. Can anyone help me with this?
here is the code for my html and php files:
Test
Comments:
$message=$_POST[Text
You know why he barks? Tell me!
At 08:06 PM 5/30/2002 -0700, r wrote:
>What is this? magicians day?
>I have a dog, can you tell me why he barks sometimes?
>
>Show us some code dude, or is it "code red" classified?
>There could be a dozen possible reasons but if you show the code you stand a
>
mail function cannot do stmp-auth, but there are classes that can, check
out www.phpclasses.org/mimemessage
Trell wrote:
Hello, first time on the list, and I'm trying to learn PHP.
Here is my setup, 2 servers, 1 is the MTA and 1 is the Web Server.
The MTA is a qmail server with smtp-auth that ne
16 matches
Mail list logo