Date: 02/29/00
- Next message: Jason Cox: "[PHP3] Bar Graphs with GD v1.3"
- Previous message: Howard Ha: "[PHP3] RE: [PHPLIB] Extending user_auth table or creating a new table"
- In reply to: Michael Stearne: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Next in thread: Rasmus Lerdorf: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Reply: Rasmus Lerdorf: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Reply: Michael Stearne: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello
Michael Stearne wrote:
>
> You can use the fopen function to open a remote url. Does cc processor need to
> have a POST request? If not, you could use :
> $fp = fopen("http://www.php.net/ccCheck.html?var1=$var1&name=$var2", "r");
>
> Michael
Thanks, that is interesting, will keep it in mind for the future, but
no, unfortuatly the card proccessor requires the that data arrive a
"method=post".
Bill also suggested "virutal()", but again, how to "post" veriables?
also is virtual good for off-server sub-requests? or just local
on-same-server sub-requests?
Thanks for the help, other ideas?
Terry
>
> Terry Mackintosh wrote:
>
> > Hello
> >
> > I've read the manual/docs/faq and find no mention of this, but it seems
> > it should be some thing that PHP can do?
> >
> > Problem:
> >
> > Our shopping cart (PHP3/PostgreSQL) needs to pretend to be a web client
> > (browser) and
> > make a "post" request to a credit card processing company, get the data
> > back, then finish building it's own page.
> >
> > That is, how do I launch an outgoing web connection, retrive the data,
> > and use that data to build a new page?
-- Terry Mackintosh <terry <email protected>> http://www.terrym.com sysadmin/owner http://www.shell-connection.com Proudly powered by R H Linux, Apache, PHP, PostgreSQL "If you don't know where you are going, how can you get there?"-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Jason Cox: "[PHP3] Bar Graphs with GD v1.3"
- Previous message: Howard Ha: "[PHP3] RE: [PHPLIB] Extending user_auth table or creating a new table"
- In reply to: Michael Stearne: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Next in thread: Rasmus Lerdorf: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Reply: Rasmus Lerdorf: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Reply: Michael Stearne: "Re: [PHP3] re-posting? ( initiating a secondary web transaction from inside PHP3?)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

