Webpage questions

Discussion in 'Web Design & Coding' started by JJH35, Oct 2, 2002.

  1. JJH35

    JJH35 OSNN Addict

    Messages:
    140
    how could insert code into my webpage that when a user reaches it, it will tell him his host an ip, also i saw before on a tech show, dont remember where, but i know theres also some code u can put in to, when a user gets there it will show him the contents of C:\. there both little joke things i just wanna scare my dumb friends with.
     
  2. Henyman

    Henyman Secret Goat Fetish Political User

    easyset way is to go to a site were you've seen it + right hand click,go down to view source + copy/paste it:p

    it's called "borrowing" + i do it if i see an efect i like:D
     
  3. JJH35

    JJH35 OSNN Addict

    Messages:
    140
    well i cant think of ne sites that have that stuff or i would have already did that, and i dont know the term or what i could do a search on, cause i cant think of ne thing that in would be in the subject of.
     
  4. Electronic Punk

    Electronic Punk Administrator Staff Member Political User Folding Team

    Messages:
    18,590
    Location:
    Copenhagen, Denmark
    The showing of the C:\ drive is using a frame or Iframe as for the ip, imagine it is javascript.
     
  5. Henyman

    Henyman Secret Goat Fetish Political User

    *Henyman nicks all of electronic punks hard hacked efects*
     
  6. scriptasylum

    scriptasylum Moderator

    Messages:
    832
    Location:
    Des Moines,IA
    Viewing the c drive is simpy using an iframe:

    <iframe width="200" height="300" src="file:///c:\"></iframe>