The only way I want to run the script is after they purchase a product (which would be coming from a different secure site), or sign in as a member (locally on the server), clicking a link(from anywhere), etc.
I am not new to HTML or programming logic, just Perl, and WebScripting...So any help would be appreciated...
Both from a 'https' secure server so I am unable to use 'document.referrer'...I want the customer to not be bothered with intrusive tactics just to use my services.
Chris B.
[edited by: jatar_k at 4:01 pm (utc) on Aug. 16, 2004]
[edit reason] no sigs thanks [/edit]
You can make a link use a POST request with a little creative JavaScript, by setting up a form and having the link activate a JavaScript function that submits the form to your script.
Sample Perl code:
[pre]
if ($ENV{'REQUEST_METHOD'} ne 'POST') {
print 'Content-type: text/html\n\n';
print 'Access Denied';
exit;
}
[/pre]