| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|Fatal error: Class 'HttpRequest' not found|
| 2:58 pm on Mar 5, 2010 (gmt 0)|
i keep getting this error
when i try to do a HTTP request.
|Fatal error: Class 'HttpRequest' not found |
I have browsed the internet for solutions to this problme and none of them work.
I enabled the following line in the php.ini
I made sure the dll exists in the correct extension folder then i restarted apache.
I am still getting the same error, the code i am executing is
$r = new HttpRequest('www.myurl.com', HttpRequest::METH_POST);
'name' => 'Johny The Stinking Donkey'
any suggestions would be great thanks for reading this.
| 3:08 pm on Mar 5, 2010 (gmt 0)|
I found an old entry saying they also needed
hash, iconv, SPL and bz2
so maybe take a look at any dependencies. I had similar problems with this package about a year ago and I ended up ditching it and using cURL, it was much faster in my case.
| 3:39 pm on Mar 5, 2010 (gmt 0)|
Bad News, I tried adding those 2 dll files and it still did not work.
Good news, I enabled Curl and tried a http post that way instead. RESULT!
Thanks for your help, much appreciated.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved