Is it possible to get *.php from a server???

Discussion in 'PHP' started by johnharry, Dec 29, 2008.

  1. #1
    I had some custom made scripts for my site. My host was taken down recently without prior notice. For some reason the website is functional till 31st. So, I have a day to get those php files without any ftp login.
    Is it possible to do it??
     
    johnharry, Dec 29, 2008 IP
  2. effektz

    effektz Active Member

    Messages:
    474
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Yeah if you can SSH into your server, tar -cf archive.tar *.php
     
    effektz, Dec 29, 2008 IP
  3. tamen

    tamen Peon

    Messages:
    182
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If you only have web-access to the server, then no.
    If you have access to the files, FTP SSH or something else, then you can just use that.
     
    tamen, Dec 30, 2008 IP
  4. kmap

    kmap Well-Known Member

    Messages:
    2,215
    Likes Received:
    29
    Best Answers:
    2
    Trophy Points:
    135
    #4
    if you have ftp access you can use core-ftp or any such client to get *.php

    otherwise you can write a php program which zip them and give you a http download link


    Regards


    Alex
     
    kmap, Dec 30, 2008 IP
  5. Scoty

    Scoty Active Member

    Messages:
    620
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Sorry to not supply any information for your question, however:

    Dude, seriously, did you not read OP?

     
    Scoty, Dec 30, 2008 IP
  6. johnharry

    johnharry Peon

    Messages:
    28
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks guys...tried asking every where ..no results....this sucks...my custom script went down the drain...
     
    johnharry, Jan 2, 2009 IP