Computer Webmaster Gaming Console Graphics Forum

Welcome to the Computer Webmaster Gaming Console Graphics Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

MK PitStop Main Earn $25 Earn Money Posting Extras Members Blogs Image Hosting User Pages
Go Back   Computer Webmaster Gaming Console Graphics Forum > Webmaster Forum > Website Coding > PHP
Register FAQ/Rules Become A V.I.P. Member Search Today's Posts Mark Forums Read

PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help.

Google
Reply
 
LinkBack Thread Tools Display Modes
Old 07-01-2007, 2:11 PM   #1
William C. White
 
William C. White's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default PHP & Authorize.net w/o cURL?

Does anyone know of a way to use PHP /w Authorize.net AIM without using
cURL? Our website is hosted on a shared drive and the webhost company
doesn't installed additional software (such as cURL) on the server because
of that. Our site will have an SSL certificate next week, so I would like
to use AIM instead of SIM, however, I don't know how to send data via POST
over https and recieve data from the Authorize.net server over an https
connection. Does anyone have experience with this?
--
William C. White

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: PGP 8.0 - not licensed for commercial use: www.pgp.com
Comment: You really should protect your privacy!

mQGiBD3dmakRBAD1cyMfBtE9eINVv4DcFI7cxp+ou6Y/8WqgZxZNtk2QWUeT9gs1
iCgAsmAw1841AFXcg677dZowJT8IBDadf82o8DLNYymHqcUANv T0hSyweEx7dMfz
Az1e61+ufIxWMKkle4IPaGajCzb6Ox47fBvEwYZAEwV3/x7ghOuUX6KPlQCg/wOZ
RbNGxPu3NBDgQ84FDbeZoCMD/2m8nPCJD+6DFlC9vyzxvHEaZE403gCG3FEQgRfW
AqM4PLLDs7tKcvYIpwQf0SCuUTwZIUBpmm5as6j28GO/D1STVBwI7jFt5Dpu323z
XBA5hhI02boRwf0zf8ELg7OSGqgAqC/ZRQnGIHtzqbNDJ/ker1qdo4Mxzwun1Iwr
bHQwA/9PVQWJU9mlvRaGPg/LxFkk6dXUuhPTc9R2n/2YENwLXgEb8WxiCW5hBSyz
lzlUqPwIoc0vyXXMHOjbbCgJp9kfaGI2SHTeV9GKTxh33G1dVU 0Mk5DUbzcWeK2X
Hu6b9YfbHl/EhDG1Wi4NjQkfNWjzXEadYfe4isDmKX1q+QBahLQoV2lsbGlhb SBD
dXJ0aXMgV2hpdGUgPHUyaWxsQGhvdG1haWwuY29tPokAWAQQEQ IAGAUCPd2ZqQgL
CQgHAwIBCgIZAQUbAwAAAAAKCRBCYmJsMyLtl+c/AKCrXj73n8Ss5P7RJq4K2N5R
I8qluwCfTdUGTebngPHGAFnlXZY2FBt7oWO0K1dpbGxpYW0gQ3 VydGlzIFdoaXRl
IDx3d2hpdGVAY2hhbWluY


 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Advertisements
Old 07-01-2007, 2:11 PM   #2
R. Rajesh Jeba Anbiah
 
R. Rajesh Jeba Anbiah's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default PHP & Authorize.net w/o cURL?

Jon Kraft <jon@jonux.co.uk> wrote in message news:<Xns93A46BADADBE7jonjonuxcouk@130.133.1.4>...
> "William C. White" <u2ill@hotmail.com> wrote:
>
> > Does anyone know of a way to use PHP /w Authorize.net AIM without
> > using cURL? Our website is hosted on a shared drive and the webhost
> > company doesn't installed additional software (such as cURL) on the
> > server because of that. Our site will have an SSL certificate next
> > week, so I would like to use AIM instead of SIM, however, I don't know
> > how to send data via POST over https and recieve data from the
> > Authorize.net server over an https connection. Does anyone have
> > experience with this?

