Upload main.php