birgunj birgunj wrote:
Dear All,
can any body tell me how to prevent documents from download using php.
thanks to all
You don't.
If a document is available on the web server it can be downloaded.
If you provide a bit more background, there are tricks you can do with
PHP to restrict access to files, but those files must NOT be publicly
accessible, you basically make your php script the intermediary between
the browser and the file.
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php