https:// wrapper is disabled in the server configuration by allow_url_fopen=0 code example

Example: warning: include(): https:// wrapper is disabled in the server configuration by allow_url_include=0 in

From the PHP docs on include:

If "URL include wrappers" are enabled in PHP, you can specify the file to be included using a URL (via HTTP or other supported wrapper - see Supported Protocols and Wrappers for a list of protocols) instead of a local pathname. If the target server interprets the target file as PHP code, variables may be passed to the included file using a URL request string as used with HTTP GET. This is not strictly speaking the same thing as including the file and having it inherit the parent file's variable scope; the script is actually being run on the remote server and the result is then being included into the local script.

By obvious inference, you are supposed to use a local pathname!

Change this line

<?php include("http://localhost/ubergallery/multiple_image_upload/upload.php"); ?>
to this

<?php include($_SERVER['DOCUMENT_ROOT']."/ubergallery/multiple_image_upload/upload.php"); ?>
The reason that allow_url_include=On doesn't work is because you probably didn't restart your Apache server after changing your php.ini

Tags:

Misc Example