November 20th, 2008
admin
base64 encoding is often used to protect PHP code. There is an online tool that allows you to encode and decode the code. Here is the link: Base64 Encoding/Decoding Tool by Thomas Horsten.
It really works with the code you have. It’s a common kind of PHP protection and this tool reveals the opinion that base64 encoding is secure and it’s enough for code protection. If you hae any ideas on how to protect the PHP code, you’re welcome to post them in your comments.
Zend, Ioncube, etc are not enough as there are some paid services that offer “dezend” and “deioncube”. Code obfuscation… hmm, it just increases the time used to modify such a code, but doesn’t really help.
I would like to have my PHP scripts protected, but I don’t know any good protection method at the moment.
November 16th, 2008
admin
Recently I’ve discovered a Firefox plugin named Web developer toolbar. It places a toolbar which has great tools for webmasters and web developers. But… I found it seems to be incompatible with the ability to save all open tabs and open them at the next firefox launch. I’ve tried to set up many options but still couldn’t make both features working.
If you know the way to fix this issue, you’re welcome to post comments and I will move this post to another category. Until then, It will be located under “No answer Yet”.
If you know similar firefox plugins, that do the same job, you’re welcome to post them here too.
This is my first post in this category as the original function of this blog was to explode the secrets I know. But… I cannot know everything and sometimes I also have questions that require hours of searching. I hope to find the answer in some comments that should appear as I do already have visitors from search engines.
Here is what I need: I’ve got the folder that contains a very big number of files (I really don’t know how many files are there as ls | wc -l overloads my server). I think there are several millions of temporary files that are no longer necessary and I need to delete them.
Every operation tried overloads my server, it starts working slower and slower and once I even had to reboot it. Here is what I tried:
rm -f * - certainly does not work as the number of files is too high
ls | grep .| xargs rm - deletes some files but increases server load
find . -type f | while read -r; do rm -v “$REPLY”; sleep 0.2; done – same result as previous
rm -rf folder/; mkdir folder; – no visible result
rm -f <various patterns combinated> - seem to be working, the load is lower but It is impossible to run a server too. It also requires a lot of patterns and is not a beautiful solution
If you have any ideas how to do it I will greatly appreciate your help. Waiting for your comments…