Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Senior Member joncom11's Avatar
    Join Date
    Oct 2003
    Posts
    284
    Member #
    3532
    Is there a way to login to restricted folders within using the password promt that pops up? I know that for ftp's with IE, you can do ftp://usernameassword@serverort/dir/file.zip

    Can you do somethign similar for http?
    Pixel Fuse - Signature webpage, just a spashpage.
    Flash Frogger - Frogger remake, animated/coded in Flash (incomplete/discontinued)
    Daase Art Studio - Homepage of David Daase, a Canadian landscape artist - image gallery/showcase.
    More links if I think of some...

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    That works, but many new browsers block links in that form because it's commonly used for URL spoofing.
    filburt1, Web Design Forums.net founder
    Site of the Month contest: submit your site or vote for the winner!

  4. #3
    Member
    Join Date
    Jan 2005
    Posts
    97
    Member #
    8727
    Huh? I thought the only URL spoofing bug was with IE with the NUL byte or something... and it doesn't work anymore.

    Anyway, to answer joncom11, yes, with PHP with Apache(Apache only) you use a header() to send 'WWW-Authenticate: Basic realm="My Realm"', and get those variables using PHP_AUTH_USER & PHP_AUTH_PW.

    Read more here: http://www.php.net/manual/en/features.http-auth.php


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:24 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com