468,296 Members | 1,266 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,296 developers. It's quick & easy.

Passthru

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
3 6838
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
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
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.

Similar topics

reply views Thread by Yemi | last post: by
3 posts views Thread by Jerry | last post: by
2 posts views Thread by Greg Chapman | last post: by
2 posts views Thread by Martin Kofahl | last post: by
1 post views Thread by Spudster3 | last post: by
2 posts views Thread by Robertico | last post: by
2 posts views Thread by rickcasey | last post: by
5 posts views Thread by amalprakash3220 | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by Teichintx | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.