RE: [PHP] is this possible in PHP?

From: Date: Tue, 03 May 2005 07:21:56 +0000
Subject: RE: [PHP] is this possible in PHP?
Groups: php.general 
Request: Send a blank email to php-general+get-214367@lists.php.net to get a copy of this message
> -----Original Message----- > From: Dasmeet Singh [mailto:singhdasmeet@gmail.com] > 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

« previous php.general (#214367) next »