Posted by Doug on 10/09/05 04:06
How can a form with a hidden <input type be triggered without the submit
button type or other button? I am calling a download file href and want it
to access a PHP GET or POST on top of the same page of code. This is the
code so far:
<?
if(isset(_POST['ver']) {
// access and query the database
} ?>
....
<td><form action="<?_$_SERVER['PHP_SELF']?>" method="post">
<a href="./Download Files/somefile.exe">somefile</a>
HOW TO TRIGGER AND name = 'ver'
</form></td>
Navigation:
[Reply to this message]
|