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

2005-04-11 Thread Mark Cain
Trap for the referral page in the callFile.php page. Allow the proper referral page to pass (could be multiple pages if you choose) but if the users modify the URL of the GET the referral page will be blank or perhaps more precise the referrer var will be empty and nonexistent. Do a phpinfo and l

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

[PHP-DB] Creating a upgrading aplication whit PHP

2005-04-11 Thread Diamantino José Almeida
Hey Guys, I'm new here, does anyone knows how to use PHP, in order to upgrade executables in applications, same as using batch files, but whit a PHP Web interface code? In batch files I know how do do it: rem *** exe copie FOR /F "tokens=1" %%i in (test.txt) do c