António Chinita wrote:
Hi António, I would be very interested to see how you implemented this within OutSystems.
If you are a regular computer user like me, you probably don't pay attention to concepts like domains, servers, IP addresses or domain names. Perhaps you think that these phrases are for computer nerds, or for those in the Information Technology field that need to know these to keep their jobs. Maybe for you, a computer serves it purpose if you can encode files, save documents, access the internet and visit the sites that you would like to see. However, unknown to many, websites will not be around if not for the domain server. If you have ever used the internet to send an email or check a social networking site, you have used several domain servers without realizing it.
sbobet
Here's an other way to check your domain name / ip-address.
First get the URL with the action "GetURL".(If you don't see this action, make sure you have it's reference added to your application. It can be found in the HTTPRequestHandler producer.)
Then you can use the return value of this GETURL action in an IF statement to check if a certain IP or domain name is part of it's URL.
Code Snippet IF statement
Index(GetURLName.URL,"1.1.1.1") = -1
If the IP address you are looking for is NOT part of the url it will return the value -1