From: matt d. <mm_...@ya...> - 2009-12-24 14:35:24
|
I believe this works if you have openssl module loaded in Apache (and you should) and the URL you post to is HTTPS? The server should handle the details. Matt ________________________________ From: Richard Lynch <ce...@l-...> To: Chicago PHP User Group <chi...@li...> Sent: Thu, December 24, 2009 12:36:18 AM Subject: Re: [chiPHPug-discuss] PHP advanced question That can do a POST, but it isn't using SSL, so any data transmitted in that connection is in plain text on the wire. That may be okay, depending on what is being sent in that initial exchange, if the user ends up on an SSL page before they put in anything sensitive. But I'd be a bit leery that anybody snooping would be able to snoop out the beginning of your eCommerce Process, and possibly forge requests on your behalf or learn a bit too much about how your site handles the money/fulfillment. On Wed, December 23, 2009 1:20 pm, matt donohue wrote: > Use 'header' function: > http://www.php.net/manual/en/function.header.php#89447 > > > > > ________________________________ > Fror funtion:y headem: Lennie Jarratt <lja...@gm...> > To: chi...@li... > Sent: Wed, December 23, 2009 12:47:24 PM > Subject: [chiPHPug-discuss] PHP advanced question > > I need to do the following and not sure how to get it done. > > 1. Fill in form (submit) > 2. Gather the data and store it into my database (This is not a > problem) > 3. Build a custom URL string based on the form > 4. Post the new data to a https form on another site for CC entry > and > validation > > I have tried a meta redirect (has to be a post so this is not an > option). > > Tried using CURL which gives me page one on the CC site, but when I > hit > submit on that page it tries to find a local page and the not CC site > on the > other server. > > Is there a way in PHP to just do a form post submit to the secure URL? > > Thanks in advance > > Lennie > -- > Office: 847-548-4562 > Mobile: 847-302-3985 > > Twitter: http://twitter.com/ljarratt > Facebook: http://www.facebook.com/people/Lennie_Jarratt/1182350486 > > "The necessity of the times, more than ever, calls for our utmost > circumspection, deliberation, fortitude, and perseverance." - Samuel > Adams > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast > and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > ------------------------------------------------------------------------------ > This SF.Net email is sponsored by the Verizon Developer Community > Take advantage of Verizon's best-in-class app development support > A streamlined, 14 day to market process makes app distribution fast > and easy > Join now and get one step closer to millions of Verizon customers > http://p.sf.net/sfu/verizon-dev2dev > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ chiPHPug-discuss mailing list chi...@li... https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss |