php-general | 2001062
Date: 06/30/01
- Next message: Aral Balkan: "[PHP] emalloc / erealloc problem (was: help with custom session handler)"
- Previous message: Jack: "[PHP] php not run as cgi."
- In reply to: Pétur Björn Thorsteinsson: "[PHP] php / apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Jun 29, 2001 at 03:54:13PM +0000, Pétur Björn Thorsteinsson wrote:
> can anyone tell me how to configure a php script so that it can only be
> accessed by other scripts and not directly by typing its url in the
> webrowser?
Just move the script outside the web root. Browsers can't directly
access files that aren't inside web-visible directories.
Matt
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Aral Balkan: "[PHP] emalloc / erealloc problem (was: help with custom session handler)"
- Previous message: Jack: "[PHP] php not run as cgi."
- In reply to: Pétur Björn Thorsteinsson: "[PHP] php / apache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

