Pages

Saturday, 19 January 2013

PHP Tunnel


When use PHP Tunnel?

PHP Tunel can be used, when you have web server, which can run PHP scripts and can reach database, which is not visible from remote machines.

How to setup PHP tunnel

Choose menu command File > Connect, select "PHP Tunnel" a type connection name. After confirming window you should see wizard with PHP tunnel properties.

Basic settings

  • Select "Save phptunnel.php", recomended file name is phptunnel.php. Upload this file to web server.
  • Into URL field fill URL of upload PHP file with protocol, eg. http://myweb.com/phptunnel.php . You can check this URL in browser.
  • Into server field fill address of database server, which is ised in PHP scripts, eg. localhost or 127.0.0.1 .
  • Go to next wizard page. If previous settings is not correct, this step fails.
  • Login name and password - is to database server.
  • You can select database, then you will be able to work only with this database. If you have right only to one database, it could be neccessary to fill database field manually.

Advanced settings

In this group HTTP Login/password and proxy can be configured
  • Authentization - Login, Password - HTTP authentization user name, passwor
  • HTTP Proxy - Server - proxy server address, in format http://proxy.cz:port , if you leave this field blank, proxy server from your default should be used
  • HTTP Proxy - Login, Password - HTTP proxy user name, password
That's all, pres OK and enjoy. (If you don't see anything, try Refresh in context menu of tree root).

from http://www.datadmin.com/manual/phptunnel-en.html