Originally posted by khalidali63 <form name="formName" action="emailto:yourEmail@email.com" method="post" enctype="text/plain">
action="mailto:yourEmail@email.com"
This will open email client on the visitors machine, but will not mail the form to you. You need to use server-side method (CGI/ASP/PHP etc) to mail the form directly.
Originally posted by nkaisare This will open email client on the visitors machine, but will not mail the form to you.
Actually, it will. It will alert the users that their is a program trying to send email, and if they hit yes to allow it to do so, it will send the email...
Here is another quick little php script that will let you know if you have php capablities but also all the information you will need to know about your server once you start developing php scripts in your site.
PHP Code:
<?php
phpinfo()
?>
Save those three lines to a file called test.php or phpinfo.php or whatever.php. Upload it to your server and then point your browser to it.
Another place that has a lot of php scripts is www.hotscripts.com. This has helped me out a lot.
The two books that have helped me a lot are "PHP and MySQL Web Development" by SAMS and the "PHP Cookbook" by O'Reilly. I have also used the SAMS "Teach Yourself PHP, MySQL and Apache in 24 Hours"
Those three books should help you out and get you started.
Bookmarks