I've found this system to create zip files...
http://articles.techrepublic.com.com...1-6125204.html

and I use this code for me:

Code:
<?php
include ('Zip.php');
// Create instance of Archive_Zip class, and pass the name of our zipfile
$zipfile = New Archive_Zip("$nometema.zip");

// Create a list of files and directories
$list = array("theme.xml","$nomenome/Idle.bmp");

//Create the zip file
$zipfile->create($list);

echo 'Zip file created';



?>
but when I create my zip file...it is with file theme.xml and the folder $nomenome with the file Idle.bmp but I want only the file Idle.bmp without the folder.....why this problem and how can i resolve it?don' t you know? thanks!!