- Tuesday, August 12, 2008, 18:45
- php, tips and technique
Yesterday, I saw one of my friend was working on the the contact form and was filtering the user input data(posted variables) individually. He was using a function in PHP to filter the input and using tedious approach while calling the filtering function for each variables with coding each of them in single line . Today, I'm going to show you how can you filter the posted variables easily using callback function in PHP.
Full story
Sites like Google Image search and goodphptutorials.com displays the website under the IFRAME and I don't think you guyz want your site to be displayed it under the IFRAME. If you want to protect your site to be displayed under the IFRAME then here is the tips for you.
Full story
- Sunday, June 22, 2008, 9:53
- php, php attack, tips and technique
HTTP POST request from outside domain is one of the way of attacking your website. A intruder can use JavaScript in other domain or localhost to send the repetitive POST request to your web page containing PHP script. We must prevent this kind of cross domain form posting which might be harmful of our website.
Full story
- Saturday, May 24, 2008, 18:25
- php, tips and technique
Security is a very important aspect of programming. In PHP, there are few useful functions which is very handy for preventing your website from various attacks like
SQL Injection Attack ,
XSS attack etc.Let's check few useful functions available in PHP to tighten the security in your project. But note that this is not a complete list, it just list of functions which I found useful for using in your project.
Full story