Created
October 16, 2015 10:02
-
-
Save oaltman/7dba47cd490491b29422 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine on | |
RewriteRule ^([0-9]+)/(.*)$ index.php?castka=$1&msg=$2 [L] | |
RewriteRule ^([0-9]+)$ index.php?castka=$1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$message = $_GET['msg'] ? $_GET['msg'] : ""; | |
$castka = $_GET['castka']; | |
header('Content-Type: image/png'); | |
echo file_get_contents("https://api.paylibo.com/paylibo/generator/czech/image?compress=false&size=250&accountNumber=1425870014&bankCode=3030&amount=".$castka."¤cy=CZK&branding=false&message=".$message); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment