Thank you very much! Here is the winner (actually a mix of both!)
<form name="downloads" method="post" action="./callFile.php"> <input type="hidden" name='dlId_to_dl' value="1"> <a href="javascript:document.downloads.submit();">download test.pdf</a> </form>
and in the callFile I have a switch on dlId_to_dl.
I didn't get the <base> tag though, what does that mean?
From: Andrés G. Montañez <andresmontanez@xxxxxxxxx> Reply-To: Andrés G. Montañez <andresmontanez@xxxxxxxxx> To: php-db@xxxxxxxxxxxxx Subject: Re: using POST data for a readfile Date: Wed, 13 Apr 2005 12:09:06 -0300
> I didn't mean to offend or say your way was wrong. I was just offering > an alternative method.
Oh no, you didn't offended me in anyway! I was saying that my example should not be used, because it do not work.
-- Atte, Andrés G. Montañez Técnico en Redes y Telecomunicaciones Montevideo - Uruguay
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php