note 29504 added to function.zip-open

From: Date: Sat, 15 Feb 2003 22:18:11 +0000
Subject: note 29504 added to function.zip-open
Groups: php.notes 
Request: Send a blank email to php-notes+get-44027@lists.php.net to get a copy of this message
Any path used with the filename must be absolute (at least on Windows): zip_open( "../data/myfile.zip" ); // wrong zip_open( "W:\\siteroot\\data\\myfile.zip" ); // right A very little thing, but it had me cursing for an hour or so until I got a clue. Backslashes must be escaped as well (as usual). -- http://www.php.net/manual/en/function.zip-open.php http://master.php.net/manage/user-notes.php?action=edit+29504 http://master.php.net/manage/user-notes.php?action=delete+29504 http://master.php.net/manage/user-notes.php?action=reject+29504

« previous php.notes (#44027) next »