hi,
I've been trying to send data with HTTP.SubmitSecure, but no way.
Here is what I have:
1. I added an email adress field to the Verify Serial Number screen and assigned variable %Emailaddress%.
2. I added a script in Action > On Next after the existing script for serialnumber:
checkvars = {p="19", m="%emailaddress%"};
valid = HTTP.SubmitSecure("https://www.domain.com/test.php", checkvars, SUBMITWEB_POST, 20, 443, nil, nil);
if valid == "XXXXX" then
Dialog.Message("No valid license", "No valid license found. The application will exit now. Please contact Support!", MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
Application.Exit();
end
before the last END.
3. In the PHP script I am trying to get the POSTED table data with:
$checkvars = $_POST['checkvars'];
$p = $checkvars[p];
$m = $checkvars[m];
I've tried a zillion combinations but no way!
Can anybody shed a light on how to grab this 'table' data. Is it compatible with a PHP array or not? Tried that too.
I cannot find any sample of this anywhere.
I'm about to pull out my hairs, someone please help..
cheers
Villario

Reply With Quote
