One set of php for multiple subdomains

From: Date: Mon, 17 Mar 2003 22:43:54 +0000
Subject: One set of php for multiple subdomains
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-140050@lists.php.net to get a copy of this message
Hi guys, I have 2 scripts located in a directory and 3 dirs with 3 subdomain. Something like this. /scripts - input.php - output.php /user1 -> subdomain user1.mysite.com /user2 -> subdomain user2.mysite.com /user3 -> subdomain user3.mysite.com What can I do to execute the input.php script from any subdomain and get output.php (response) in the same subdomain? Do I need to copy the "scripts" directory in each subdomain dir? many thanks, Radu

« previous php.general (#140050) next »