码迷,mamicode.com
首页 > 其他好文 > 详细

CI 自动提交表单

时间:2014-08-15 17:23:59      阅读:188      评论:0      收藏:0      [点我收藏+]

标签:des   http   os   io   for   ar   cti   html   

//coontrol

 $this->load->view ( ‘/‘ . $this->index_lang [‘FOLDER‘] . ‘/eprepag_form.php‘, $params);

 

//view 

//eprepag_form.php

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>eprepag</title>

<script>

</script>


</head>
<body onload="document.billing.submit()">
<form name="billing" id="billing" action="<?php echo $form_url?>" method="post" >
<input type="hidden" name="store_id" id = "store_id" value="<?php echo $store_id ?>">
<input type="hidden" name="currency_code" id = "currency_code" value="<?php echo $currency_code?>">
<input type="hidden" name="order_id" id="order_id" value="<?php echo $order_id?>">
<input type="hidden" name="order_description" id="order_description" value="<?php echo $order_description?>">
<input type="hidden" name="amount" id="amount" value="<?php echo $amount?>">
<input type="hidden" name="product_id" id="product_id" value="<?php echo $product_id?>">
<input type="hidden" name="client_id" id="client_id" value="<?php echo $client_id ?>">
<input type="hidden" name="client_email" id="client_email" value="<?php echo $client_email?>">
</form>
</body>>
</html>

CI 自动提交表单,布布扣,bubuko.com

CI 自动提交表单

标签:des   http   os   io   for   ar   cti   html   

原文地址:http://www.cnblogs.com/barfoo/p/3915196.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!