I'm not quite sure I know how to ask this question properly.. but here goes nothin. I'm using PHP files to query data from a MYSQL database. In Xcode, I use NSJSONSerialization and grab the info. The PHP files need to be on the host's computer where the database is.
Question: Is there any way to put the PHP files in the iOS Project's directory so I don't have to manually put the PHP files on every host computer's database location that I connect with?
Below is just an example from my PHP file that I use to connect to MYSQL, query and such.
$mysqli = new mysqli("localhost", "root", $_REQUEST['password'], $_REQUEST['db']);
$moneyFormat = "0.00";
$moneyChar = "$";
if ($mysqli->connect_errno) {
echo "Failed to connect to DB.";
die();
} else {
if ($_REQUEST['type'] == "basic") {
    $includeTaxes = false;
    $netSales = 0;
    $voidSales = 0;
    $discountSales = 0;
    $guestCount = 0;
    $loggedIn = 0;
    $res = $mysqli->query("SELECT MoneyEXCH, include_taxes FROM it_tcompany");
    $res->data_seek(0);
    $row = $res->fetch_assoc();
    if ($row['include_taxes'] == "0") { $includeTaxes = false; } else { $includeTaxes = true; }
    $moneyExch = $row['MoneyEXCH'];