RE: is this possible in PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux