Library Extension Get Around

Hi there. I am working on a larger project that requires just a little bit of PHP. It’s been a while since I’ve used PHP. I want to know if the source of functions can be viewed anywhere. So, in my case, I’m trying to use:

http_parse_message();

It turns out that this function is NOT considered standard, so it’s undefined. However, I don’t want to worry about compatibility of changing .ini files or anything like that. I want to just get the source code for that function and put it straight into my file. That would avoid complications, since I only need to get a couple of functions. So does anyone know where I can find the actual source behind it all?

A search on php.net led me to:
http://php.net/manual/en/function.http-parse-message.php it seems to be part of HttpMessage. That’s a ‘PECL’ extension ( Please don’t ask me about acronyms ) but here is some information about using them.
http://us3.php.net/manual/en/install.pecl.php
I did find some sources for you, but they’re not PHP http://pecl.php.net/get/pecl_http-0.14.0.tgz.

I hope I helped you a little, looks to me the easiest fix is to get the extensions to run. :wink:

O.

Sponsor our Newsletter | Privacy Policy | Terms of Service