Easy enough to do (my ISP does this) : Look up disable_functions in
http://www.php.net/manual/en/features.safe-mode.php

You need to set in your php.ini file a list of disallowed functions (just add the function_name for FTP functions to the list). You can of course do this better by per-site configuration in Apache httpd.conf

phpinfo() will also list the disabled functions which have been set, so your users are informed what is and is not available.

Hope that helps,
Regards - Neil Smith.

At 06:57 26/02/2003 +0000, you wrote:
Message-ID: <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
From: "greg" <[EMAIL PROTECTED]>
Date: Tue, 25 Feb 2003 15:28:14 -0500
Subject: Disable FTP in Win32 Binary ?

Hi!

Can someone provide guidance on how to disable FTP in the Win32 Binary
version?

(The IT Security team at my workplace does not permit FTP.  We may not be
able to use PHP unless FTP is disabled, but haven't figured out how to do it
on the Win32 binary version.)

Any assistance would be greatly appreciated.




Thanks,

Greg


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to