找回密码
 注册
【阿里云】2核2G云新老同享 99元/年,续费同价华为云精选云产品特惠做网站就用糖果主机Jtti,新加坡服务器,美国服务器,香港服务器
查看: 1030|回复: 2

我是一个php菜鸟,帮忙看一下这代码有什么问题,有赏

[复制链接]
发表于 2011 年 9 月 10 日 22:26:47 | 显示全部楼层 |阅读模式
悬赏3兑换券未解决
本帖最后由 Jonnes 于 2011-9-10 23:00 编辑
  1. <?php

  2. $signup_id = "$_POST['signup_id']";
  3. $_ci_first_name = "$_POST[_ci_first_name]";
  4. $_ci_last_name = "$_POST[_ci_last_name]";
  5. $_ci_company = "$_POST[_ci_company]";
  6. $_ci_address1 = "$_POST[_ci_address1]";
  7. $_ci_address2 = "$_POST[_ci_address2]";
  8. $_ci_city = "$_POST[_ci_city]";
  9. $_ci_state = "$_POST[_ci_state]";
  10. $_ci_state2 = "$_POST[_ci_state2]";
  11. $_ci_country = "$_POST[_ci_country]";
  12. $_ci_postal_code = "$_POST[_ci_postal_code]";
  13. $_ci_phone = "$_POST[_ci_phone]";
  14. $_ci_email = "$_POST[_ci_email]";
  15. $_mod = "$_POST[_mod]";
  16. $login = "$_POST[login]";
  17. $password = "$_POST[password]";
  18. $password2 = "$_POST[password2]";
  19. $_eul_accept = "$_POST[_eul_accept]";
  20. $type_domain = "$_POST[type_domain]";
  21. $plan_id = "$_POST[plan_id]";
  22. $action = "$_POST[action]";
  23. $signup = "$_POST[signup]";

  24. var_dump(filter_var($_ci_email,FILTER_SANITIZE_EMAIL));

  25. echo "<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  26. <input type="hidden" name="cmd" value="_xclick">
  27. <input type="hidden" name="business" value="t_om_2009@yeah.net">
  28. <input type="hidden" name="item_name" VALUE="Payment">
  29. Plan & Time:<br /><input type="radio" name="amount" value="1"/>Linux-A(1 Month)
  30. <br /><input type="radio" name="amount" value="3"/>Linux-A(3 Month)
  31. <br /><input type="radio" name="amount" value="6"/>Linux-A(6 Month)
  32. <br /><input type="radio" name="amount" value="12"/>Linux-A(1 Year)
  33. <br /><input type="radio" name="amount" value="2"/>Linux-B(1 Month)
  34. <br /><input type="radio" name="amount" value="6"/>Linux-B(3 Month)
  35. <br /><input type="radio" name="amount" value="12"/>Linux-B(6 Month)
  36. <br /><input type="radio" name="amount" value="24"/>Linux-B(1 Year)
  37. <br /><input type="radio" name="amount" value="5"/>Linux-C(1 Month)
  38. <br /><input type="radio" name="amount" value="15"/>Linux-C(3 Month)
  39. <br /><input type="radio" name="amount" value="24"/>Linux-C(6 Month)
  40. <br /><input type="radio" name="amount" value="33"/>Linux-C(1 Year)
  41. <br /><input type="radio" name="amount" value="8"/>Linux-D(1 Month)
  42. <br /><input type="radio" name="amount" value="24"/>Linux-D(3 Month)
  43. <br /><input type="radio" name="amount" value="48"/>Linux-D(6 Month)
  44. <br /><input type="radio" name="amount" value="96"/>Linux-D(1 Year)
  45. <br /><input type="radio" name="amount" value="11"/>Linux-E(1 Month)
  46. <br /><input type="radio" name="amount" value="33"/>Linux-E(3 Month)
  47. <br /><input type="radio" name="amount" value="66"/>Linux-E(6 Month)
  48. <br /><input type="radio" name="amount" value="132"/>Linux-E(1 Year)
  49. <br /><input type="radio" name="amount" value="2"/>Windows-A(1 Month)
  50. <br /><input type="radio" name="amount" value="6"/>Windows-A(3 Month)
  51. <br /><input type="radio" name="amount" value="12"/>Windows-A(6 Month)
  52. <br /><input type="radio" name="amount" value="24"/>Windows-A(1 Year)
  53. <br /><input type="radio" name="amount" value="3"/>Windows-B(1 Month)
  54. <br /><input type="radio" name="amount" value="9"/>Windows-B(3 Month)
  55. <br /><input type="radio" name="amount" value="18"/>Windows-B(6 Month)
  56. <br /><input type="radio" name="amount" value="36"/>Windows-B(1 Year)
  57. <br /><input type="radio" name="amount" value="10"/>Windows-C(1 Month)
  58. <br /><input type="radio" name="amount" value="30"/>Windows-C(3 Month)
  59. <br /><input type="radio" name="amount" value="60"/>Windows-C(6 Month)
  60. <br /><input type="radio" name="amount" value="120"/>Windows-C(1 Year)
  61. <br /><input type="radio" name="amount" value="18"/>Windows-D(1 Month)
  62. <br /><input type="radio" name="amount" value="48"/>Windows-D(3 Month)
  63. <br /><input type="radio" name="amount" value="96"/>Windows-D(6 Month)
  64. <br /><input type="radio" name="amount" value="192"/>Windows-D(1 Year)
  65. <br /><input type="radio" name="amount" value="23"/>Windows-E(1 Month)
  66. <br /><input type="radio" name="amount" value="69"/>Windows-E(3 Month)
  67. <br /><input type="radio" name="amount" value="138"/>Windows-E(6 Month)
  68. <br /><input type="radio" name="amount" value="276"/>Windows-E(1 Year)
  69. <input type="hidden" name="no_note" value="1">
  70. <input type="hidden" name="currency_code" value="CNY">
  71. <input type="hidden" name="return" value="http://199.127.218.177/psoft/servlet/psoft.hsphere.CP?template_name=submit/signup/end.sbm&signup_id=$signup_id&_ci_state=$_ci_state&_ci_email=$_ci_email&_ci_first_name=$_ci_first_name&_ci_postal_code=$_ci_postal_code&_ci_phone=$_ci_phone&password=$password&_mod=$_mod&_ci_company=$_ci_company&_eul_accept=$_eul_accept&type_domain=$type_domain&plan_id=$plan_id&signup_id=$signup_id&_ci_address2=$_ci_address2&password2=$password2&_ci_city=$_ci_city&_ci_state2=$_ci_state2&_ci_last_name=$_ci_last_name&action=$action&login=$login&_ci_address1=$_ci_address1&_ci_country=$_ci_country&signup=$signup" >
  72. <input TYPE="Submit" VALUE="Submit" style="width: 200px;" >
  73. </form>"
  74. ?>

  75. ?>
复制代码

Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
发表于 2011 年 9 月 10 日 22:44:24 | 显示全部楼层
【腾讯云】2核2G云服务器新老同享 99元/年,续费同价
echo " 内容 ";

里面的内容中的“ 应该改为 '

里面的内容中的 双引号 应该改为 单引号
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

发表于 2012 年 4 月 28 日 23:44:20 | 显示全部楼层
默默等等楼下的回复,呵呵
Jgwy.Com - Free Web Hosting Guide & Directory In China since 2001! Jgwy.Net-Jglt.Net
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|金光论坛

GMT+8, 2024 年 11 月 18 日 02:29 , Processed in 0.117405 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表