SitePoint Sponsor

User Tag List

Results 1 to 12 of 12
  1. #1
    My true identity MaxS's Avatar
    Join Date
    Nov 2004
    Location
    New York
    Posts
    768
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How Can This Be done.. Please help..

    I have a form on my site. It consists of 2 fields for a username/password. I'd like it to work to login this site:
    http://www.campaignstats.net/cgi-bin...RQSNWZUTZHYBSY

    When it logs in, instead of opening in a new window or opening completely, I'd like the page to be php included so that people don't see the URL. I was thinking about using a frame but then all my pages would need to be a frame?

    Thanks guys

  2. #2
    SitePoint Wizard bronze trophy JRMillion's Avatar
    Join Date
    Apr 2004
    Location
    Arlington VA
    Posts
    2,094
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    little confused about what you are after....
    what URL are you trying to hide?

  3. #3
    My true identity MaxS's Avatar
    Join Date
    Nov 2004
    Location
    New York
    Posts
    768
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok
    I'd like the users to be able to login to http://www.campaignstats.net/cgi-bin...RQSNWZUTZHYBSY
    without having to go to the site.. I have a form setup so they can do so.
    But even if they log in via my site, they will still see that URL. That URL needs to be hidden. Any ideas?

  4. #4
    SitePoint Wizard bronze trophy JRMillion's Avatar
    Join Date
    Apr 2004
    Location
    Arlington VA
    Posts
    2,094
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok i see.
    yeah i think frames is how you gotta go....

  5. #5
    SitePoint Wizard bronze trophy JRMillion's Avatar
    Join Date
    Apr 2004
    Location
    Arlington VA
    Posts
    2,094
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    but that does not mean your whole site would need to be in frames... just the page used for the login....

  6. #6
    My true identity MaxS's Avatar
    Join Date
    Nov 2004
    Location
    New York
    Posts
    768
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can you please help me out with the code? Really sorry but I'm not very good with HTML At all.

    I appreciate your time..

  7. #7
    SitePoint Wizard bronze trophy JRMillion's Avatar
    Join Date
    Apr 2004
    Location
    Arlington VA
    Posts
    2,094
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    see this zip
    Attached Files Attached Files

  8. #8
    My true identity MaxS's Avatar
    Join Date
    Nov 2004
    Location
    New York
    Posts
    768
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot.. Just gotta wait for the Attatchment to be approved :|

  9. #9
    SitePoint Wizard bronze trophy JRMillion's Avatar
    Join Date
    Apr 2004
    Location
    Arlington VA
    Posts
    2,094
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    www.jamesrice.net/frames.zip

    keep in mind, these are all HTML files just as an example....
    but the same stuff can be done with PHP files or whatever you are using

  10. #10
    My true identity MaxS's Avatar
    Join Date
    Nov 2004
    Location
    New York
    Posts
    768
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't think we are on the "same page". Doesn't really seem as if that code would do much? Can we please speak on aim? My aim screenname is Maxworld99 ..

  11. #11
    SitePoint Wizard bronze trophy JRMillion's Avatar
    Join Date
    Apr 2004
    Location
    Arlington VA
    Posts
    2,094
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    im actually on my way out...
    the code i sent you is just meant to sort of mask a page...
    meaning the user sees index.html as the url, the page that shows in the browser is actually login.html.
    then once they login, the url will stay index.html, but the main window(login.html) will be replaced by the site they are logging into....

  12. #12
    My true identity MaxS's Avatar
    Join Date
    Nov 2004
    Location
    New York
    Posts
    768
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks a lot for your help.. I'm going to have to look for a bit of addition help though.

    I really appreciate it.

    Cheers


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
  •