RE: [PHP] Re: Making a Client-side HTTPS Request

2002-05-07 Thread .ben

 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.

If you want to do CLEINT-side HTTP requests i think you can use the
MSXML-HTTP object within JS, but only if the objects are installed, and this
may only be avail inside IE5.5

However, if you want to do it on the server you can do it using sockets.

someone helped me with this a month or so ago, mail me for the code.

 .b


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Jonathan Rosenberg

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:[EMAIL PROTECTED]]
 Sent: Monday, May 06, 2002 1:19 PM
 To: Jonathan Rosenberg
 Cc: [EMAIL PROTECTED]
 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




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Austin Marshall

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:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 1:19 PM
To: Jonathan Rosenberg
Cc: [EMAIL PROTECTED]
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


 
 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Jonathan Rosenberg

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:[EMAIL PROTECTED]]
 Sent: Monday, May 06, 2002 1:35 PM
 To: Jonathan Rosenberg
 Cc: [EMAIL PROTECTED]
 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:[EMAIL PROTECTED]]
 Sent: Monday, May 06, 2002 1:19 PM
 To: Jonathan Rosenberg
 Cc: [EMAIL PROTECTED]
 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
 
 
 
 






-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Making a Client-side HTTPS Request

2002-05-06 Thread Austin Marshall

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:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 1:35 PM
To: Jonathan Rosenberg
Cc: [EMAIL PROTECTED]
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:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 1:19 PM
To: Jonathan Rosenberg
Cc: [EMAIL PROTECTED]
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







 




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php