PHP Zip Archive - open or extractTo is not working
===

I'm completely at a loss for explaining why this isn't working. HELP!

    $archive = "x.zip";
    $zip = new ZipArchive();
    $res = $zip->open($archive);
	
    if ($res === 'TRUE') {
        $unzip_success= $zip->extractTo('/temp/', "inscriptions.txt")
		
        $zip->close();
    }



- the target dir "temp" is "0777" permissions
- the code obtained from $res is "11" and not "TRUE" as required by the documentation on PHP.net
- note: must put the full url for $archive and the first argument of extractTo


