ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder

pre-preamble? ;)

Author Message
dreadful



Joined: 28 Jul 2005
Posts: 3

PostPosted: Thu Jul 28, 2005 6:35 pm    Post subject: pre-preamble? ;) Reply with quote

Is it possible with some option to the encoder add for an example
#!/usr/local/bin/php
to the start of the encoded files?
Back to top
View user's profile Send private message
dreadful



Joined: 28 Jul 2005
Posts: 3

PostPosted: Thu Jul 28, 2005 7:43 pm    Post subject: Talking to myself Reply with quote

Solved the problem by register php as a binary handler instead.
http://www.hochstrasser.org/wiki/pmwiki.php?pagename=Linux.MiniHttpd

In short from the above webpage:
#!/bin/sh
# Register PHP as binary handler for .php files
/sbin/modprobe binfmt_misc
if [ -z "$(/sbin/mount | /usr/bin/grep "binfmt_misc")" ]; then
/sbin/mount -t binfmt_misc none /proc/sys/fs/binfmt_misc
fi
echo ":PHP:E::php::/usr/bin/php:" > /proc/sys/fs/binfmt_misc/register
# end
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Thu Jul 28, 2005 11:29 pm    Post subject: Reply with quote

Your way will work, but in answer, with the latest version 3 Loaders it is indeed possible to do this! You can either take an encoded file and add the #! line, or using the version 6 Encoder (due to be released soon), encode scripts that already have the #! line.
_________________
Community Admin
Back to top
View user's profile Send private message
dreadful



Joined: 28 Jul 2005
Posts: 3

PostPosted: Fri Jul 29, 2005 4:23 pm    Post subject: Reply with quote

When are you going to release version 3 loader, I can only find version 2 on you site. And the version 6 encoder, is that going to have some client license "thing"?

Great product by the way. I'm sure going to buy it when my project is almost finished.
Back to top
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Fri Jul 29, 2005 4:53 pm    Post subject: Reply with quote

The version 3 Loaders are there for Linux Windows and FreeBSD, and yes, one of the big new features in version 6 is comprehensive support for generating license files Smile
_________________
Community Admin
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube PHP Encoder All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum