Microsoft
Software
Hardware
Network
Question : PHP Pass Parameters to Online Activation Page
Currently I have users go to a web page to activate my product. I would like instead to have them push a button in VB.NET and the program will connect to the web and activate automatically. So I need to figure out how to pass parameters "installation ID" and "Email Address" to a PHP web page. This is part of the PHP code on the web:
...
<title> Activation Code</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="frmcode" method="post" action="">
<table align="center" cellpadding="2" cellspacing="2" width="50%" >
<tr>
<td colspan="2" align="center"><strong>Gen
erate Activation Code</strong> </td>
</tr>
<tr>
<td colspan="2" align="center"><?=$error ; ?></td>
</tr>
<tr>
<td>Installation ID:</td>
<td><input type="text" name="instid" style="width:200px;" value="<?=$instid ; ?>" > </td>
</tr>
<tr>
<td>Your Email:</td>
<td><input type="text" name="email" style="width:200px;" value="<?=$email ; ?>" > </td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="action" value="Submit" > </td>
</tr>
</table>
</form>
</body>
</html>
Answer : PHP Pass Parameters to Online Activation Page
POST method that your using is the best way to do it, you can use the GET function that means that all the values will show up in the link in the browser address bar.
You could also use sessions or cookies to pass the values if you wanted also.
Random Solutions
Earliest Date of Balance Change for Multiple ID's
basic integration question
Is it normal to get Java errors during Oracle 11g installation
Cisco 2811 and ASA 5505 pass /29 to the ASA
compare to exel sheets
QR-codes
insert and update in same statement
visual studio 10 generate class from xml
Adding a Print button to a word document
Upgrading Group Policy To Work With Windows 7 Clients Using Windows Server 2003.