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
CISCO 5505 Firewall Dashboard Access Rules Out of Sync Errors
WMI and SqlServerWriter under VSS writers both have issues, why do they always fail?
Why does my onsubmit="Validate_Submit(
)" still submit despite failing validation?
Exchange 2007 Autodiscover errors 1004 1005
How to set Combobox and Textbox to ReadOnly?
identify Apache config directive
Formatting hard drive on a Mac
Dsiable SBS 2008 / Outlook 2007 Auto Account Confiuration
Could anyone provide me some guidance for the installation of VMWare View?
What are the disadvantages between accessing a network share through my network places and through a mapped drive?