View Single Post
Old 2005-10-13, 04:45 PM   #5
rich06
Internet! Is that thing still around?
 
Join Date: Oct 2004
Location: French Riviera
Posts: 7
Send a message via ICQ to rich06
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
__________________
ICQ# 6820996
rich06 is offline   Reply With Quote