allow_url_fopen Issue

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

dt22
Forum Commoner
Posts: 32
Joined: Sat Oct 10, 2009 2:53 am

Re: allow_url_fopen Issue

Post by dt22 »

i think its all because the allow_url_fopen php function is placed in the list of disable_functions list in the server. anybody knows any way to change thats
maxx99
Forum Contributor
Posts: 142
Joined: Mon Nov 21, 2011 3:40 am

Re: allow_url_fopen Issue

Post by maxx99 »

edit php.ini:

Code: Select all

; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/disable-functions
disable_functions =
dt22
Forum Commoner
Posts: 32
Joined: Sat Oct 10, 2009 2:53 am

Re: allow_url_fopen Issue

Post by dt22 »

but how can we do thats php.ini edit in remote server because its a shared server right. if we change it that will cause trouble to others right..
maxx99
Forum Contributor
Posts: 142
Joined: Mon Nov 21, 2011 3:40 am

Re: allow_url_fopen Issue

Post by maxx99 »

No other way to change that :(

Are you able to access shell? E.g. to ping that service you need to send sms?
Post Reply