Generating full url for upload.php.