Validating E-mail Addresses
Ok, let's take on e-mail addresses. There are three parts in an e-mail address: the POP3 user name (everything to the left of the '@'), the '@', and the server name (the rest). The user name may contain upper or lowercase letters, digits, periods ('.'), minus signs ('-'), and underscore signs ('_'). That's [...]
Validating Money Strings
Ok, we can now use what we've learned to work on something useful: a regular expression to check user input of an amount of money. A quantity of money can be written in four ways we can consider acceptable: "10000.00" and "10,000.00", and, without the cents, "10000" and "10,000". Let's begin with:
^[1-9][0-9]*$
That validates [...]
This site I'm working on relies heavily on user input through forms, and all that data needs to be checked before being sent a database. I knew PHP3's regular expression functions should solve my problem, but I didn't know how to form the regular expressions in the first place. What I needed were some sample [...]
Dưới đây là một số ví dụ về Ajax mình tổng hợp được trên internet nay upload lên đây chia sẻ cùng mọi người.Để download bạn click vào link download phía dưới đây:
Download code here
a2a_linkname="Một số ví dụ về Ajax";a2a_linkurl="http://blog.thegioiwebsite.net/some-ajax-example/";
Since posting my 2005 traffic figures recently, I’ve received many questions about how I was able to start this web site from scratch and build its traffic to over 700,000 visitors per month (Jan 2006 projection) in about 15 months — without spending any money on marketing or promotion. Building a high-traffic web site was [...]
7. Write what is true for you, and learn to live with the consequences.
If the stuff I’ve written on this site means I’ll never be able to run for a political office, I can live with that. I’m willing to write what is true for me, even if it goes against my social conditioning. Being [...]
In April 2006 my parents sold the house they had lived in for the past twelve years and purchased an historic mansion in Moose Jaw, Canada.
Originally built in 1908 by one of the wealthiest men in the city, the 3-story mansion has been a bed and breakfast since 2001.
Seeing that Moose Jaw had become a [...]
Question: How do I improve my Google Image Search Results?
Ranking high in Google’s image search can increase your traffic considerably. This is especially true if you can rank in the top three for search results that show images above the organic search results.
There are much less variables to consider with image search than with organic [...]
UltraBar emulates the most powerful features of the Google toolbar and extends them to virtually any search engine on the web — and it’s free.
Just about everyone who downloads the Google toolbar finds it indispensable. But there are times when you want to use other search engines, and though there are other engine-specific toolbars available, [...]
Out with the old - In with the new. There comes a time in the life span of every small business Web site when one must consider the pros and cons of a redesign – or at least a design update. A lot of times, the nature of small business is to worry about getting [...]
Since SES San Jose, I’ve been thinking a lot about this whole “Are paid links evil?” debate. Google says, “Don’t buy links to increase link popularity.” Web site owners say they have little choice because no one will link to them otherwise. Most mainstream SEOs agree aggressive linkers don’t deserve a halo over their heads. [...]
Description: openWYSIWYG is a 100% free cross-browser WYSIWYG editor that replaces the plain <textarea>s in your forms. Among its highlights are:
Format text, align paragraphs, create lists, insert images and tables, all visually.
View the HTML source code of what [...]
Description: "Show Hint" script displays an attractive hint box containing additional explanation on any item on your page. A hint box pops up next to the item when the mouse moves over it with [...]
Starting a Session
A session is a way to store information (in the form of variables) to be used across multiple pages. Unlike a cookie, specific variable information is not stored on the users computer. It is also unlike other variables in the sense that we are not passing them individually to each new page, [...]
PHP Visitor Tracking with Cookies
Cookies allow the webmaster to store information about the site visitor on their computer to be accessed again the next time they visit. One common use of cookies is to store your username and password on your computer so you don't need to login again each time you visit a website. [...]
« Trang trước —
Trang sau »