Quote:
Originally Posted by Halfdeck
I used to do the same, but the problem comes when I want to move servers, although the problem can be alleviated by using config files for paths, I guess. Another problem is making multiple domains dependent on one php file.
|
well i'm currently running a couple of domains off a single set of php code and that can be extended to multiple domains easily. At the moment I use a couple of scripts to handle all requests (1 for browser/1 for ajax) so only 2 scripts have to find their config files (which are outside the web root) but that's pretty trivial to do using dirname() and __FILE__ etc
cheers
rich