drakkarnoir
asked on
PHP DLL files
Probably a quick procedure to doing the following.
I'm trying to protect my source code, and I was looking over at eBay's website, how they use a eBay.dll file to access their web functions.
Right now, I have 1 file, index.php which contains all my page functions. I want to be able to store all this into a .dll file, and have it run from my web server. What is the procedure for doing this?
I'm trying to protect my source code, and I was looking over at eBay's website, how they use a eBay.dll file to access their web functions.
Right now, I have 1 file, index.php which contains all my page functions. I want to be able to store all this into a .dll file, and have it run from my web server. What is the procedure for doing this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you really want to make DLL Files to use with PHP, check out the http://www.zend.com/apidoc/
Bare in mind however that you will not be able to make DLL's in PHP itself yet.
Bare in mind however that you will not be able to make DLL's in PHP itself yet.
One package I forgot about was bcompiler.
I believe it will only work with classes however.
Check out http://pecl.php.net/package/bcompiler
I believe it will only work with classes however.
Check out http://pecl.php.net/package/bcompiler
ASKER
Yes, what are some good free ones?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi !
It might be not related to this question, but Does any one know how to create php extension dlls for windows, like the dlls found in the extenstions folder of php installation for windows
Regards,
Meet.
It might be not related to this question, but Does any one know how to create php extension dlls for windows, like the dlls found in the extenstions folder of php installation for windows
Regards,
Meet.
You need to write them in c. You can find plenty of examples in the php distribution, under the ext/ directory.
Hi meet_zorrer
Check out the link I posted on my second link, which brings you to documention on the Zend API. It describes how to make php extension DLL's
Check out the link I posted on my second link, which brings you to documention on the Zend API. It describes how to make php extension DLL's
Hi darkarnoir
Thanks for the accepting my comment regarding bcompiler, as assisted, but I can't figure out how you consider ThG's first post(which you accepted as "Accepted Answer" to be more helpful than my first post.
From what I can see they contain the exact same information(and the exact same suggestions), except that mine was posted two minutes before hand.
Thanks for the accepting my comment regarding bcompiler, as assisted, but I can't figure out how you consider ThG's first post(which you accepted as "Accepted Answer" to be more helpful than my first post.
From what I can see they contain the exact same information(and the exact same suggestions), except that mine was posted two minutes before hand.
If you want to protect your source code, I'd recommend looking into other solutions such as the Zend Encoder, or IonCube Encoder.
There are a few others too, but I'd recommend using one of the above.
Zend Costs more, but gives you more obscure code, that is extremely difficult(much more difficult than DLL's) to reverse engineer.
If you do want to make a DLL, you'll have to code it in C, using the Zend API.