[eluser]mrwilson1[/eluser]
Good evening. I am trying to get out to Stop forum spam to get some files information, is; is my visitor in the forum spam database. If the answer is yes then I can block them.
I get the following errors when I use this file. is there a work around or a setting that i can change to allow this file to do its thing?
Code:
A PHP Error was encountered
Severity: Warning
Message: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration
Filename: main/spambot.php
Line Number: 13
A PHP Error was encountered
Severity: Warning
Message: file_get_contents(http://www.stopforumspam.com/api?ip=69.138.147.251) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found
Filename: main/spambot.php
Line Number: 13
Fatal error: Uncaught exception 'Exception' with message 'String could not be parsed as XML' in /home//public_html/ci/system/application/views/main/spambot.php:14 Stack trace: #0 /home//public_html/ci/system/application/views/main/spambot.php(14): SimpleXMLElement->__construct('') #1 /home//public_html/ci/system/application/views/main/spambot.php(56): checkSpam() #2 /home//public_html/ci/system/application/views/main/header.php(2): include('/home//...') #3 /home//public_html/ci/system/libraries/Loader.php(677): include('/home/shivabe1/...') #4 /home/public_html/ci/system/libraries/Loader.php(307): CI_Loader->_ci_load('69.138.147.251') #5 /home/shivabe1/public_html/ci/system/application/views/template1.php(3): CI_Loader->view(Array) #6 /home//public_html/ci/system/libraries/Loader.php(677): include('/home//...') #7 /home//public_html/ci/system/libraries/Loader.php(307): CI_Loader->_ci_load('main/header') #8 /home//public_html/ci/system in /home//public_html/ci/system/application/views/main/spambot.php on line 14
I know the file works fine as I use it on other sites.
Thanks.