Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 12:30:40 PM

Pages: [1]   Go Down
  Print  
Author Topic: The Connections folder  (Read 1408 times)
TWebMan
Quantum Encyclopedia Writer
*****
Offline Offline

Posts: 3112



WWW
« on: April 02, 2004, 03:52:00 AM »

If you use Dreamweaver to connect to a mysql (or any) database, it will create a folder called Connections we've all seen Smile

I like to sometimes take that folder and put it in the user directory, outside of the virtual root (public_html) for the domain.

It's a little added security.  You just need to add an '../' to the require_once tag. It's better to duplicate it, adjust the path, and comment the other one out before uploading.

Actually, I haven't tried an @ in front of the first require, the one DW puts in.  If you just delete or change the require the DW puts in, the interface won't recognize the recordsets.  The file will work fine.
Logged

"Computers cause people to make more mistakes than any other invention in history, with the possible exception of handguns and tequila."  - Unknown
"Liberty of any kind is seldom lost all at once." - D. Hume
Every day is an Ode to Joy
The planet will be fine... and so will your site
Pages: [1]   Go Up
  Print  
 
Jump to: