Exported latest revision from sourceforge cvs, discarding history.
This commit is contained in:
@@ -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");
|
||||
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user