<form action="./" method="post">
This will do exactly what you are finding happens and loads the first index file found in a directory which is index.php of XAMPP.
You have to add the file name of the combined form script you created.
- Code: Select all
<form action="./contact.php" method="post">
Just a /
indicates to load the directory's index file and in your case:
= XAMPP home page.
= your form that will on submit return to your form to do it's work.
- always try and obfuscate any email addresses in a web page especially web forms, to help prevent spam-bots harvesting those addresses so they can sell those found addresses to spammers, who then fill the inbox of that address with unwanted spam - and I can assure you they do spider every known web site on the look out for those unenlightened web designers who still include open email addresses in their code.
Google will tell you how.
A free and perhaps the most advanced form processor ever produced, that has the most form features, including but not limited to email address hiding, I have ever seen, can be found here:
Saves reinventing the wheel and comes highly recommended!
1. The new DeskTopXampp
Launch Control for XAMPP / XAMPPlite
Posted by Ridgewood
available from Ridgewood'sDTX web site
2. Build Rich AJAX
Applications - Faster
TIBCO General Interface Pro Edition
and Open Source
Fully working with NO
donations required to get a user/password