The project specs requires that I send some data to a remote server, where records based on the data that I send will be searched from a MySQL db, and returned to the caller. I developed a class that resides in the remote Web server with MySQL. The local php pages includes that class, sends the data via the member function of the class, and receive the result. The remote Web Server is Apache 2.2
But when I am trying to include the file with a
require_once ("http://www.remoteserver.com/Remote/Remoteclass.php");
I am getting the error: URL file-access is disabled in the server configuration. For the directory that has the file, I have specified "Allow from all" in the httpd.conf file.
How do I get access to the remote file ? I think this is most probably an Apache issue, but I am not sure what changes are required and where ? Do I have to specify anything in the php.ini file ? I have checked the "allow_url_fopen" setting in the php.ini file and it is set to on.