Hi, i have a website that passes data between scripts using both links (ie href=script.pl?data=yay&etc=etc) and forms (using the post method). The problem is I want to pass some private data using a link - I could use a form (method=post) - but I really *want* to use a link. I have tried
but when I click the link no data is passed. When I display the $ENV variable REQUEST_METHOD it shows GET as the method instead of POST (as I would have expected).
Anyone???????
Ta,
Matt
Code:
<form method='post'>
<input type='hidden' secret_data='$data'>
<a href='/cgi-bin/display.pl'>Link</a>
</form>
but when I click the link no data is passed. When I display the $ENV variable REQUEST_METHOD it shows GET as the method instead of POST (as I would have expected).
Anyone???????
Ta,
Matt