Menu
hi, the query is i have to send an html page as an to a user mail. the html page contains some input fields and a submit button with the javascript validations. the problem is i want to validate the input fields when i click the submit button and submits the page to the specified location. these actions should be done when the user opens the e-mail page.
hope u got it
[code=php].
<?php
$self = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['PHP_SELF'];
echo <<<END
<form action="$self" enctype="multipart/form-data" method="post" >
<fieldset id="fieldset">
<label for="name">Enter something and press submit </label>
<input class="form_elements" name="something" id="something" type="text" value="{$_POST['something']}">
<input id="submit" type="submit" value="Submit">
</fieldset>
END;
if (isset($_POST['something'])){
echo '<p>The form was submitted ok</p>';
}else{
echo '<p>The form was not submitted ok</p>';
}
?>
[/code]
Again you are wrong.[/QUOTE]
[code=php]
<form action="receiving_script.php" enctype="multipart/form-data" method="post">
<input class="form_elements" name="something" id="something" type="text">
<input id="submit" type="submit" value="Submit">
[/code]
Possibly it is failing an SPF test or reverse lookup.[/QUOTE]
0.1.9 — BETA 5.19