Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2005
    Posts
    46

    will it be possible without shell access??

    hi all
    usually server people dont allow shell access..
    And if we have some backup or may be some tar or zip files..
    will it be possible for uplaoding the files using ftp and then extract tat in server using some php code ??

    can anyone help me in this ..
    thanks in advance

  2. #2
    Join Date
    Nov 2004
    Location
    UK
    Posts
    775
    Ask your host

    Upload your backups as .tar - and then give them an email, ask to them to untar the files. After all, you're paying for a service right?

  3. #3
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    14,135
    It's actually very possible if your server doesn't have system() blocked off. Take a look through the php manual (@ www.php.net) for the system() call, then modify it to do what you need it to do
    Tom Whiting, WHMCS Guru extraordinaire
    Linux problems? WHMCS Problems? Give me a shout
    Check out my WHMCS Addons

  4. #4
    Join Date
    Jun 2005
    Posts
    46
    hi i did this ..
    i made a file named a.php
    **
    <?system('unzip -aL e.zip');?>
    ***
    when i tried to run this php file..
    i got this output
    "Archive: e.zip "

    ??
    can anyone help ?

Posting Permissions

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