Thursday, March 29, 2012

HTML If then statements?

Is it possible to determine the user's IP Address and then redirect to differant web sites using HTML? Or, can you only do this in ASP?

If so, how would you do it?

I know how to do it in vb.net using an aspx page, but I don't know how to do it using strictly HTML.

ThanksNo,

HTML is a mark up language only. Now you can use some other technologies such as asp, javascript, cgi, etc. to do this. There might also be a way to handle this at the server level also, but I am not so wise in that subject to offer a solution. Maybe someone else is.
In HTML? No, but you can use JavaScript to do it...
Check out http://www.dynamicdrive.com they have some scritps there that can do that...

TG
:wave:

No comments:

Post a Comment