Software
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".
|
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...
|
The Academic Site of Velonis I. Petros