>
> You could use fsockopen (search for "POST" in the User Contributed Notes):
> http://uk.php.net/fsockopen


AFAIK, you cannot post data via fsockopen() to https server...

---
"If there is a God, he must be a sadist"
Email: rrjanbiah-at-Y!com
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 2:11 PM   #3
Jon Kraft
 
Jon Kraft's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default PHP & Authorize.net w/o cURL?

ng4rrjanbiah@rediffmail.com (R. Rajesh Jeba Anbiah) wrote:
> Jon Kraft <jon@jonux.co.uk> wrote:
>>
>> You could use fsockopen (search for "POST" in the User Contributed
>> Notes): http://uk.php.net/fsockopen

>
> AFAIK, you cannot post data via fsockopen() to https server...


Since v4.3 there are different stream transports available (tcp, udp,
ssl..). If PHP is built with OpenSSL, you can use them, e.g.:

$fs = fsockopen("ssl://www.secureserver.com", 443);

http://uk.php.net/manual/en/transports.php

HTH;
JOn
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Old 07-01-2007, 2:13 PM   #4
R. Rajesh Jeba Anbiah
 
R. Rajesh Jeba Anbiah's Avatar
 
Posts: n/a
My Photos: (0)

Banked:
MK Cash: $

I am Worth:
MK Cash: $
Donate

Recent Blog: None

Default PHP & Authorize.net w/o cURL?

Jon Kraft <jon@jonux.co.uk> wrote in message news:<Xns93A563A3B8E73jonjonuxcouk@130.133.1.4>...
> ng4rrjanbiah@rediffmail.com (R. Rajesh Jeba Anbiah) wrote:
>
> > Jon Kraft <jon@jonux.co.uk> wrote:
> >> ng4rrjanbiah@rediffmail.com (R. Rajesh Jeba Anbiah) wrote:
> >> > Jon Kraft <jon@jonux.co.uk> wrote:
> >> >>
> >> >> You could use fsockopen (search for "POST" in the User Contributed
> >> >> Notes): http://uk.php.net/fsockopen
> >> >
> >> > AFAIK, you cannot post data via fsockopen() to https server...
> >>
> >> Since v4.3 there are different stream transports available (tcp, udp,
> >> ssl..). If PHP is built with OpenSSL, you can use them, e.g.:

> >
> > I see...
> >
> >> $fs = fsockopen("ssl://www.secureserver.com", 443);
> >>
> >> http://uk.php.net/manual/en/transports.php

> >
> > This manual page is not clear to me especially the "Table J-1.
> > Context options for ssl:// and tls:// transports (since PHP 4.3.2)"
> > There is no information about where to use the parameters like
> > "verify_peer". If you know more about the stuff, you may add some
> > useful user notes there---that will be really helpful to others.

>
> I don't know, that stuff seems relatively new,


Yes. When I moved to PHP 4.3.1, I've looked at the changelog
which said fsockopen() can handle ssl://. I tried a lot, but it failed
--- I think, I've used a wrong port.

> but I should think you'd
> use them as additional directives in php.ini? Someone?



> PS: On this page is an example of posting to a secure server (Example 2):
> http://uk.php.net/manual/en/ref.stream.php


Thanks for pointing me this page. Nice example, but no info
about "certificates", "verify peer" stuffs.

I feel, cURL is so handy than this fsockopen() version.

---
"We live to die; we die to live"
Email: rrjanbiah-at-Y!com
 
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!
Reply With Quote
Featured Websites
Free Space
Free Space
Free Space Free Space
Reply
Tags: , ,




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
The page curl effect on Spotfire.com Quick Function Graphics in general 4 06-11-2007 7:04 PM
Adboe, Forbes, and page curl Vizros Plug-ins Graphics in general 1 05-31-2007 5:40 PM
Is this possible? Login to remote site using cURL, then pass credentials to browser. JDS PHP 1 05-20-2007 5:33 PM


Featured Websites




All times are GMT +1. The time now is 10:56 PM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0
Cheap Computers
MK PitStop Copyright 2005 - 2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98