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
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 07-03-2013, 11:54 PM   #1
Paully
www.Max-Hardcore.com
 
Paully's Avatar
 
Industry Role:
Join Date: Nov 2005
Posts: 1,556
What do you Recomend for Login Scripts

Hey GFY. Tell me the ups and downs of a php vs. javascr for simple login authorization. I can pop a protected apache .htpasswd auth. window but cant make it query and decrypt the .htpasswd file unless I add it manually.

Help a cracka super coders.

Thanks in advance

Paully
Paully is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2013, 01:23 AM   #2
mortenb
Confirmed User
 
mortenb's Avatar
 
Join Date: Jul 2004
Location: Denmark ICQ: 7880009
Posts: 2,203
You can't do secure login with straight frontend javascript. You will need some sort of serverside authentication.
mortenb is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2013, 01:35 AM   #3
Paully
www.Max-Hardcore.com
 
Paully's Avatar
 
Industry Role:
Join Date: Nov 2005
Posts: 1,556
Quote:
Originally Posted by mortenb View Post
You can't do secure login with straight frontend javascript. You will need some sort of serverside authentication.
OK. I can make it as secure as possible by servr auth. but not sure how to add a Success or try again or sign up here! if it fails. I could play with error pages but doesn't seem the way.

Everybody seems to use js to call up a login window and response.

Paully
Paully is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2013, 01:41 AM   #4
vdbucks
Monger Cash
 
Industry Role:
Join Date: Jul 2010
Posts: 2,773
What exactly are you trying to do? Authenticate users via php (or similar) against a .htaccess file?
vdbucks is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 07-04-2013, 01:59 AM   #5
Paully
www.Max-Hardcore.com
 
Paully's Avatar
 
Industry Role:
Join Date: Nov 2005
Posts: 1,556
Quote:
Originally Posted by vdbucks View Post
What exactly are you trying to do? Authenticate users via php (or similar) against a .htaccess file?
Yes. I get a few people asking wheres the login. Although your prompted when clicking on a video that is pass protected(24 hour cookie IP before login in again). I want to pop a login from a link that calls on htpasswd but i cant figure out the error pages to either join page on fail or keep them on the same page for success. When I add a user manually I can force the pop by max-hardcore.com/vids/ and it works=success but not for any existing members.

Talking to Certified. They got me covered I think. htaccess shit.
Paully 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



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.