note 103735 added to phar.compressfiles

From: Date: Sat, 30 Apr 2011 08:55:45 +0000
Subject: note 103735 added to phar.compressfiles
Groups: php.notes 
Request: Send a blank email to php-notes+get-179301@lists.php.net to get a copy of this message
Compressing the entire archive $phar->compress(); overrides your stub file as mentioned here http://www.php.net/manual/en/phar.converttoexecutable.php#103733 Use compressFiles to have the the files compressed keeping your own stub in tact (which is not being compressed). The compression is a little bit worth (since one file is left uncompressed), but enables you to have your own stub file executed with browser requests. Don't get confused, compressing doesn't rise the security level of your code or obfuscating it strongly enough. The source code of your compressed phar is still easy to read. ---- Server IP: 109.169.40.147 Probable Submitter: 109.65.185.117 ---- Manual Page -- http://www.php.net/manual/en/phar.compressfiles.php Edit -- https://master.php.net/note/edit/103735 Del: integrated -- https://master.php.net/note/delete/103735/integrated Del: useless -- https://master.php.net/note/delete/103735/useless Del: bad code -- https://master.php.net/note/delete/103735/bad+code Del: spam -- https://master.php.net/note/delete/103735/spam Del: non-english -- https://master.php.net/note/delete/103735/non-english Del: in docs -- https://master.php.net/note/delete/103735/in+docs Del: other reasons-- https://master.php.net/note/delete/103735 Reject -- https://master.php.net/note/reject/103735 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179301) next »