Unzip a file with php
问题 I want to unzip a file and this works fine system(\'unzip File.zip\'); But I need to pass in the file name through the URL and can not get it to work, this is what I have. $master = $_GET[\"master\"]; system(\'unzip $master.zip\'); What am I missing? I know it has to be something small and stupid I am overlooking. Thank you, 回答1: I can only assume your code came from a tutorial somewhere online? In that case, good job trying to figure it out by yourself. On the other hand, the fact that this