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
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
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
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
[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
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
>
> --
>
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
7 matches
Mail list logo