[thelist] alternative connections to different servers

Tony Crockford tonyc at boldfish.co.uk
Sun Feb 2 05:43:01 CST 2003


> I download upload... is this a good plan or is there an
> alternative I should
> consider??  Here is this code to if anyone fancies giving me
> a working example
> of what would work :)
>
> Cheers Andrew

Put the connection info in a separate file (e.g db.php) and require it
as the first line of your script.

have one db.php for local settings and one for the server and make sure
you don't overwrite one with the other, when you're ftp'ing your other
scripts.

HTH

Tony




More information about the thelist mailing list