Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ukblackcat

  1. ukblackcat

    How do I reference files one level up from the document root?

    Ahhh! Thanks sleipnir214, I'll try that :-)
  2. ukblackcat

    How do I reference files one level up from the document root?

    I've tried to stick to the recommended setup (as detailed in the readme) as far as possible, but I'm not comfortable with the sensitive files being accessible - hence the post. The readme file states that the only include() that's required is the line: <?php include(&quot;protect.php&quot;)...
  3. ukblackcat

    How do I reference files one level up from the document root?

    Ok, my apologies if I mislead you and thank you for your help.
  4. ukblackcat

    How do I reference files one level up from the document root?

    The script (pageprotect http://php.warpedweb.net/) uses 4 separate PHP pages - Login, Conf, Protect and Admin. Effectively, the file pointers are set up in the Conf file as in the example snippet given below: // Sets the path to the user data file which stores the username/encrypted password...
  5. ukblackcat

    How do I reference files one level up from the document root?

    I've been searching the web all day for some form of answer to this but with no joy... I have a PHP login script that works fine, and uses separate users.dat and log.dat files that are in plain text format (the passwords are md5 encoded). I don't want these to be at the document root level or...

Part and Inventory Search

Back
Top