phpAdsNew | ![]() |
5.5.3 | Client IP | |
|
||
There are two ways to specify a block of IP addresses: by providing the base IP and the net mask, or by using wildcard. For example:
|
||
5.5.4 | Domain | |
|
||
The Domain limitation can match a specific portion of the users domain. If you specify .nl as the limitation, you can deny or allow all users who are online in The Netherlands. How can this be useful? If you own a website which targets different countries and a client want to show his banner in only one specific country, you could allow this banner to be displayed only from that specific country. The client could also provide you with the same banner translated in a whole lot of different languages. All you have to do is to specify the correct country suffix with each banner.
|
||
5.5.5 | Language | |
|
||
For example: Belgium, a small country in Western-Europe is bi-lingual. In some parts of Belgium people speak Dutch, in other parts people speak French. If you operate a website in Belgium, or another country which is bi-lingual, it isn't possible to determine which language is spoken by your visitors by using Domain limitation, since both languages are spoken in the same country. However if you use Language limitation you could target a banner for a specific language. The Dutch version of the banner could only displayed be when the limitation is equal to nl-be, and the French version of the banner could only be displayed when the limitation is equal to fr-be. Language code usual consist of only 2 characters, in the example above, the language code is appended by a country code as well. This is because the language 'Dutch' isn't only spoken in Belgium, but also in the Netherlands. The same applies to French, which is spoken in Belgium, but also in France. If you want to target all users, who are using the French language you could just specify the language code fr. If you want to target only French speaking users in Belgium, you will have to specify the language code and the country code, in this case fr-be. It is possible to specify multiple languages inside your browser, but phpAdsNew will only take the default language into account. If you configure a banner to show only when the language limitation is equal to de (German), it won't show the banner if the default language is different from German, even if you specified German as a secondary language.
|
||
5.5.6 | User agent | |
|
||
You must specify a POSIX 1003.2 compliant regular expression, which must match the browser specified User agent. More information about POSIX regular expressions can be found in the regexp.7 man pages: http://linux.com.hk/man/showman.cgi?manpath=/man/man7/regex.7.inc For example:
|
||
5.5.7 | Weekday | |
|
||
|
||
5.5.8 | Time | |
|
||
|
||
5.5.9 | Source | |
|
||
For example:
|
||