Re: Install of Ubuntu Linux Version of php_http.dll

From: Date: Sun, 07 Oct 2007 02:36:05 +0000
Subject: Re: Install of Ubuntu Linux Version of php_http.dll
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-28060@lists.php.net to get a copy of this message
thank you all for your help -- this worked! sadly, i have to recode from the windows/php syntax i used (original post) to ones using this syntax... bummer for me, but at least i have a solution! thanks again, matt On 10/6/07, Ken Guest <ken@linux.ie> wrote: > > On Fri, Oct 05, 2007 at 10:57:26PM -0500, Matthew Pettis wrote: > > Hi Ken, > > > > Thanks... I think I have these extensions in my Ubuntu install (I did > > download them via synaptic) but I still can't get the functionality > to > > work. Here are the relevant statements I have in the code that works > in > > my Windows install: > > > <snip> > > According to Synaptic, I do have the following installed: > > php-http > > php-http-request > > > > Do I need to tell the .php file how to access these modules (I assume > if I > > do, it needs to be different than the 'dl' statement > above). However, > > I've browsed the installed files for these, and I find no definition > for > > either of the function I need... perhaps I'm missing something... > > > > tia, > > Matt > > > > So I need to be able to access the http_post_fields and > http_parse_message > > functions in Ubuntu. Can someone help me figure out how to access > this? > > > > > on my Ubuntu laptop I did: > 1// $ apt get install php-http-request > > 2// copied example 44-1 from > > http://pear.php.net/manual/en/package.http.http-request.intro.php > into a > file hr.php > > 3// $ php hr.php > > It worked and displayed the content of the yahoo homepage. > > > Does $pear list HTTP_Request result in any useful information? > I get the following: > kguest:~$ pear list HTTP_Request > Installed Files For HTTP_Request > ================================ > Type Install Path > php debian/php-http-request/usr/share/php/HTTP/Request.php > php debian/php-http-request/usr/share/php/HTTP/Request/Listener.php > > doc debian/php-http-request/usr/share/php/docs/HTTP_Request/docs/example.php > > doc debian/php-http-request/usr/share/php/docs/HTTP_Request/docs/download- > progress.php > > You will either get something resembling the above or a message to the > effect > that HTTP_Request is not installed. > > k. > > > -- > Ken Guest > Mobile: +353 86 8252 141 http://blogs.linux.ie/kenguest/ > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.2.2 (GNU/Linux) > > iD8DBQFHB0fdigdNTD9+4fIRAuqCAJ0Q7lzIx30l8CfEVZBKcs9mLmHNHgCgnb+b > hn6YkJ8Fer0QgWCkXrVTKqM= > =HY0U > -----END PGP SIGNATURE----- > > -- It is from the wellspring of our despair and the places that we are broken that we come to repair the world. -- Murray Waas

« previous php.pear.general (#28060) next »