Testing server in Dreamweaver - How do I test a php/mysql page against a remote database?
nanimo22 asked:
My MySql databases reside in a remote university server. I want to test my php/mysql pages in DW before I put them up on my web space. The programme asks me to define a testing server. What is this?
Comments on Testing server in Dreamweaver - How do I test a php/mysql page against a remote database?
September 18, 2008
GarDz @ 11:58 pm
You won’t be able to test something with server side code unless you are using a live server, you can test it locally using something like apache.
September 21, 2008
tj @ 4:51 pm
I’m not familiar with Dreamweaver but I would suspect that you would need a web server with php running locally to be able to use the test feature.
But you may want to check these links which may help you:
September 24, 2008
richarddunne1971 @ 1:03 pm
As long as you have access rights to any server and residing database, you can execute any php script on that connection. It is basically asking for the host-name, username and password to connect to the server.
September 25, 2008
Colanth @ 12:15 pm
If the database is accessible from outside the computer it resides on, just use its IP address to connect to it. (I almost never put a database on the same computer as a web site or other program that uses it.)
A testing server can be the real server (in which case you don’t define it) or you can have another server that you use for testing purposes, so that the public doesn’t see all your bugs as you create them. (My left knee is currently leaning against my “testing server”, a little Acer box I run LAMPP on.)
Comments on Testing server in Dreamweaver - How do I test a php/mysql page against a remote database?
You won’t be able to test something with server side code unless you are using a live server, you can test it locally using something like apache.
I’m not familiar with Dreamweaver but I would suspect that you would need a web server with php running locally to be able to use the test feature.
But you may want to check these links which may help you:
As long as you have access rights to any server and residing database, you can execute any php script on that connection. It is basically asking for the host-name, username and password to connect to the server.
If the database is accessible from outside the computer it resides on, just use its IP address to connect to it. (I almost never put a database on the same computer as a web site or other program that uses it.)
A testing server can be the real server (in which case you don’t define it) or you can have another server that you use for testing purposes, so that the public doesn’t see all your bugs as you create them. (My left knee is currently leaning against my “testing server”, a little Acer box I run LAMPP on.)