Posted by Jerry Stuckle on 06/25/05 04:50
bettina@coaster.ch wrote:
> The DB is unter MySql/Data on my local server and I send the php doc to
> my webserver to test. How can I test local? Where should I save the php
> doc?
>
You need to run the php script on the machine on which the database
resides. This means either creating the database on your server, or
installing a web server on your system to test.
"localhost" always refers to the machine on which the script or program
is running. Since PHP runs on the server, it refers to the server.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|