How to clean PHP code after injectionDid someone hack your PHP files ? Is that possible ? Oooh yes. It happens to everybody and the difference between "everybody" is how often it happens. And code injection is one type of attack, I won't refer to cases that someone changed the homepage and you can just restore the last backup. So, what can you do if you find out that someone injected code into your PHP files ?
Two PHP classes alternative to var_dump and print_rI think that every PHP developer knows what var_dump and print_r functions do. These functions simply present what a PHP variable consists of. But that's the "problem" in way of view. Why? Because these functions present the variables in a simple way. If one variable consists of arrays and child arrays then... most of us can't separate the child arrays. So what can we do? Two PHP classes alternative to var_dump and print_r functions are Krumo and Kint. Both are good and it is up to us to choose. Personally, I chose Kint because of the nice syntax highlighting. Just download both zip files and unzip them to a directory either included in the INCLUDE_PATH or main directory which you can remember. Then use the next code for example and choose which one you will use. $test=array( array('a1'=>2,'a2'=>13,'a3'=>4322),1,2,3);
Remember that writing 'Kint' demands always the first letter uppercase. Yii vs SymfonyI am trying to decide which PHP framework to use for small web applications. Looking among all PHP frameworks and comparing them I got "lost".
SVN clients for Linux - Part AA long time ago I was looking for an SVN client for Windows . Now I need something that works in Linux.
|
Add a SavePlus in Sobi2 toolbar - addition 1Joomla! users may know Sobi2 component. It is a Content Construction and Directory Component and can be used for catalogs of cars, shops etc. It is very popular that's why it has it's own place in Joomla! extensions catalog. Let's cut to the chase now. In the back-end it has a menu option for massive addition of categories. I haven't seen something similar for items, that's why I decided to hack it. Lyx and IEEE templateAre you using Lyx ? It is an excellent tool better than LaTex - in a way it is using Latex. I am writing a paper and I want to use the template of IEEE. I was looking around Internet, found many "examples" but nothing was working. But...
Joomfish vs M17NDo you want to have a multilanguage CMS site? Joomla is a very good option for Content Management System (CMS). But which extension would you choose?
|
- Be careful with Netbeans 6.5!
- Ways to bypass disk encryption
- A survey on Search Engines and Web Spiders
- Hardware List Utility
- Find the book that you need!
- Make Fish your default shell
- Joomla and MindMaps
- Disable the Recent Documents
- My first impressions for Ubuntu Intrepid Ibex
- Mysql drop many tables
The Academic Site of Velonis I. Petros
