PHP folks...

Soldato
Joined
14 Sep 2007
Posts
15,697
Location
Limbo
Just doing some server stuff, can someone in laymans terms explain the following two PHP variables for me please...

"allow_url_fopen":
"register_globals":

My server suggests to leave them off if not needed, but don't know what the hell they are, my server runs image heavy modded wordpress with about 7-10 plugins.
 
allow_url_fopen allows you to use a remote file using a url instead of a local file path, most hosts disable it.

register_globals has been deprecated in the latest php version I believe.
 
Both are security risks (or are if you write unsecure code) so are best left turned off.
 
Back
Top Bottom