|
Posted by Tyrone Slothrop on 10/08/05 08:14
On Sat, 8 Oct 2005 00:20:43 -0400, "Douglas F." <whisper@yahoo.com>
wrote:
>I would like to connect to:
><?php
>if(isset(_POST['ver']) {
> require_once('./MyStuff/mysql_connect.php');
> $query2 = "INSERT INTO versiondl(Version, Date)
> VALUES('$ver', NOW())";
>}
>?>
>
><td ... <a href= "./Download Files/somefile.exe"> somefile </a><td>
>
>How can I use something like in a form (action="<?php echo
>$_SERVER['PHP_SELF']; ?>") to connect from the html <a> tag to the above php
>block?
>
Why not do it as a GET instead? Or do a bit of JavaScript:
<a href="whatever" onClick="document.form.submit();">
Navigation:
[Reply to this message]
|