Exported latest revision from sourceforge cvs, discarding history.

This commit is contained in:
Jason Rohrer
2017-10-11 13:16:19 -07:00
parent 9c297bbe8b
commit cc3108fe85
1304 changed files with 79564 additions and 2 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
$price = "0.00";
if( isset( $_REQUEST[ "price" ] ) ) {
$price = $_REQUEST[ "price" ];
}
$priceInCents = round( 100 * $price );
$referrer = "";
if( isset( $_REQUEST[ "referrer" ] ) ) {
// pass it through without a regex filter
// because we can't control its safety in the end anyway
// (user can just edit URL sent to FastSpring).
$referrer = urlencode( $_REQUEST[ "referrer" ] );
}
header( "Location:https://sites.fastspring.com/jasonrohrer/instant/sleepisdeathticket?referrer=$referrer&tags=price_amount=$priceInCents");
?>