Re: [PHP] restrict access of Copy command

2001-05-01 Thread PanDragon

Thanks for the suggestion, but I need to be able to use the copy command, I
just do not want it to be able to read from one virtual host to another. I
would imagine that lots of web hosters running php with virtual hosts would
have the same problem.




Sebastien Roy <[EMAIL PROTECTED]> wrote in message
news:<[EMAIL PROTECTED]>...
> 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
> [EMAIL PROTECTED]
>
>
> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
Sebastien Roy <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 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
> [EMAIL PROTECTED]
>
>
> 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: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] restrict access of Copy command

2001-05-01 Thread PanDragon

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]