dreamfly2016 2012-11-01 15:05
浏览 8
已采纳

检查外部网站注册码

I would like to create simple serial key checker but it needs to be checked on other domain

At www.my_site_1.com

Form code

<form action="install.php" method="post">
Serial : <input type="text" name="serial" id="serial">
<input type="submit" value="Install">
</form>

I think i need to use parsing to get the results from check.php so any informations how to do it. ~ thanks

  • 写回答

1条回答 默认 最新

  • douque8861 2012-11-01 15:10
    关注

    You should be able to set the POST/GET URL in the action property and pass the serial directly to check.php. In your case, you want to send a GET variable I assume.

    install.php shold look like:

    <form action="http://my_site_2.com/check.php" method="GET">
    Serial : <input type="text" name="serial" id="serial">
    <input type="submit" value="Install">
    </form>
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?