Fixing bugs in CSS, Sunday, June 29, 2008

A high-quality web designer has to undergo every time he or she codes a page using CSS for design. Web Standards is the only way to go and it must be an obvious option when you take your job serious.

Confirm your markup is well structured

Make sure your markup is finely ordered, in other words make use of the suitable markup for the appropriate content. Apply headings for titles, paragraphs for blocks of text, ordered and unordered lists to sum things up in list form or for your navigation, field sets in combination with legend and label elements for forms... Finally, use tables only for what they are used for, tabular data.

Validate your markup

It's not pretty much the green check mark in the bottom right hand corner of your browser or 0 errors or warning on the W3C Validator that matters. This is only an additional check and a confirmation that your code validates. The W3C markup validator or W3C CSS validator should be your tools to make your page an error free. Tools that facilitate you to create the right coding, but consider that this is just a machine that runs a test for you. Some coding faults, for instance using the incorrect or structure-less code for certain content will not be seen as an error by this machine, so make sure this is in order. Validate the pages is an absolute necessity before you begin to fix any CSS layout problems.

posted by candy @ 10:18 PM permanent link   |

Post a Comment

|

4 comments
Steps to clear the Dreamweaver's Start up Error, Tuesday, June 24, 2008

Most of the Macromedia's Dreamweaver user may face the "dwscripts is not defined" in the startup. This may cause when the user may not shut it properly when he used Dreamweaver previously. To clear this error from the startup is so easy, simply follow the steps provided below.

1) First make sure you have closed your Dreamweaver application.
2) Now go to the following path in your computer respectively
C:\Documents and Settings\Administrator\Application Data\Macromedia\Dreamweaver 8\Configuration
3) In the 'Configuration' folder delete the file WinFileCache*.dat.
4) Now restart your DreamWeaver application

You may now open your Dreamweaver application without any issues.

Please note that the "Application Data" folder is hidden by default, so you have to change your Windows Explorer Folder Options setting to view all hidden folders.

Labels:

posted by candy @ 11:06 PM permanent link   |

Post a Comment

|

0 comments
About curl, Sunday, June 22, 2008

cURL is the name of the project. The name is a play on 'Client for URLs', originally with URL spelled in uppercase, it obvious it deals with URLs. The fact it can also be called 'see URL' also helped, it works as an abbreviation for "Client URL Request Library" or why not the recursive version: "Curl URL Request Library".

The cURL project produces two products:

libcurl

A free and easy to use the Client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, SCP, SFTP, TFTP, TELNET, DICT, FILE and LDAP. Libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and more!

libcurl is highly portable, it builds and works identically on numerous platforms, including DOS ,Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, AIX, HPUX, IRIX, Tru64, Linux, UnixWare, HURD, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare and more.

libcurl is free, thread-safe, IPv6 compatible, feature rich, well supported and fast.

curl

curl is a command line tool for getting or sending files using URL syntax.

Since curl uses libcurl, it supports a range of common Internet protocols, currently including HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, LDAP, DICT, TELNET and FILE.

We pronounce curl and cURL with an initial k sound: [kurl].

Test with the following PHP code:

$url = "https://www.searchenginegenie.com";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_VERBOSE, 1);
curl_setopt($ch, CURLOPT_POST, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);
$returned = curl_exec($ch);
curl_close ($ch);
echo $returned;

posted by candy @ 11:32 PM permanent link   |

Post a Comment

|

0 comments
To keep your PC's Cool.., Monday, June 16, 2008

Normally during summer our PC components run themselves much hot abnormally. These computer components were not designed in such a way to work above a certain temperature.

So for a trouble-free computing, please follow the steps provided below to make sure that your PC stays cool.

1) Computer fans are one of most important component in PC's, without them computer's processor, hard disk and other very important parts may scorch and in due course fail or may slow down your computer speed or to working intermittently.

a. So once a year or especially beginning of summer is the right time to inspect the all the PC fans(i.e. processor fans, external fans) to ensure that they are working properly or not.

b. Clean the fans regularly as all the fans collect dust and function less efficiently as a result.

2) The Term 'Overclocking' is the used to attempts to run your computer parts at higher voltages or speeds than they were designed to support. You may configure the basic input output system (BIOS) by pressing DEL or F2 buttons when your computer boots up. But make sure unless you know what you're doing and have taken steps specifically to provide extra cooling to your computer, avoid the attraction of Overclocking. If your cooling fails, your components will overheat much faster than otherwise - and may even be damaged permanently.

3) The next main thing is where you are placing your computer, when it comes to keeping your computer cool. It's better to place your computers on the floor, if possible, since its cooler down there - and move them close to an air conditioning vent, too, if one is available. Do not place them close to other heat-generating devices.

4) One of the next most important computer components is Monitor; it generates a lot of heat when turned on - even when they're not displaying an image. Get into the habit of turning off your monitor when you step away from the computer for extended periods of time.

You may also install and use few computer software programs which allow you to monitor your pc's temperature. These utilities will prompt you when your computer components gets too hot.

posted by candy @ 11:36 PM permanent link   |

Post a Comment

|

0 comments
Mobile Web, Friday, June 13, 2008

The Mobile Web refers to the access to wireless data services using a mobile device such as cell phones, PDAs, and other portable are connected to a mobile telecoms network. The service can be to the traditional WWW (World Wide Web) or to any one of more limited service platforms such as WAP (Wireless Application Protocol), i-Mode and Blackberry services.

While many think that mobile web or mobile Internet means access to the traditional Internet using a mobile phone or device. The access to the traditional Internet, but it can be to less than the Internet, as typically is with WAP services, or it can be to more than the Internet, the data services that do not even exist on the traditional Internet, such as SMS text messaging and ring tones. The mobile web is similar to, but not identical to the traditional Internet and WWW.

However, Mobile Web access today still suffers some usability problems. This is in part due to the small physical size of the screens of the mobile devices and in part due to the incompatibility of many mobile devices with not only computer operating systems, but also the format of much of the information available on the Internet.

posted by candy @ 12:50 AM permanent link   |

Post a Comment

|

0 comments
Most Dangerous Domains to browse, Wednesday, June 11, 2008

McAfee corporation has released the Most Dangerous Domains to surf and search on the internet. As per the new McAfee "Mapping the Mal Web Revisited" report, Hong Kong (.hk) domain was in the first place as the most dangerous place to surf on the web. The report exposed that nearly 19.2 percent of all websites ending with the domain ".hk" create a security treat to the internet users.

Jeff Green, Senior VP of Product Development & Avert Labs said, "Just like the real world, the virtual threats and risks are constantly changing. As our research shows, websites that are safe today can be dangerous tomorrow. Surfing the web-based or conventional wisdom is not enough to avoid risk online,"

China (".cn") positioned second this year over 11 percent. The most risky generic domain from 2007's report became more dangerous with 11.8 percent of all sites ending in (".info") posing a security threat and is the third most dangerous domain overall. The most popular domain, (".com"), is the ninth riskiest overall.

In the reverse Finland (".fi") replaced Ireland (".is") as the safest online target with 0.05 percent, followed by Japan (".jp"), while government websites (".gov") remained the safest generic domain.

The study compared the ratings of sites found in each of the 265 countries and generic domains and ranked them by the number of risky websites found in each domain that contained adware, spyware, viruses, spam, excessive pop-ups, browser exploits or links to other red-rated sites.

posted by candy @ 10:56 PM permanent link   |

Post a Comment

|

0 comments
,

McAfee corporation has released the Most Dangerous Domains to surf and search on the internet. As per the new McAfee "Mapping the Mal Web Revisited" report, Hong Kong (.hk) domain was in the first place as the most dangerous place to surf on the web. The report exposed that nearly 19.2 percent of all websites ending with the domain ".hk" create a security treat to the internet users.
Jeff Green, Senior VP of Product Development & Avert Labs said, "Just like the real world, the virtual threats and risks are constantly changing. As our research shows, websites that are safe today can be dangerous tomorrow. Surfing the web-based or conventional wisdom is not enough to avoid risk online,"
China (".cn") positioned second this year over 11 percent. The most risky generic domain from 2007's report became more dangerous with 11.8 percent of all sites ending in (".info") posing a security threat and is the third most dangerous domain overall. The most popular domain, (".com"), is the ninth riskiest overall.
In the reverse Finland (".fi") replaced Ireland (".is") as the safest online target with 0.05 percent, followed by Japan (".jp"), while government websites (".gov") remained the safest generic domain.
The study compared the ratings of sites found in each of the 265 countries and generic domains and ranked them by the number of risky websites found in each domain that contained adware, spyware, viruses, spam, excessive pop-ups, browser exploits or links to other red-rated sites.

posted by candy @ 10:56 PM permanent link   |

Post a Comment

|

0 comments
Next Generation iPhone, Tuesday, June 10, 2008

Apple organization is going to release its next generation iPhone later this year. Apple's chief executive Steve Jobs, revealed last Monday about this low cost, faster and more powerful iPhone.

This new model fixes some of the most obvious failing of its first iPhone, which was released almost a year back. Analysts said that this clearly indicates the Apple's aim on to challenge Nokia for its domination on the international mobile phone market.

Most importantly the iPhone2.0 as Jobs called it, runs on 3G mobile networks rather than the slower Edge networks, and will sell for $199 for an 8GB device and $299 for a 16GB model. The original 8GB device sold for $599 when it went on sale last year.

Added to these new mobile features, it has GPS location tracking and is slightly thinner, has a full plastic back, solid metal buttons, 3.5-inch (9-centimetre) display, improved battery life, camera, a flush headphone jack and improved audio. The new model will go on sale on July 11.

posted by candy @ 11:36 PM permanent link   |

Post a Comment

|

0 comments
, Monday, June 9, 2008

