PHP Classes

extract folder

Recommend this page to a friend!

      Unzip  >  All threads  >  extract folder  >  (Un) Subscribe thread alerts  
Subject:extract folder
Summary:I want change extract folder to public_html folder.
Messages:2
Author:Ali Rabbani
Date:2013-09-03 02:01:09
Update:2013-11-12 09:37:40
 

  1. extract folder   Reply   Report abuse  
Picture of Ali Rabbani Ali Rabbani - 2013-09-03 02:01:09
Hello,
I want change extract folder to public_html folder. No in folder, Only where source run.
What can I do?

Thank you very much for this class,
A.Rabbani
www.sgwm.ir

  2. Re: extract folder   Reply   Report abuse  
Picture of Md. Shahadat Hossain Khan Razon Md. Shahadat Hossain Khan Razon - 2013-11-12 09:37:40 - In reply to message 1 from Ali Rabbani
Hello,
Sorry for late. you can use second parameter with constructor or when using extract method to set target directory

$ftp->extract('test.zip', '/home/anyuser/any/folder/to/extract');

Hope this make sense. If further query please let me know.

Thanks.