![]() ![]() Use the $_GET superglobal instead.įinally, be very careful about accepting whatever input is passed to a script via a $_GET variable. $zip->extractTo('/myzips/extract_path/') Īlso, as others have commented, $HTTP_GET_VARS has been deprecated since version 4.1. ![]() ![]() There should be no need to use system calls for this. PHP has built-in extensions for dealing with compressed files. On the other hand, the fact that this code could actually be published online somewhere as the correct way to unzip a file is a bit frightening. ![]() I can only assume your code came from a tutorial somewhere online? In that case, good job trying to figure it out by yourself.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |