Results 1 to 3 of 3

Thread: HTML If then statements?

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Oct 2001
    Location
    Indiana
    Posts
    612

    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.

    Thanks
    David Wilhelm

  2. #2
    PowerPoster hellswraith's Avatar
    Join Date
    Jul 2002
    Location
    Washington St.
    Posts
    2,464
    No,

    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.

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687
    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width