Create Installer Tutorial

by 1 replies
2
Hello, i've been googling to find tutorial about create installer script, my idea is to create a zip file, upload to server... and in the server the zip file will be unzip/extract and put it on appropriate folder.

The same approach as joomla did..

but the keyword "create installer php" or something like this is too bias because google return installer tutorial like xampp, wammp..etc..

if you can help... please let me know the reference...
#programming #create #installer #tutorial
  • Try this. You may need to adjust it to suit your exact situation.
    Code:
    <?php
    
    function unzip(, , ) // name of zip file, source dir and target dir
    {
     copy( . "/" . ,  . "/" . );
     chdir();
     shell_exec("unzip ");
    }
    
    ?>

Next Topics on Trending Feed

  • 2

    Hello, i've been googling to find tutorial about create installer script, my idea is to create a zip file, upload to server... and in the server the zip file will be unzip/extract and put it on appropriate folder. The same approach as joomla did..