IIS and subdomains

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
jmilane
Forum Commoner
Posts: 89
Joined: Mon Aug 07, 2006 6:05 pm

IIS and subdomains

Post by jmilane »

Hello,

Is it possible to run PHP forms on an IIS server without too much trauma?

Also, as I mentioned in another post, we have a computer on the top floor that our network recognizes as beta.mycompany.com - would it be possible to have the php application running on our web server (the aforementioned IIS/PHP server) use a MySQL database on beta.mycompany.com?

I think it will work, because the web server is aware of beta.mycompany.com - but I do not know.

Thank you very very much for your time.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I don't think this really needed a new thread, but whatever..

The PHP script can tell its MySQL extension to fetch from a remote database by using a different host than "localhost." The remote database will need to allow a remote connection for the user that will be used. Read up on user administration at MySQL's site for more details on how that's done.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

Why is this in php theory and design?? Image
jmilane
Forum Commoner
Posts: 89
Joined: Mon Aug 07, 2006 6:05 pm

Post by jmilane »

Sorry. I had severe brain trauma four years ago and sometimes do strange things.

I apologize. These answers are obvious.

Goodbye.
Post Reply