Thread: need php guru
View Single Post
Old 09-04-2009, 04:46 PM  
gentoo
Confirmed User
 
Join Date: Sep 2007
Posts: 116
Quote:
Originally Posted by Varius View Post
Since you didn't specify which allow_url line you have set to true, check if both of these are:

allow_url_fopen = 1
allow_url_include = 1

I think since 5.2.0 the second one is now disabled by default.

Also, if you don't need to execute code and are simply including something for output, you're better off (more secure) with say file_get_contents() or other similar methods.
Hey man thx for the info, i was pulling out my hair because i normally do not enable this stuff because of security but the person needs it done. Even though i specify these settings there was somehting compiled in php from cpanel causing all this not to work so i recompiled php without the module and all works now.

Thx
gentoo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote