Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: hide URL in address bar

  1. #1
    Join Date
    Jul 2006
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default hide URL in address bar

    I would like to make it so that no matter what page my visitors are on, the only thing they see in the address bar is "www.mydomain.com". I don't want the sub pages to be visible. Can anyone help me with this?

    Btw, I'm new here...Hi

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Before we answer you, a pretty obligatory question is: why?

    There is a way to do it, but it can greatly inconvenience users, and depending on how your site works, possibly render it unusable to some. Therefore, before we answer, I think it wise to determine if there is any other way of achieving what you want to do, or even whether it is necessary.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Frames.. (shudder)
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  4. #4
    Join Date
    Oct 2007
    Location
    somewhere
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Cool

    i was also wondering how to hide the url in the address bar but i was asking because i am in the process of making a site and i will have a chat on the site exclusively for a group i created and i want the chat to only be available through my site or by me giving out the address so how can i hide the url in the address bar???

  5. #5
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    No. You can use frames and have the address of the outermost frame appear, not of the actual page, but it is very easy to get around this.

    Why don't you use a password?
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #6
    Join Date
    Oct 2007
    Location
    somewhere
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question

    ok thnks 4 the reply but 2 things what do you mean by frames (srry im new to this) and i was thnkng of using a passwd but anybody can pass a passwd around the point of the chat is to promote my group and get more ppl to join if they ko about the group they wnt join the group if they can get the pass from someone else right?

  7. #7
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    If you give out any form of access, it can be spread around again, including a special URL... whatever.

    The only way to really lock people out would be to specifically identify each user.
    For example, you could have an account for each user and only allow one person per account at one time-- that way they can't give out their info as they'd already be using it. Also, if it is associated with their individual screen name, the users would be more hesitant to give out their "personal" login info.
    Secondly, you could actually block out people by IP address, but that would be complex and difficult to maintain. IP addresses change and are somewhat difficult to determine (you'd probably need to ask all of your friends to check-- and teach them how to check), plus it would be based on specific connections, so they'd only be allowed to log on from that computer-- and anyone else could from that as well.


    Frames... take a look at this tutorial here:
    http://www.htmlcodetutorial.com/frames/_FRAMESET.html

    You could use iframes instead, but a frameset would fit this best.

    HOWEVER!!! Framesets are not good for a number of reasons, so this isn't great solution.
    Anyone who knows what they are doing can get around it without much trouble as well.

    It's a gimmick that might trick a few people, but not a real solution.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  8. #8
    Join Date
    Oct 2007
    Location
    somewhere
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    thnks 4 the hlp and ur opinion i had considered individual usernames and passwrds but its like 400+ ppl in my group too many individual logins but n e wayz thnks again 4 the hlp

  9. #9
    Join Date
    May 2006
    Location
    Sydney, Australia - Near the coast.
    Posts
    1,995
    Thanks
    0
    Thanked 8 Times in 7 Posts

    Default

    Why don't you get them to register?
    Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
    Currently: enjoying the early holidays :)
    Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide

  10. #10
    Join Date
    Oct 2007
    Location
    somewhere
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    because i want this site to be as simple as possible for users and..... i dont know how to set something like that up

Bookmarks

Posting Permissions

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