PHP Classes
elePHPant
Icontem

Remote MySQL Query: Execute remote MySQL queries across the Web

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (6)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2007-08-26 (11 years ago) RSS 2.0 feedStarStarStarStar 75%Total: 4,693 All time: 583 This week: 422Up
Version License PHP version Categories
remotequery 1.0Freely Distributable5.0PHP 5, Databases, Web services
Description Author

Easily execute queries on a remote MySQL server using only HTTP.

It works by accessing a PHP script on the remote web server that executes queries based on passed in URL parameters.

The client passes a secret key to the remote script to prevent unauthorized access.

The remote script passes back the results to the requesting client using XML to marshal the data.

The class parses the results XML data returned by the server script and returns an array.

It, also, retrieves (into class variables) the number of records returned by the query and the time the query took to execute.

The server script may be used to execute MySQL queries that can be retrieved by programs written in other languages besides PHP.

Innovation Award
PHP Programming Innovation award nominee
July 2007
Number 5


Prize: One copy of the Zend Studio
Sometimes it is necessary to perform queries to databases that are in remote servers. However, firewall rules prevent accessing those databases from outside the network where the respective server machines are located.

This package provides a solution that circumvents that restriction. It uses a PHP script as a proxy in the same machine as the remote MySQL database server to perform remote queries via the Web.

This way the remote database can be queried by client scripts from remote machines. To use this solution, the client scripts can be in PHP or any other language.

Manuel Lemos
  Performance   Level  
Name: Jeff Williams <contact>
Classes: 6 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file remote_query_server.php Aux. Server file
Plain text file remotequery.class.php Class Client class
HTML file class_help.html Doc. Help for class
Accessible without login Plain text file example.php Example Example file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:4,693
This week:0
All time:583
This week:422Up
User Ratings User Comments (3)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:94%StarStarStarStarStar
Documentation:80%StarStarStarStarStar
Examples:83%StarStarStarStarStar
Tests:-
Videos:-
Overall:75%StarStarStarStar
Rank:119
 
Good job.
6 years ago (Tomasz Malewski)
80%StarStarStarStarStar
The package is beautiful and I love it.
8 years ago (Hans Cronander)
70%StarStarStarStar
Great documentation, great functions: guys who gave mad marks...
10 years ago (Gregory BABAR)
80%StarStarStarStarStar