Re: [PHP-DB] using POST data for a readfile

2005-04-13 Thread Martin Norland
mel list_php wrote: Thank you very much! [snip] I didn't get the tag though, what does that mean? It was merely a cautionary warning about sites that force a base href for relative URIs (including, of course, URLs) See: http://www.w3.org/TR/html4/struct/links.html#h-12.4 cheers, -- - Martin Norl

Re: [PHP-DB] using POST data for a readfile

2005-04-13 Thread mel list_php
D]> To: php-db@lists.php.net Subject: Re: [PHP-DB] 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 ex

Re: [PHP-DB] using POST data for a readfile

2005-04-13 Thread Andrés G . Montañez
> 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 - Urug

Re: [PHP-DB] using POST data for a readfile

2005-04-12 Thread D. Wokan
Andrés G. Montañez wrote: I give the exaple just as an guide not a working one. I didn't mean to offend or say your way was wrong. I was just offering an alternative method. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] using POST data for a readfile

2005-04-12 Thread Andrés G . Montañez
I give the exaple just as an guide not a working one. -- 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

Re: [PHP-DB] using POST data for a readfile

2005-04-12 Thread D. Wokan
Andrés G. Montañez wrote: You should use some JavaScript. Try something like this: Actually, that href will fail if the site in question uses a tag. And you left out the anchor content and . A safer version would be... download test.pdf If you have a limited number of files or a database

Re: [PHP-DB] using POST data for a readfile

2005-04-12 Thread D. Wokan
nt: Monday, April 11, 2005 5:59 AM Subject: [PHP-DB] using POST data for a readfile Hi list, (mail problem you may get that one twice!) My problem: I protect my files by storing them out of the web root or behind a htaccess. As I'm not using the htaccess authentication for my users, I use a r

Re: [PHP-DB] using POST data for a readfile

2005-04-11 Thread Mark Cain
Monday, April 11, 2005 5:59 AM Subject: [PHP-DB] using POST data for a readfile > Hi list, > (mail problem you may get that one twice!) > > My problem: I protect my files by storing them out of the web root or behind > a htaccess. > As I'm not using the htaccess authenticat

Re: [PHP-DB] using POST data for a readfile

2005-04-11 Thread Andrés G . Montañez
You should use some JavaScript. Try something like this: -- 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

[PHP-DB] using POST data for a readfile

2005-04-11 Thread mel list_php
Hi list, (mail problem you may get that one twice!) My problem: I protect my files by storing them out of the web root or behind a htaccess. As I'm not using the htaccess authentication for my users, I use a readfile to serve the file, basically something like: File to serve and in the script ca