How to send POST variables to External URL ?
问题 I'm making a shopping cart. I would like to save the order before going to the payment gateway. My payment gateway requires me to send a POST to external address but not how to do it from a controller action. public function executeBuy(sfWebRequest $request) { sfProjectConfiguration::getActive()->loadHelpers('Url'); // save the order $this->order = new Order(); $this->save //etc.... //go to TPV Payment gateway $dsAmount = (float)$order->getPriceWithShipping() * 100; $dsOrder = (int)$order-