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
SBS 2003 slow logon and shared file access
Internal communication of VirtualPC 2007
Installing WSS3 on Small Business Server 2003
Need excel formula
Issues with Outlook meeting requests updating across all attendees.
sysjobs and what it covers
set facebook image for link
XP Crash Recovery
Visual FoxPro OLE DB Data Provider Problems
Extract output from string