I am looking for a script that when a user types a web address like www.website.com/page.php?user=aperson@aol.com , the program will open a .txt file on my server, make sure that email address contained in the web address is in the text file and if it is, that email address will be put into a PayPal link button on the page.
The PayPal link script is as follows:
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="EMAIL_GOES_HERE@EMAIL.com">
<input type="hidden" name="item_name" value="Payment">
<input type="hidden" name="item_number" value="DBP">
<input type="hidden" name="amount" value="5.00">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="return" value="http://www.campingnation.com/success.html">
<input type="hidden" name="cancel_return" value="http://www.campingnation.com/cancel.html">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="USD">
<input type="image" src="https://www.paypal.com/images/x-click-but6.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
</form>
The only thing that needs to be changed in where is says
EMAIL_GOES_HERE@EMAIL.com
Thanks!!!