Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-22-2005, 06:48 AM   #1
frtaz
Registered User
 
Join Date: Oct 2005
Posts: 12
Password protect script Needed

I need a Members Login/Registration Password protect .htaccess and .htpasswd script. does anyone know of a good one that is FREE I am on A Unix server and do have MySQL
frtaz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2005, 06:50 AM   #2
johnnyhey
Confirmed User
 
Join Date: Jan 2004
Location: los angeles
Posts: 1,172
you get what you pay for, contact ray @ strongbox you nOOb
__________________
CandyDreams.com



shooter for hire

info[at]candydreams.com
ICQ:96563638
AIM: johnnyhey
johnnyhey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-22-2005, 10:39 AM   #3
frtaz
Registered User
 
Join Date: Oct 2005
Posts: 12
Thank I will look into them
frtaz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-23-2005, 08:23 AM   #4
adultseo
Confirmed User
 
Join Date: Jun 2005
Location: The Netherlands
Posts: 365
Include in your headers:


PHP Code:
 
include('authenticate.php'); 


File authenticate.php:


PHP Code:
 
<?php 

function authenticate() { 
    
header('WWW-Authenticate: Basic realm="Admin"'); 
    
header('HTTP/1.0 401 Unauthorized'); 
    print 
"NOT AUTHORIZED"
    exit; 
  } 


if (!isset(
$_SERVER['PHP_AUTH_USER'])) { authenticate(); } else { 
$result mysql_query("SELECT * FROM user_table WHERE username='$_SERVER[PHP_AUTH_USER]' and password='$_SERVER[PHP_AUTH_PW]' LIMIT 1"); 
if (
mysql_num_rows($result)) { 
$user mysql_fetch_array($resultMYSQL_ASSOC); 
} else { 
authenticate(); 
}} 

?>


Best Regards,
Adult SEO
__________________
The key to get ranked one in Google is to provide the best.
adultseo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-23-2005, 09:29 AM   #5
Dalai lama
Strength and Honor
 
Join Date: Jul 2004
Location: Europe
Posts: 16,540
Just use strongbox, costs you $100 but you get some good stuff.
__________________

A program you can trust.
Gallerybooster Run multiply TGPs of 1 script
Dalai lama is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-23-2005, 10:52 AM   #6
ghood
Registered User
 
Join Date: Nov 2004
Posts: 69
adultseo: haha91;? WTF?
__________________
Adult Sponsors Directory
ghood is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.