Redirect Page with HTML meta tag

Posted by Shek on June 19, 2010 under HTML | Be the First to Comment

We could redirect webpage by using HTML meta tag. The syntax of the meta is:
Read more of this article »

Refresh page with PHP function header()

Posted by Shek on December 25, 2008 under PHP | Be the First to Comment

Editor’s note: In my past post Redirect page using PHP function header(), I talked about how to redirect page with header() function. To refresh a page, by using the same function and redirect to the page to itself, then it has the refresh effect.

Read more of this article »

HTML form – submit to a new window

Posted by Shek on July 8, 2008 under HTML | Be the First to Comment

We use HTML form a lot for the user to input data and process those data from a PHP file, but with the standard code of a HTML form:

Read more of this article »

HTML form – Password Text Field

Posted by Shek on June 17, 2008 under HTML | Be the First to Comment

In some cases such as login system, the HTML form should contains a text field for the user to type in the password. But when the user types in the password, other might see the password from behind the user. To avoid from this happening, a password text field is needed. A password text field works when the user type the password into the text field, every character will turn into *.

Read more of this article »

Create check box by using the records from MySQL datebase as values

Posted by Shek on June 5, 2008 under PHP | Be the First to Comment

Editor’s note: To use the records in the MySQL database as the “values and display text” of the check box is a good idea for the administrator because he/she can add, update or delete check box’s items from the MySQL database, without touching the HTML source.
Read more of this article »

Check ip address of host or website with PHP function and HTML form

Posted by Shek on May 26, 2008 under PHP | Be the First to Comment

Editor’s note: There is a function in PHP to check the IP address of a host. It is called “gethostbyname()“. We could use it to check the IP address of a website. Steps are very simple: Put the website address into the function, for example: gethostbyname(www.phpsuperblog.com); and print the result out and then the IP address of the website would appear.
Read more of this article »

Page 2 of 612345...Last »