Monthly Archives: January 2011

CDATA in XML

Now time to learn some XML features.I have been using CDATA in my XML files.CDATA section is not allow to parse XML text by parser.Normally XML Parser parse all text in XML document but CDATA section provide some advance feature … Continue reading

Posted in Categories, XML | 1 Comment

Flash embedding without Javascript

Today I came on Flash integration in my web page and I have found one interesting method called “Twice-Cooked Method” which support flash integration without JavaScript.I try to avoid JavaScript embedding of Flash (especially the Adobe version supplied in Dream … Continue reading

Posted in Categories, Flash | 1 Comment

PHP Filter for santizing and validating user input.

A PHP filter is used to validate and filter data coming from insecure sources.By using filters you can be sure your application gets the correct input type. *  filter_var() – Filters a single variable with a specified filter * filter_var_array() … Continue reading

Posted in Categories, PHP | 7 Comments

Crossbrowser CSS dropshadows and Blur effects

In past,I had problem with blur effect so I added mootool in my website and some css3 property which was not working in IE. but now I can use CSS filter without any JavaScript. First of all, the blur filter allows … Continue reading

Posted in Categories, CSS3 | 3 Comments

Prevent XSS[Cross-Site Scripting] Attacks

Cross site scripting (also known as XSS) occurs when a web application gathers malicious data from a user. Often attackers will inject JavaScript, VBScript, ActiveX, HTML, or Flash into a vulnerable application to fool a user (Read below for further … Continue reading

Posted in Categories, XSS | 5 Comments

Apache/php Tmp directory

Letting users upload files to your server can be very risky. If you’re not careful, you could get users uploading all sorts of files which could be harmful for out of disk and tons of virus in your server. Let’s … Continue reading

Posted in Apache, Categories | Comments Off on Apache/php Tmp directory

Hiding Information in Image files [Steganography]

Hiding Information in Image is easy. So you can achieve using following instruction: 1. Download any image from internet 2. Right click on Image and open in notepad 3 You can able to see some binary code which is hard … Continue reading

Posted in Categories, Others | 1 Comment

Cheat Sheet for Programmer and designers

Cheat sheet is only way to collection very important information in one page.In that way we can easily refer and remember function and syntax rather than go to website and find correct syntax. when I was in school,my professor allowed … Continue reading

Posted in Categories, Others | Comments Off on Cheat Sheet for Programmer and designers

Fonts for web designer

I am totally amazed how to work on fonts. As per my knowledge, we have true type(.ttf) or open type(.otf) file in your PC, Mac or website folder and we have to call them in css. But recently css3 brings … Continue reading

Posted in Categories, CSS3 | Comments Off on Fonts for web designer

HTML5

Lots of thinking about HTML5 but we are still waiting for final approval from W3C.I am very curious when HTML5 support all browsers specially internet explorer,that time will become golden for every web developer.They can make more advance application and … Continue reading

Posted in Categories, HTML5 | Comments Off on HTML5