[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] how to determine the site number from fqdn pro grammatically
- Subject: RE: [cobalt-users] how to determine the site number from fqdn pro grammatically
- From: Sales - Way to the Web <sales@xxxxxxxxxxxxxxx>
- Date: Tue Nov 14 00:44:00 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello Jim,
> I am creating a site using addvsite with a cgi - works fine. I need to
> determine the site number that has been assigned to the site by the
> addvsite command so that I can then adduser assigning them to
> the correct
> groupnames. Anyone point me to the right place to look this up ?
Using Perl:
$sitenumber = readlink ("/home/sites/www.mydomain.com");
Regards,
Jonathan Michaelson
Way to the Web Ltd
Commercial CGI Scripting, Web Hosting
http://www.waytotheweb.com