| | |
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
Views: 1560 | Replies: 14
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code cron curl database date directory display download dynamic ebooks echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla jquery js limit link login loop mail mediawiki menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search select server sessions sms soap source space speed sql stored structure subdomain syntax system table tutorial update updates upload url validation validator variable video web xml youtube





