Re: Executing PHP files on remote web server
- From: "rdyornot" <rdyornot@xxxxxxxxxxxxx>
- Date: Sun, 31 May 2009 16:20:49 -0700
"Jerry Stuckle" <jstucklex@xxxxxxxxxxxxx> wrote in message
news:gvturi$bbk$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
rdyornot wrote:
The good news is we can access the web MySQL database directly from our
domain's web space. Is it possible to move a few of the PHP pages -- the
ones needed to do the inserts into the MySQL database -- to the web host
and point to those remote files in the PHP pages that remain on our own
web server? (From what I can see this needs to include a global
variables file besides the SQL insert scripts. The global variables
include SSI file paths, db name, user name, etc. that don't match on the
two web servers.) The result would be the PHP pages on the web host's
server executing the data insert statements into the web database. I
think I need to pass session variable values to the web host's server
from the session variables on our web server, but I'm a C and Java
programmer from way back, not a PHP programmer (until now!) and I don't
know if these remote operations can be done.
You should have the same security concern for your own MySQL database. You
say you don't want your customers accessing your network to get the data -
why are you leaving your MySQL database open for anyone to access? That
is MUCH MORE of a security concern! What's going to happen when someone
hacks it?
Thanks for the warning, but our MySQL database isn't accessible from the
Internet. We've set up firewalls. It's only accessible from authenticated
users with IP addresses on our network, including our web server. The web
server is also firewalled and only accessible from authenticated users with
IP addresses on our network. If a hacker breaks through the firewalls, then
we're in trouble.
The first thing you need to do is to hire a programmer to figure out what
you've got and then how to do it the right way.
There's no budget to hire another employee, even temporarily. We only have
two employees left who have any IT experience. I'm the Oracle and SQL
Server DBA, database developer, desktop app developer and part-time network
administrator/help desk operator -- and now I'm the MySQL DBA and web
developer, too.
Thanks for the advice.
.
- Follow-Ups:
- Re: Executing PHP files on remote web server
- From: Jerry Stuckle
- Re: Executing PHP files on remote web server
- References:
- Executing PHP files on remote web server
- From: rdyornot
- Re: Executing PHP files on remote web server
- From: Jerry Stuckle
- Executing PHP files on remote web server
- Prev by Date: Re: Executing PHP files on remote web server
- Next by Date: Re: Executing PHP files on remote web server
- Previous by thread: Re: Executing PHP files on remote web server
- Next by thread: Re: Executing PHP files on remote web server
- Index(es):
Relevant Pages
|