| | |
Newbie seeks urgent help
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
The mail() function returns TRUE or FALSE upon sendin the email.
In order for you to write a decent script, you will have to verify that this mail was sent corrently.
Therefore you will need to wrap your mail() in an IF statement.
Otherwise your just firing an email out there and not getting any response back that it was successfull.
You can also do this to catch error messages instead of doing an if()
@mail(..);
The @ symbol would be an alternative to using the IF statement
In order for you to write a decent script, you will have to verify that this mail was sent corrently.
Therefore you will need to wrap your mail() in an IF statement.
Otherwise your just firing an email out there and not getting any response back that it was successfull.
You can also do this to catch error messages instead of doing an if()
@mail(..);
The @ symbol would be an alternative to using the IF statement
GardCMS :: Open Source CMS :: Gardcms.org
•
•
Join Date: Jul 2007
Posts: 11
Reputation:
Solved Threads: 0
Finally, it's solved:
I didn't define $contato_name.
So adding
did the trick :-)
I didn't define $contato_name.
So adding
PHP Syntax (Toggle Plain Text)
$contato_name = $_POST['contato_name'];
did the trick :-)
![]() |
Other Threads in the PHP Forum
- Previous Thread: Previewing PHP frameset files in browser
- Next Thread: FTP Help
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code codingproblem cron curl database date directory display download dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search select send server sessions sms snippet soap source space speed sql static structure syntax system table tutorial up-to-date update upload url validation validator variable video web wordpress xml youtube





