b.m.2
02-24-2003, 05:48 PM
I'm touching a subject I'm not real familiar with. cURL
I need it to have a secure connection for a script I'm running but the host I'm using doesn't support shell access or cURL.
Does anyone know if there is a way to just get an outside cURL connection from a cURL service or something?
I've searched and can't seem to find what i'm looking for.
Thanks
gambitdis
02-24-2003, 07:28 PM
I don't know of another way of doing it. If you haven't already, request that your host includes it. We try to add things like that to our PHP install.
Also, one thing to consider. If you do have some service to get a URL securely, secure the transaction from you to that service. Otherwise the transaction will be unencrypted during part of the transfer.
Blades
02-24-2003, 07:57 PM
i'm not positive.... but i think you'll need a vpn set on both ends if you're sending and recieving sensetive data. if u r dealing with very sensitive data - i hope ur not on a share server. sw vpn is cheaper but slower - hw is faster but more $. i hope i'm not talking stupid again :eek:
Blades
thedavid
02-24-2003, 08:54 PM
Hello,
Curl comes in two forms that I'm aware of.
1) The command line driven form (what I assume your host does not allow)
2) Curl compiled into PHP
In both instances, curl can be SSL enabled just like a regular browser, so security isn't that much of an issue if your account on your host is secure. If this is a PHP script, you'll need to ask your host to compile it into php for it to work for you, or provide you with access to the command line one (some scripts will use either).
-David
RackNine
02-25-2003, 01:00 AM
PHP 4.2+ now natively supports SSL connections
open("https://services.racknine.com");
...
Sincerely,
-Matt