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
SQL Server stored procedure
Mix HTML and VB.NET
How can I preserve an array in vbs?
Multiple monitor issue using Citrix
Remove "Document] is reserved by [author] - Enter password to modify, or open read only" dialog in Word 2007
Saving and renaming a image file
Frame relay congestion
php pchart problem: pie graph with PIE_PERCENTAGE_LABEL
Active directory GPO templates
text to at&t cell phone from web