By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,853 Members | 992 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,853 IT Pros & Developers. It's quick & easy.

Passthru

P: n/a
Hi,

Warning: passthru() has been disabled for security reasons in ...

how can I change my php.ini file (php4/apache/winxp server) to enable this
function? How can I best work around if I can't use this function?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~l-.~~~~~~~~~~~~~~~~~~~
GG-1175498 ____| ]____,
Rafal 'Raf256' Maj X-( * )
Rafal(at)Raf256(dot)com ,"----------"
Jul 17 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
On 8 Nov 2003 18:52:32 GMT, "Rafal 'Raf256' Maj" <sp**@raf256.com> wrote:
Warning: passthru() has been disabled for security reasons in ...

how can I change my php.ini file (php4/apache/winxp server) to enable this
function? How can I best work around if I can't use this function?


Looks like you're in safe_mode with passthru listed in the disable_functions
option.

http://www.php.net/features.safe-mode

--
Andy Hassall (an**@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)
Jul 17 '05 #2

P: n/a
Andy Hassall" <an**@andyh.co.uk> wrote in message
news:jt********************************@4ax.com...
On 8 Nov 2003 18:52:32 GMT, "Rafal 'Raf256' Maj" <sp**@raf256.com> wrote:
Warning: passthru() has been disabled for security reasons in ...

how can I change my php.ini file (php4/apache/winxp server) to enable thisfunction? How can I best work around if I can't use this function?
Looks like you're in safe_mode with passthru listed in the

disable_functions option.

http://www.php.net/features.safe-mode


Can't he use ini_set() to get around it?
--
Sharif Tanvir Karim
Samples and Resume:
http://www.freewebs.com/stk15/
Jul 17 '05 #3

P: n/a
On Sun, 09 Nov 2003 20:46:39 GMT, "Sharif Tanvir Karim" <sh****@nyc.rr.com>
wrote:
Andy Hassall" <an**@andyh.co.uk> wrote in message
news:jt********************************@4ax.com.. .
On 8 Nov 2003 18:52:32 GMT, "Rafal 'Raf256' Maj" <sp**@raf256.com> wrote:
Warning: passthru() has been disabled for security reasons in ...

how can I change my php.ini file (php4/apache/winxp server) to enable
this function? How can I best work around if I can't use this function?


Looks like you're in safe_mode with passthru listed in the
disable_functions option.

http://www.php.net/features.safe-mode


Can't he use ini_set() to get around it?


No, read the manual page, particularly the disable_functions entry.

If you could disable safe_mode features from within a script, what would be
the point in having safe_mode in the first place?

--
Andy Hassall (an**@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)
Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)
Jul 17 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.