Re: Executing PHP files on remote web server
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Sun, 31 May 2009 20:46:35 -0400
rdyornot wrote:
"Jerry Stuckle" <jstucklex@xxxxxxxxxxxxx> wrote in message news:gvturi$bbk$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxrdyornot 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.
How much is your time worth? How much is the company losing because you have to spend your time trying to learn PHP?
Not to mention what happens if your database gets screwed up (or exposed) because you're not familiar with things like SQL injection and other security items associated with having something on the internet?
Can you afford NOT to hire a contractor to do it right?
I'm asking this not because I'm interested - I have too much on my plate right now. But for your own sake, if your data is at all important, get someone who knows what he's doing.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- Follow-Ups:
- Re: Executing PHP files on remote web server
- From: rdyornot
- 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
- Re: Executing PHP files on remote web server
- From: rdyornot
- Executing PHP files on remote web server
- Prev by Date: Re: Executing PHP files on remote web server
- Next by Date: Re: Looping through output
- 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
|