All posts from Blog : blog.thegioiwebsite.net
Submitted : Sat, Mar 22 2008, 23:36
You can use a simple PHP script to redirect a user from the page they entered to a different web page. One reason you may want to do this is that the page they are trying to access no longer exists. Using this method, they can be seamlessly transfere...
http://blog.thegioiwebsite.net/2008/01...
[More related posts here] tags :
No tags
Submitted : Sat, Mar 22 2008, 23:36
This page lists the available methods that can be used with date objects. Entries containing UTC refer to Coordinated Universal Time (UTC).
The UTC, FullYear, and Millisecond methods were added in Javascript 1.2
Ge...
http://blog.thegioiwebsite.net/2008/01...
[More related posts here] tags :
No tags
Submitted : Sat, Mar 22 2008, 23:36
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 comput...
http://blog.thegioiwebsite.net/2008/01...
[More related posts here] tags :
No tags
Submitted : Sat, Mar 22 2008, 23:36
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 sens...
http://blog.thegioiwebsite.net/2008/01...
[More related posts here] tags :
No tags
Submitted : Sat, Mar 22 2008, 23:36
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
 ...
http://blog.thegioiwebsite.net/2008/01...
[More related posts here] tags :
No tags
Submitted : Sat, Mar 22 2008, 23:36
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 exp...
http://blog.thegioiwebsite.net/2008/01...
[More related posts here] tags :
No tags
Submitted : Sat, Mar 22 2008, 23:36
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&quo...
http://blog.thegioiwebsite.net/2008/01...
[More related posts here] tags :
No tags
Submitted : Sat, Mar 22 2008, 23:36
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 ...
http://blog.thegioiwebsite.net/2008/01...
[More related posts here] tags :
No tags
Submitted : Sat, Mar 22 2008, 23:36
Other uses
Extracting Parts of a String
ereg() and eregi() have a feature that allows us to extract matches of patterns from strings (read the manual for details on how to use that). For instance, say we want do get the filename from a path/URL strin...
http://blog.thegioiwebsite.net/2008/01...
[More related posts here] tags :
No tags
Submitted : Sat, Mar 22 2008, 23:36
Ever use a Search Engine? I'm sure you have, lots of time. When Search Engines found thousands of results for a keyword do they spit out all the result in one page? Nope, they use paging to show the result little by little.
Paging means showin...
http://blog.thegioiwebsite.net/2008/01...
[More related posts here] tags :
No tags