php-general | 2001092
Date: 09/17/01
- Next message: _lallous: "[PHP] Re: Download a file with PHP"
- Previous message: Tom Carter: "Re: [PHP] SMS with php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You have two ways:
1)Recompile PHP (as it comes with source code) and put your decryption
functions just after the reading of the .PHP and before getting it parsed.
2)If you want to do a windows solution w/o modifying source code then you
have to hack into the PHP code and add your new functions:
The idea is to set a hook on the CreateFileA() and ReadFileA() windows APIs
and replace them with our new functions that only decrypts PHP files (in
memory) and them returns them to PHP.
//elias
"Robert Klinkenberg" <robert <email protected>> wrote in message
news:41995094E2FED31197F6005004B2739F01088BD7 <email protected>
> Is it possible to override the php build-in functions without changing the
> PHP base distribution?
>
> We want to encode our scripts but zend is a bit expensive so we are
looking
> to write something ourself.
> (encryption libs are freely available, so the main problem is changing the
> file open function so that it decodes the file while reading it from disk)
>
> Robert Klinkenberg
>
>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: _lallous: "[PHP] Re: Download a file with PHP"
- Previous message: Tom Carter: "Re: [PHP] SMS with php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

