#1 (permalink)  
Old 06-19-2006, 07:01 AM
Registered User
 
Join Date: May 2006
Posts: 64
docenta is on a distinguished road
What is the right way for PHP disable_functions ?

Is it right to be :

system, system_exec, shell, shell_exec, exec, passthru, escapeshellarg, escapeshellcmd, proc_close, proc_open, ini_alter, dl, popen, parse_ini_file, show_source


or :


system,system_exec,shell,shell_exec,exec,passthru, escapeshellarg,escapeshellcmd,proc_close,proc_open ,ini_alter,dl,popen,parse_ini_file,show_source
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 06-19-2006, 12:08 PM
brianoz's Avatar
Registered User
 
Join Date: Mar 2004
Location: Melbourne, Australia
Posts: 984
brianoz is on a distinguished road
What does the PHP manual say?

Have you checked the syntax in your existing php.ini file?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 06-19-2006, 12:19 PM
Registered User
 
Join Date: Mar 2006
Posts: 376
tweakservers is on a distinguished road
looks like your questions has been answered at WHT :

http://www.webhostingtalk.com/showthread.php?t=523742
__________________
Tweakservers.com ~ Server Setup & Support for Windows 2003 and Linux cPanel servers
Authorized Reseller for SmarterTools,LiteSpeed Web Server,Paessler PRTG Network monitoring Tools, RapidSSL Certificates
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 06-19-2006, 02:06 PM
Registered User
 
Join Date: May 2006
Posts: 64
docenta is on a distinguished road
TS thanks for the note but is this correct :


disabled_functions = system,system_exec,shell,shell_exec,exec,passthru, escapeshellarg,escapeshellcmd,proc_close,proc_open ,ini_alter,popen,parse_ini_file,show_source,enable _dl,dl


?

What about

allow_url_fopen = Off

register_globals = Off


Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 06-19-2006, 02:15 PM
Registered User
 
Join Date: Jan 2005
Posts: 1,874
webignition is on a distinguished road
Quote:
Originally Posted by docenta
What about

allow_url_fopen = Off

register_globals = Off
What about them?

The comments in your main php.ini file will detail what these parameters are for, what values they can take and what the values mean. The same is explained in the PHP manual.

About what are you unclear?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 06-19-2006, 04:04 PM
Registered User
 
Join Date: May 2006
Posts: 64
docenta is on a distinguished road
is not the allow_url_fopen important function for most of PHP coders ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:34 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc