Articles
Туры в Лиллехаммер, Норвегия
- Администратор
- Хиты: 235
How many people are there on the site ?
- Администратор
- Хиты: 1060
Why is identifying users by IP a bad method? Let's think:
1. Some ISPs require the use of proxy servers from their clients, and taking this fact into consideration what will we get in the REMOTE_ADDR variable? That's right: the proxy server address! And if several users having the same provider enter the website the script will still think that it is one and the same user.
2. Some ISPs that provide access via cable networks, occasionally change the IP-addresses of users.
Unfortunately when Tim Berners Lee in 1991 was developing the HTTP protocol, he wanted it to be very fast, thus he deleted all information about the mode and thus he supplied Web developers with more work.
Обновлено 23.12.2010 21:17
Page caching with in PHP
- Администратор
- Хиты: 894
Hello dear colleagues and other readers. You are reading this article and it means that we both are interested in the pages caching to accelerate their loading time. Many people who start learning web programming languages tend to create something unique and provide it for the public use in the Internet as soon as possible, however, the majority of them do not think about the functionality of their applications. Therefore, this article aims at helping you increase your programs functionality by increasing the speed of loading pages.
Обновлено 23.12.2010 21:21
Examples of arrays
- Администратор
- Хиты: 897
Sooner or later every programmer to have to deal with such a concept as an array. Array can be regarded as a kind of variables, which store multiple values. Array is defined using the construction array (), in parentheses which indicates its value:
Обновлено 16.11.2010 11:07
Html forms
- Администратор
- Хиты: 723
Often the Web - sites you can find pages hosted on their HTML - forms. Web form - easy way to receive information from your visitors. An example of this - guest book - which provides feedback from visitors and developers of the site. Shape is as convenient for the developers site for the development of CMS, which keeps the main feature of the site - relevance. This article focuses on the basics of creating HTML-forms, their processing and data transmission method of the screens in the PHP-script.
1) Create a simple form
Tags <form> and </ form> define the beginning and end of the form. Rookie form <form> tag contains two attributes: action and method. The action attribute contains the URL of the script, which must be called to handle the scenario. Method attribute tells the browser what type of HTTP request should be used to send the form; possible values by POST or GET.
Note
Обновлено 16.11.2010 11:07
