App out of the zzee2.bin file

9 views
Skip to first unread message

supermegapollo

unread,
Nov 13, 2009, 4:34:07 PM11/13/09
to ZZEE PHPExe
Hi. Is there any way to have my application out of the zzee2.bin file?
In this particular project I need the source php to be exposed!!!
Regards
Juan

Paul (ZZEE)

unread,
Nov 13, 2009, 4:55:33 PM11/13/09
to php...@googlegroups.com
> Hi. Is there any way to have my application out of the zzee2.bin file?
> In this particular project I need the source php to be exposed!!!

Hi Juan,

You can read any internal file, for example, file index.php from the
source directory can be read as this:

$indexFileContent = file_get_contents('zzee://' . '/www/index.php');

On the other hand this can be a source of problems, so you need to check
that user input doesn't contain 'zzee://' part when your applications get
any file paths from your users.

However, you should not encode your PHP files in the "File encoding &
security" section, otherwise you get an encoded file.

Please see the help file for more information.

Reply all
Reply to author
Forward
0 new messages