Archive for the 'PHP' Category

Wanted

Friday, August 29th, 2008

By James Berardinelli

Wanted provides the jolt of adrenaline one expects from solid summer entertainment. It exists solely to keep the heart pounding as it shifts from one gear to the next, decelerating only when exposition demands a reduction in pace. The movie marries the superhero origin film with the revenge thriller, blending them with hints of [...]

Regular Expressions

Sunday, May 4th, 2008

Here some examples  of the regular expressions and the techniques of PHP that i’ve employed during these last years by using compatible regular expressions of Perl.

To validate Usernames
Something often neglected, but simple to make with a regular expression would be validation of username. For example, we can want that our usernames is between 4 and 28 [...]

Session Fixation

Saturday, May 3rd, 2008

A very trendy attack that targets sessions is session fixation . The most important reason behind its popularity is that it’s the easiest method by which an aggressor can obtain a valid session identifier. As such, its intended use is as a way in to a session hijacking attack, impersonating a user by presenting the [...]