Re: Re: Making a Client-side HTTPS Request

From: Date: Mon, 06 May 2002 17:50:35 +0000
Subject: Re: Re: Making a Client-side HTTPS Request
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-96286@lists.php.net to get a copy of this message
Yeah, you can download and install it within your home directory and call it from there. As far as permissions go, "chmod a+x curl" should do it. Jonathan Rosenberg wrote:
AHhh ... got it. If my ISP won't install CURL & they don't have the application, can I download binaries to my directory & execute it from there using PHP? or, does the executable have to run with special permissions?
-----Original Message----- From: Austin Marshall [mailto:amars@pdq.net] Sent: Monday, May 06, 2002 1:35 PM To: Jonathan Rosenberg Cc: php-general@lists.php.net Subject: Re: [PHP] Re: Making a Client-side HTTPS Request What i meant was the actual curl application is installed on the server. Accessible from the command line at, for example, /usr/local/bin/curl With PHP you can execute commands via the command line via system(), exec() or via the backtick (for example $output=`/usr/local/bin/curl <request>`;) operator. You also might be able to load the extension via dl() and compile it on your own, but i wouldn't recommend that. First try the command line option, then ask your ISP to install then extension. Jonathan Rosenberg wrote:
I'm quite new to PHP (though I have lots of programming experience, web & otherwise). Where can I learn more about what "installed and
available from
the command line" means?
-----Original Message----- From: Austin Marshall [mailto:amars@pdq.net] Sent: Monday, May 06, 2002 1:19 PM To: Jonathan Rosenberg Cc: php-general@lists.php.net Subject: [PHP] Re: Making a Client-side HTTPS Request Jonathan Rosenberg wrote:
I would like to be able to make a client side HTTPS
request from
one of my pages. From searching around, I see that I can do everything I want using the CURL library. But the
ISP I am using
does not have the CURL library installed. I'll ask them if they'll install this library.
But, assuming
they don't, do I have any other options for doing
what I want?
-- JR
Even if they don't have it compiled into PHP, they might have curl installed and available from the command line. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#96286) next »