> -----Original Message----- > From: Dasmeet Singh [mailto:singhdasmeet@xxxxxxxxx] > Sent: Tuesday, May 03, 2005 9:03 AM > I want a script that can display a list of all the websites currently > hosted on my server.. (i have root access to the server) > > Say I have a page sitesonmyserver.php..it shud show a list of all the > websites hosted on my server..eg: > abc.com > xyz.om > > And any additional info if possible? > > Is such a thing possible in PHP.. or does any such script exists? If You´re running Apache, parse the httpd.conf and echo the line containing ServerName? -- Med venlig hilsen / best regards ComX Networks A/S Kim Madsen Systemudvikler/Systemdeveloper -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php