At 23:43 17.03.2003, Radu Manole said: --------------------[snip]-------------------- >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? --------------------[snip]--------------------
If you're on *nix you can simply create symbolic links to the directory: ln -s /scripts /user1/scripts ln -s /scripts /user2/scripts ln -s /scripts /user3/scripts Now all 3 user directory will contain a symbolic link to the /scripts directory, within their domain tree. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php