FRIHOSTFORUMSSEARCHFAQTOSBLOGSCOMPETITIONS
You are invited to Log in or Register a free Frihost Account!


allow_url_fopen





kiseki89
Does anyone know how to turn allow_url_fopen ON?
I cant find the php.ini file. [I'm hosted on free sever - *removed*]


Edit by Wumingsden
wumingsden
kiseki89 wrote:
Does anyone know how to turn allow_url_fopen ON?
I cant find the php.ini file. [I'm hosted on free sever - *removed*]


Edit by Wumingsden




You will not have access to the php.ini file, only the admin of the website will have access to it. Add the following to a .htaccess file:


Code:
php_value allow_url_fopen 1
n0obie4life
And where do you put that?

in public_html

and how do you create the file? not on windows, because windows won't allow you to save it.

You go to directadmin and press the create new file button.

----

Wumingsden's support posts are so detailed and useful to members Rolling Eyes.
kiseki89
wumingsden wrote:
kiseki89 wrote:
Does anyone know how to turn allow_url_fopen ON?
I cant find the php.ini file. [I'm hosted on free sever - *removed*]


Edit by Wumingsden




You will not have access to the php.ini file, only the admin of the website will have access to it. Add the following to a .htaccess file:


Code:
php_value allow_url_fopen 1


Is it just add php_value allow_url_fopen 1?

My .htaccess file has somethings like:

SetEnvIfNoCase Referer "^http://..." locally_linked=1
SetEnvIf Referer "^$" locally_linked=1
<FilesMatch "\.(gif|png|jpe?g)$">
Order Allow,Deny
Allow from env=locally_linked
</FilesMatch>
php_value allow_url_fopen 1

That's all?
Related topics
PHPBB Eklentileri
php include
JOOMLA
Why is fopen-functions disabled?
How to check local path ?
Dzial ogloszen
PHP Page Source
File Functions not working with variables.
Warning: include() [function.include]:
FTP and PHP
PHP reading a line?
About the HOST
Tenemos PHP 5 en el server 2 también
2 php functions disabled on Server 2
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.