i posted this a few months ago and got no reply. after looking around i think i found the problem. the error i was getting was after every time i posted in the bot section on the redirecting page
Quote:
Warning: file_get_contents(): URL file-access is disabled in the server configuration in /_talkerbot.php on line 82
Warning: file_get_contents(http://www.mysite.com/forums/alice/s...&input=testing): failed to open stream: no suitable wrapper could be found in /_talkerbot.php on line 82
|
i found a post today that has this explaination
Quote:
Anyone having this problem :
Warning: file_get_contents(): URL file-access is disabled in the server configuration in /_talkerbot.php on line 82
Warning: file_get_contents(http://localhost/forum/alice/src/ta....ing+again...): failed to open stream: no suitable wrapper could be found in /_talkerbot.php on line 82
This mean your server doesn't have the PHP function allow_url_fopen = ON which will not allow you to get distant files such as xml or rss. Please contact your host regarding of the status of this function and if he can enables it.
ALSO PUT THIS AS PREREQUIREMENT FOR YOUR SCRIPT TO WORK:
allow_url_fopen must be ON, otherwise it won't allow you to get distant files.
|
i am with dreamhost, and apparently they set allow_url_fopen to OFF on all accounts because of security issues.
http://wiki.dreamhost.com/index.php/Allow_url_fopen
they mention for some things you would use allow_url_fopen for, you can use CURL
http://wiki.dreamhost.com/index.php/CURL which (along with php) is somthing i have no knowledge of at all.
my question now is, would it even be possible to make a few changes here and there to make this script work using CURL, without allow_url_fopen being on, or is there just no way to do it?
thanks