Posted by iktorn on 06/12/07 06:09
shotokan99 napisał(a):
> hi,
>
> i wanted to check if that certain url is active or not, and ive used
> fopen, file_get_content()..however these functions didnt worked out
> because allow_url_open to our webserver is set to off.
>
> someone recommended that i can modify it or achieve the same goal
> through .htaccess. is this possible? how?
>
You cannot set this value in .htaccess file.
(but you can try put your own php.ini file in your directory)
My advice - use curl library instead
http://pl2.php.net/manual/en/ref.curl.php
--
Wiktor Walc
http://phpfreelancer.net
[Back to original message]
|