1
hnic_spanks
turning off allow_url_fopen (protector)

i know this has been discussed in other topics but it's not clear to me

1) What is the basic method of doing this (if the host isn't a problem)
2) What should i ask my host if that is necessary
3) Is this really important?

Oh and "check if protector works well": both links show the site, does that mean it doesn't work?

2
BlueStocking
Re: turning off allow_url_fopen

I installed MediaWiki and in the install they pointed out I should have the have the allow fopen turned off. I asked my server about it and they simply turned it off for me. Apparently that is a function only they can do from the server level. After my request, (not because of it), they turned off that function for all the sites they were serving. As a Security measure.

I don't know about protector.
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

3
wishcraft
Re: turning off allow_url_fopen

This is more a php question but I will answer it for you Partly cause I am a nice man...

This is the function you have to use http://au2.php.net/manual/en/function.ini-set.php

What you will have to do is alter main.php so it has the following command:

ini_set('allow_url_fopen',TRUE); # Will enable it
ini_set('allow_url_fopen',FALSE); # Will disable it
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

4
hnic_spanks
Re: turning off allow_url_fopen (protector)

^^ which main.php? there's a lot of directories that have one, i added the line (ini_set('allow_url_fopen',FALSE);) in the protector directory but that doesn't seem to work
or do you mean mainfile.php?

5
wishcraft
Re: turning off allow_url_fopen (protector)

Yes that is right!! mainfile.php just put it at the top after
Some hosting providers stop you from being able to use ini_set also turn off (FALSE) url opening.

Thanks
Resized Image
http://www.ohloh.net/accounts/226400

Follow, Like & Read:-

twitter.com/RegaltyFamily
github.com/Chronolabs-Cooperative
facebook.com/DrAntonyRoberts

6
cola967
Re: turning off allow_url_fopen (protector)
  • 2008/4/9 22:19

  • cola967

  • Just popping in

  • Posts: 2

  • Since: 2007/5/25


hi nice man,
i have visited your website http://www.extraterrestrialembassy.com
and it's very nice...
all right, i'm trying to put my allow_url_fopen off,
but i can't write the code because i'm very newbie...
can you help me with this?
if i have in the future a visit of any extra terrestrial entity, be sure i give him your link website

Login

Who's Online

350 user(s) are online (290 user(s) are browsing Support Forums)


Members: 0


Guests: 350


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits