Jump to content

nosheep

Members
  • Posts

    2
  • Joined

  • Last visited

About nosheep

  • Birthday 09/14/1967

Contact Methods

  • Website URL
    http://www.nosheepdesigns.com

Profile Information

  • Gender
    Not Telling
  • Location
    Clinton, NY

nosheep's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks so much! It's nice to know there are still good people in the world.
  2. I don't know if this is the correct forum or not, but I'm working on a site for a friend to host images. He wants members' images to only be able to be viewed a certain number of times per month. Where the problem comes in is trying to log the views in a database. I have used .htaccess successfully in the past to watermark and deny access to images if certain conditions were not met, but now, when I point the browser to a .jpg file, I get the error below: [b]Bad Request Your browser sent a request that this server could not understand. Invalid URI in request GET /joe/user_files/1.jpg HTTP/1.1[/b] The files that I need to track are in the folder /joe/user_files/ check_auth.php lives in the same folder. My .htaccess file looks like this: [code]AddHandler checkauth .jpg AddHandler checkauth .jpeg AddHandler checkauth .gif Action checkauth check_auth.php[/code] I can't for the life of me figure out what I'm doing wrong. I've also tried the code below in my .htaccess file to no avail: [code]AddHandler checkauth .jpg AddHandler checkauth .jpeg AddHandler checkauth .gif Action checkauth /user_files/check_auth.php[/code] I know that it is probably something super simple, but at the moment, I can't get past it. Thanks in advance for any help. - nosheep
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.