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 | |
# I ran this on a virtualized server, so accessing the filesystem directly wasn't a risk. | |
# I would not recommend this any other way. | |
$basedir = "/home/henryci/posttestserver.com/data/"; | |
$filedir = "/home/henryci/posttestserver.com/files/"; | |
# Enable CORS | |
header('Access-Control-Allow-Origin: *'); |