Database Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Click Here
Go Back   Codewalkers ForumsOther TechnologiesDatabase Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today!
  #1  
Old December 3rd, 2003, 01:48 PM
The Squirrel The Squirrel is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mid-Indiana, USA
Posts: 153 The Squirrel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to The Squirrel
Question on Databases

Just a quick question about databases... Can PHP be used to connect to Microsoft SQL? And if so, is it much different then connecting to MySQL as far as putting in code into the pages and such?

Thanks for the answers!

The Squirrel

Reply With Quote
  #2  
Old December 3rd, 2003, 01:56 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Question on Databases

You can connect to MSSQL and there is an extension in php that allows you to do it. There are many functions that allow you to connect just like MySQL... here is a link...

http://us2.php.net/manual/en/ref.mssql.php

Reply With Quote
  #3  
Old December 3rd, 2003, 02:07 PM
The Squirrel The Squirrel is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mid-Indiana, USA
Posts: 153 The Squirrel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to The Squirrel
RE: Question on Databases

Cool, thanks for the link and the answer.

Edit: Is it too hard to connect from a different machine? We have our webserver and database's on two different machines.
Would there be more security risks in connecting to a different machine?

The Squirrel

Reply With Quote
  #4  
Old December 3rd, 2003, 02:24 PM
Blindeddie Blindeddie is offline
Codewalkers Regular (2000 - 2499 posts)
 
Join Date: Apr 2007
Location: NJ - USA
Posts: 2,152 Blindeddie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 4
RE: Question on Databases

It should not be any harder than connecting to a db on the same machine.

edit:

As far as security goes, anytime you have a DB server accesible over the internet withou using a vpn or ssl connection, you have a security risk. What I have done in the past is to put two NIC cards in a the web server one on the public address and one on a private address of the network. This allows me to connect to my DB through the private network that is not accesible to the internet (db server is connected to the private network only) thus reducing its exposure to internet hackers and viruses. Also we use an encryption package on the MSSQL DB as well. Hope that makes sense!!!

Reply With Quote
  #5  
Old December 3rd, 2003, 02:54 PM
The Squirrel The Squirrel is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Mid-Indiana, USA
Posts: 153 The Squirrel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to The Squirrel
RE: Question on Databases

It makes perfect sense. I thank you for your comments on the matter and hopefully now I can get the database that will be used for our site working properly. Back to work I go.

The Squirrel

Reply With Quote
Reply

Viewing: Codewalkers ForumsOther TechnologiesDatabase Help > Question on Databases


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway