Re: restrict access of Copy command

From: Date: Tue, 01 May 2001 20:13:44 +0000
Subject: Re: restrict access of Copy command
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-51022@lists.php.net to get a copy of this message
Hi, There is a section in the php.ini where you can specified the function you don't whant to use : disable_functions : copy; ... I never used it, but I think it's what you are looking for. Regards, Sebastien Roy sroy@galeasec.com PanDragon wrote: > I am running an apache server with virtual hosts and need to prevent the php > Copy command from being able to copy from one virtual host dir to another. > > The server is in php safe mode and the doc_root, and basedir are set > correctly, at least they prevent "includes" and "opendir" and such from > working, but "copy" still works. > > I sure would appreciate any suggestions. > > Pan > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#51022) next »