SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict Sensaay's Avatar
    Join Date
    Feb 2005
    Location
    Scotland
    Posts
    294
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Ceate of list of subdomains?

    Hi, i have been searching and canny find how to go about it.

    Heres what i'm looking to do.

    I have created hundreds of subdomains on my sites, and now I'd like to create a list of the subdomains (preferably using php) so that the list can be viewed outside of Cpanel.

    Any tips of hints would be amazing, thank you!

  2. #2
    Twitter: @AnthonySterling silver trophy AnthonySterling's Avatar
    Join Date
    Apr 2008
    Location
    North-East, UK.
    Posts
    6,111
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    If the list is contained within Cpanel, you can use curl to log in and retrieve the page, then just use some PHP trickery to parse out the list.

    @AnthonySterling: I'm a PHP developer, a consultant for oopnorth.com and the organiser of @phpne, a PHP User Group covering the North-East of England.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •