Jump to content
Sign in to follow this  
shades

PHP Zip Extract to client machine

Recommended Posts

Hi,

 

I am running the PHP server on my laptop. So, far I am able to create a zip file and extract too, but when i extract i gave path to my c:/ folder.The issue is it extracts to the C:/ folder on my laptop where the php server is running and if a user extracts from a different machine I don't think it will extract to the client C:/folder or does it ? or is there any other way to specify the client path ?

 

Also client can use linux system then i cannot use this path. So, I would like to know is there any way to achieve this ?

 

Note: I have multiple CSV files which i have zipped and It is a must that I have to extract and provide the files to the user.

 

Thanks.

Share this post


Link to post
Share on other sites

The server can't unzip files on the client. That doesn't make any sense. You could offer them up for download. Then once downloaded, the user can unzip them on their own (client) machine.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.