ASP.NET is a web application framework developed by Microsoft, that programmers can use to build dynamic web sites, web applications and web services. First released in January 2002 with version 1.0 of the .NET Framework, and is the successor to ASP technology. ASP.NET is built on the Common Language Runtime, allow the programmers to write ASP.NET code using any supported .NET language.

Pages

ASP.NET pages, called as "web forms", are the main structure block for application development. Web forms are enclosed in files with an ASPX extension, these files contain static HTML or XHTML markup, as well as markup defining server-side Web Controls and User Controls where the programmers place all the required static and dynamic content for the web page. Dynamic code which runs on the server can be located in a page within a block which is similar to other web progress technologies such as PHP, JSP, and ASP.

Code-behind model

It is suggested by Microsoft for dealing with dynamic program code to use the code-behind model, which seats this code in a separate file or in a specially designated script tag. Code-behind files typically have names MyPage.aspx.cs or MyPage.aspx.vb based on the ASPX file name. When using this style of programming, the developer write code to reply to different events, like the page being loaded, or a control being clicked.

ASP.NET's code-behind model marks a departure from Classic ASP in that it encourage the programmers to build application with separation of presentation and content. In theory, this would allow a web designer, to focus on the design markup with less possible for disturbing the programming code that drives it.


posted by candy @ 11:33 PM permanent link   |

Post a Comment

|

0 comments
Much awaited Puma laptops chip is going to release, Thursday, June 5, 2008

Advanced Micro Devices is rolling out a much-awaited line-up of chips namely Puma for laptops.

Move comes after AMD posted its sixth consecutive quarterly loss in April amid missteps and market-share losses to Intel - its main competitor. The company sources said the launch of the processors and related parts is its largest-ever launch for notebook personal computers.

AMD counts more than 100 different notebook PCs designed to use versions of the Puma platform. "This is double the design wins over any previous mobile launches", said Leslie Sobon, Director of product marketing at AMD.

PC makers using Puma chips include Acer, Asus, Dell, Fujitsu Siemens Computers BV and Hewlett-Packard, she said. Prices for the mobile PCs will be mid-range for laptops, from about $700 up to $2,000. Most will be available in time for the back-to-school shopping season, and some will be available this week.

Growth in desktop PCs has been slowing for years, and the mobile segment is the fast growing area in the PC industry. Market research firm IDC predicts that consumers will buy more mobile PCs than desktop PCs by the end of this year.

posted by candy @ 6:10 AM permanent link   |

Post a Comment

|

0 comments
Adobe launches new version of Acrobat with Flash, Tuesday, June 3, 2008

Acrobat allows users to package documents so they can be read across different hardware and OS.

Acrobat 9 comes with Adobe's video-enabling software Flash. Users can include Flash-based videos when they create and share documents with the PDF (portable document format).

With a professional version of Acrobat 9, in that user could package a PowerPoint presentation not just with images, but also with an audio of the presenter's voice.

Adobe also launched Acrobat.com, which will host Web-based software services to supports to creation and sharing the document.

The San Jose-based software maker hasn't launched a new version of the Acrobat since November 2006, almost a year after it purchased Macromedia Inc., the creator of Flash software. Users have expected to see Flash integrated into Acrobat since that purchase, Lynch said.

posted by candy @ 10:25 PM permanent link   |

Post a Comment

|

0 comments
Windows 7,

No more mouse and keyboard to interact with the computers as Microsoft is going to release their next generation of Windows operating system. In this newer version you can control your computers using the touch screen technology as like Apple's iphone.

Microsoft chairman Bill Gates and Steve Ballmer, chief executive officer of Microsoft Corporation gave a quick look about a the new features during the All Things D technology conference on the last Tuesday night. Gates said, "The way you interact with the system will change dramatically, today almost all the interaction is keyboard-mouse. Over years to come, the role of speech, vision, ink - all of those things - will be huge."

This new operating system is expected to hit the stores by the end of 2009 or early 2010. Microsoft expects that this new Windows version will get a healthier reception than Windows Vista.

posted by candy @ 3:11 AM permanent link   |

Post a Comment

|

0 comments
Mysql_connect Vs Mysql_pconnect, Sunday, June 1, 2008

There are two different connections available, if you are connecting to a MySQL database in your PHP application, mysql_connect - which set up a new connection "each time" and mysql_pconnect which uses persistent connections.

Mysql_connect opens a new connection each time a PHP page is called, and closes the connection down again at the end of the request. It is perfect for pages that do not have a heavy usage.

Mysql_pconnect will also open a new connection when a PHP page is called, but it will NOT close the connection at the end of the request - instead, it will put aside it in a connection pool so that a succeeding request can persist to use the same connection. It's intended for pages that have a heavy usage - where the resources burn up by opening and closing connections every time might reduce performance.

But mysql_pconnect need some tuning of the servers and you may require limiting the numbers of connections / children and configuring timeouts and how to deal with idle children.

By using this you have some drawbacks as follows.
It does NOT give you sessions.
It does NOT give you a per-site-visitor login.
It does NOT give you any added functionality.

posted by candy @ 11:26 PM permanent link   |

Post a Comment

|

1 comments