Jump to content

using http functions in php


kapitanluffy

Recommended Posts

i have been searching for a solution for about a day already.

 

can anyone help me on how to use the http functions (if thats what it is called) in php?

 

http://www.php.net/manual/en/book.http.php

 

like for example. i need to use the http_get() function but it returns

Fatal error:  Call to undefined function..

 

in the manual it says that i need to put php_http.dll on the ext dir and enable it in php ini like this..

 

extension=php_http.dll

 

..which i already did

 

im working under..

windows xp sp3

php 5.3.1

 

thanks guys :)

Link to comment
https://forums.phpfreaks.com/topic/210118-using-http-functions-in-php/
Share on other sites

since you've placed the dll in the ext dir and enabled it in the ini.. what error have you been getting?

 

EDIT: I took a look @ the installation requirements, which states that they do not have a .dll for the extension, and PECL is down for windows XP+ unless you have visual basic 98 or visual studios 98, you need the compiler bundled with that.. then you'd also need to install pear and then go thru the command line to install the pecl extension..

 

In other words.. you're more than likely not gonna get this extension for windows :) Sorry man <3

yeah i already read about the compiling stuff..but i already downloaded a compiled php_http.dll

 

http://museum.php.net/php5/pecl-5.2.6-Win32.zip

 

btw another error it pops out is ..

 

"the procedure entry point php_set_error_handling could not be located in the dynamic link library php5ts.dll"

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.