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
mailto isn't working on my image map??
Need to lock down SMTP traffic - Urgent!
How do I uninstall Symantec Backup Exec 11d in Windows Server 2003??
Visual Studio .NET build error but website works fine, problem with included script with VB
Tables within a form
compare two colums and extract the data to a new sheet excel 2007
iPod Touch disabled due to lost password
Concatenate word and the memo field on the report
authexec, authqry, authrpt and rbac
USBs-Windows can't stop your 'Generic volume' device because a progam is still using it. Close any programs blabla..Fix?