1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is there a script which can clone or steal other sites with all content ?

Discussion in 'PHP & Perl' started by abcwangyi789, Nov 14, 2012.

  1. abcwangyi789

    abcwangyi789 Newbie

    Joined:
    Mar 27, 2012
    Messages:
    21
    Likes Received:
    2
    Is there a PHP script which can clone or steal other sites with all content like wordpress robot ? and what dose this kinds of script named ?
     
    Last edited: Nov 14, 2012
  2. pcmoseley

    pcmoseley Jr. VIP Jr. VIP Premium Member

    Joined:
    Mar 13, 2007
    Messages:
    367
    Likes Received:
    93
    Location:
    Denver CO
    yes its called httrack website copier and its free
     
  3. abcwangyi789

    abcwangyi789 Newbie

    Joined:
    Mar 27, 2012
    Messages:
    21
    Likes Received:
    2
    Thank you very much . But i want to find a PHP script , which can be installed in web hosting , and it can automatically clone other sites . do u know any other scripts ?
     
  4. Empower Network

    Empower Network Registered Member

    Joined:
    Sep 29, 2012
    Messages:
    82
    Likes Received:
    22
    Home Page:
    or simply the command line tool wget (for linux/unix)
     
  5. BHopkins

    BHopkins Moderator Staff Member Moderator Jr. VIP

    Joined:
    Dec 31, 2010
    Messages:
    2,311
    Likes Received:
    1,387
    Gender:
    Male
    Occupation:
    ORM and SEO company owner
    Location:
    California
    Home Page:
  6. ndks~

    ndks~ Newbie

    Joined:
    Jan 10, 2012
    Messages:
    26
    Likes Received:
    3
    Location:
    SYD, Australia
    Long story short - no.

    Website rippers and 'wget' will only save rendered html files. As PHP is a Hypertext PREprocessor, the server will render the files before sending the file to the client via http.
    Even if you did manage to get your hands on the PHP files, they are essentially redundant without a matching database. In my opinion this adventure is probably a LOT more trouble than it's worth ;)
     
  7. indigo69

    indigo69 Junior Member

    Joined:
    Apr 3, 2009
    Messages:
    123
    Likes Received:
    25
    I did use httrack... it works for basic pages... but it can't scrap everything (php, etc) but still give a good results since it's free.

    I don't know of any php script doing this.
     
  8. DropC

    DropC Newbie

    Joined:
    Nov 14, 2012
    Messages:
    4
    Likes Received:
    0
    No software/script would ever give you the php files of a website.You can get the html by using wget,or saving using a browser, or file_get_contents, and many more ways.
     
  9. senior

    senior Regular Member

    Joined:
    Jul 20, 2010
    Messages:
    219
    Likes Received:
    101
    short of hacking their server you cannot get their php files. httrack is the best free program I have seen to clone a site.

    If you want server side stuff then you need to hire a programmer.
     
  10. DropC

    DropC Newbie

    Joined:
    Nov 14, 2012
    Messages:
    4
    Likes Received:
    0
    Yes, to make a similar script. I am sure OP may misunderstand it like, if you hire a programmer, he would get the php files for him for his target site.