Created
August 28, 2019 14:10
-
-
Save mickmon/f71fea5660d2deb75651a487410ca69b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
// must match the main HTML file | |
$dest = "xrb_1ytjfqxmz5zabt39qxcz3nphabstegddqqbhjgau13stfxz6fq7rkmceih7i"; | |
$files = [ | |
"item-1" => [ | |
"name" => "Random File text", | |
"file-name" => "Jupiter.mp3", //the file name the user will see | |
"file-path" => "/public_html/random-file.mp3", //hidden file, keep the name difficult to guess! Won't be shown to the user. (Recommended to have a subdirectory) | |
"price" => 0.01, // price in USD (must match what the user is paying in the main HTML file), | |
"description" => "Buy an MP3" | |
], | |
"image-1" => [ | |
"name" => "Random Image", | |
"file-name" => "my-donald-image.jpg", | |
"file-path" => "donald.jpg", | |
"price" => 0.01 | |
] | |
]; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment