I have an html form that uses a PHP file to send data via email. I want to add code (which I already have) to generate random numbers to protect against spam. Can I call another PHP file in my form?
Here is the code that goes in the form:
<form name="mail" action="go.php" method="post" onsubmit="return CheckData()">
<input type="text" name="q">
<input type="submit" name="Submit" value="OK">
</form>
I'm a real newbie with PHP, so any help would be appreciated.
LozFromOz
LozFromOz
source
share