Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 3rd Mar 2010, 10:27 PM   #1
HyperActive Warrior
War Room Member
 
Join Date: 2009
Posts: 281
Thanks: 6
Thanked 25 Times in 20 Posts
Default
Create Installer Tutorial
Share on: 
fb share twitter share gplus share more share

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...
veeco is offline  
Unread 4th Mar 2010, 10:32 PM   #2
Lisa Dozois
War Room Member
 
lisag's Avatar
 
Join Date: 2006
Location: Florida, USA.
Posts: 608
Thanks: 107
Thanked 254 Times in 118 Posts
Default
Re: Create Installer Tutorial
Share on: 
fb share twitter share gplus share more share

Originally Posted by veeco View Post

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...
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 ");
}

?>

-- Lisa G
lisag is offline  
Closed Thread


Bookmarks

Tags
create, installer, tutorial


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 04:48 PM.