Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > BlueVoda Tips, Tricks and Shortcuts

Notices

BlueVoda Tips, Tricks and Shortcuts Know a great BlueVoda (or Web design) tip or trick? Share it with the world here. Become famous for your brilliance! Please, No Questions or Problems!

Closed Thread
 
Thread Tools
  #1  
Old 06-28-2006, 06:01 PM
Corporal
 
Join Date: Jun 2006
Location: Belgium
Posts: 10
Post [TUTORIAL] Creating a login script for multiple users.

Have you ever wanted to make a login script so you can have membercontent?
This tutorial will show you how using php. No database will be used.

1) Creating a form
Here is the code for making the form. The form asks for your username and password. Save this code as login.php

Code:
<html>
<head>
<title>Please login</title>
</head>
<body>
<?php
if(isset($_GET["wrong"])){
echo("<b>Username or password is incorrect!<br />Please try again.</b>");
}
?>

<form action="login2.php" method="post">
<br />
Username:<br />
<input type="text" name="username" /><br />
Password:<br />
<input type="password" name="password" />
<br />
<br />
<input type="submit" value="Login" />
</form>

</body>
</html>
The piece of php code will tell the viewer that he or she typed a wrong username or password.
between the <form></form> tags we have 3 input fields. 1 for the username, 1 for the password, and 1 that will submit the inputs and send it to login2.php.
Note that the form will be sent using the "post" method. This is the safest.

2)Checking the userinput
In this step we will check if the username and password are correct.
This is done with php. No html will be used.
Create a new page and call it login2.php. Give it the following content:
PHP Code:
<?php
$usernames 
= array("user1""user2""user3""superman");
$passwords = array("pass1""pass2""password3""supermans password");
$page "mypage.php";



for(
$i=0;$i<count($usernames);$i++){
  
$logindata[$usernames[$i]]=$passwords[$i];
}
if(
$logindata[$_POST["username"]]==$_POST["password"]){
session_start();
$_SESSION["username"]=$_POST["username"];
header('Location: '.$page);
exit;
}else{
header('Location: login.php?wrong=1');
exit;
}
?>
You might want to edit the first 3 lines.
1)$usernames is an array with all the usernames. To add a new one:
PHP Code:
$usernames = array("user1""user2""user3""superman""new one"); 
2)$passwords is an array with all the passwords. To add a new one:
PHP Code:
$passwords = array("pass1""pass2""password3""supermans password""new one"); 
Make sure that the username and the password have the same position.
user1 will be able to login with the password pass1, not with any other password. user2 with pass2 and no other.
3)$page is the page the user will go to when he is logged in. Change mypage.php to the page you would like to be the main page for logged in users. make sure the quotationmarks are still around it!

3) Checking if the user is still logged in
Create a new page, call it login3.php with the following code:
PHP Code:
<?php
session_start
();
if(!isset(
$_SESSION["username"]){
header('Location: login.php');
exit;
}
?>
This code simply checks if the sesion that we made in login2.php has a value.
If it doesn't it sends you to the login page.

4) Making your pages protected
All the pages that you want to be protected need to have a .php extension! otherwise they cannot be protected. Add this piece of code to the first line.
PHP Code:
<?php require("login3.php"); ?>
Make sure it is on the first line. Otherwise it will give you an error.
Now you pages are protected! simple?


5) Extras
making a log out page:
make a new .php page and add the following contents at the very beginning:
PHP Code:
<?php session_start();session_unset();session_destroy(); ?>

Your fancy logout message here
create a link somewhere on your secured pages that leads to the logout page and the user will be logged out when he clicks the link.

An other extra: showing the user's name: just put this piece of code in any secured page where you want to show the name:
PHP Code:
<?php echo($_SESSION["username"]); ?>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 06-28-2006, 07:27 PM
Watdaflip's Avatar
Major General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 2,151
Default Re: [TUTORIAL] Creating a login script for multiple users.

Just keep in mind not to intergate this with your website using BV, because its impossible with BV to put php in before the head is declared. This is going to give you an error when using session_start();

session_start(); has to be declared on the first line of a page (or second if you count <?php) before any other header is declared
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 06-28-2006, 08:09 PM
Corporal
 
Join Date: Jun 2006
Location: Belgium
Posts: 10
Default Re: [TUTORIAL] Creating a login script for multiple users.

If you are using BV just create your page, save it nad then open it with notepad or an other plain text editor. Now you can add the php code.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old 07-11-2006, 07:41 AM
Private First Class
 
Join Date: Jun 2006
Posts: 9
Default Re: [TUTORIAL] Creating a login script for multiple users.

Quote:
Originally Posted by nbop
If you are using BV just create your page, save it nad then open it with notepad or an other plain text editor. Now you can add the php code.
sir,
will you please tell me how can l use the above script if I am using blue
voda.
How to save the pages as .php extension
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old 07-11-2006, 08:31 AM
Pablo's Avatar
Moderator
 
Join Date: May 2005
Posts: 507
Default Re: [TUTORIAL] Creating a login script for multiple users.

Quote:
Just keep in mind not to intergate this with your website using BV
Yes, you can insert this code directly into BV:
View->Page HTML->Start of Page
__________________
Forum Moderator
BlueVoda Specialist
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old 07-11-2006, 03:57 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,047
Default Re: [TUTORIAL] Creating a login script for multiple users.

Only one observation: the usernames and passwords in this script are hardcoded in the script itself. This means that the script - login2.php - needs to be edited manually everytime a new user must be added. This is not so convenient, if you expect to have many visitors. There will also be a "dead" time before the site administrator updated the script.
A solution would be offcourse to use a database, or, have the registration form info (username and password) writen in an file, wich could be in this way automatically updated.

However, very useful!. Well done mate!
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old 07-13-2006, 05:24 PM
Private First Class
 
Join Date: Jun 2006
Posts: 9
Default Re: [TUTORIAL] Creating a login script for multiple users.

I have got the downlodable pages from form maker now where to upload these pages and how to upload.

should it be upload thru publishing blue voda or
blue ftp or cpanel file manager.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old 07-13-2006, 05:33 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,047
Default Re: [TUTORIAL] Creating a login script for multiple users.

Read the installation instructions here
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old 07-17-2006, 12:34 AM
Private
 
Join Date: Jul 2006
Posts: 3
Thumbs up Re: [TUTORIAL] Creating a login script for multiple users.

Thanks nbop and other member for the tutorial creating vbmenu_register("postmenu_48386", true); login for multiple user, however, have created this on my site but don´t know what to do next, what area of my cpanel will i load this into as i am using cpanel and how do i create an account for the user so that as soon as he signin he will see his information, secondly do i need to create database for the login form and who. i will hope to hear from you soon about this
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old 07-17-2006, 06:44 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,047
Default Re: [TUTORIAL] Creating a login script for multiple users.

I'm afraid that the above script is not so automated. After a user has registered, you have to MANUALLY insert his username and password in the script as described above. Then you must upload again the updated script to your server and then let the new member know that he / she can go on visiting your site. Till you do this, he / she won't be able to loggin.
You don't need to create a database, not with this script.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old 07-18-2006, 01:21 AM
Private
 
Join Date: Jul 2006
Posts: 3
Default Re: [TUTORIAL] Creating a login script for multiple users.

Thanks for the reply what i am saying about is this, i have a site which have a registration page and login page, when a user register his information to the site throught eh login page what do i do next and how do i direct his register information to a page he will see when he login, i have don the pages discribe before but i want to know how i can setup a database for it as i am using cpanel
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #12  
Old 07-18-2006, 06:17 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,047
Default Re: [TUTORIAL] Creating a login script for multiple users.

The above script doesn't make use of a database. Also, it doesn't describe how to make a registration form. You need to
1. Create aregistration form where the user fills in his desired username and password along with other information. Set the form so that the info is sent to you through an email. Update the script with the new username and password, and re-upload it on the server. Let the user know that his registration has been approved and he may now loggin in your site.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #13  
Old 07-21-2006, 09:46 PM
Staff Sergeant
 
Join Date: Jun 2006
Posts: 37
Default Re: [TUTORIAL] Creating a login script for multiple users.

This script can be inserted into a Blue Voda page simply by using the html tool at the top of the left toolbar to insert an html box. Double-click the box to open it and paste in the code. The php code will be embedded in the page. However, there seems to be a problem with the script. This appears above the form fields for the Name and Password before and information is entered:

Username or password is incorrect!
Please try again.</B>"); } ?>
__________________
No matter how fast you are going, there is always someone trying to pass.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #14  
Old 07-21-2006, 10:02 PM
Staff Sergeant
 
Join Date: Jun 2006
Posts: 37
Default Re: [TUTORIAL] Creating a login script for multiple users.

also tried this by uploading the php file to my server. When I ran it I got the following error:
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /home/colescom/public_html/FormTools/phptest.php on line 8 Areany values supposed to load values supposed to be modified before running the script?
__________________
No matter how fast you are going, there is always someone trying to pass.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #15  
Old 07-24-2006, 01:39 AM
Private
 
Join Date: Jul 2006
Posts: 3
Default Re: [TUTORIAL] Creating a login script for multiple users.

Thanks i got ur explainatioon about the application form, plz can you give me step by step what files to create and what directory are needed to work all this and how do. where do i do when the information on the application form has been sent my email . what thing he see when i register user login
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #16  
Old 09-12-2006, 03:24 AM
Private
 
Join Date: Sep 2006
Posts: 1
Default Re: [TUTORIAL] Creating a login script for multiple users.

Hi...I tried to create a login using the script that was posted...I uploaded it to try it and I am receiving an error message.
The error message is saying the following:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /homepages/41/d171920401/htdocs/Beta_Site/login2.php on line 9

Does anyone have any suggestions what I m doing wrong?

Thanks,
John
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #17  
Old 10-02-2006, 06:12 PM
Sergeant
 
Join Date: Sep 2006
Posts: 34
Default Re: [TUTORIAL] Creating a login script for multiple users.

How do you set up a database containing all of my member login info?

Doug
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #18  
Old 11-28-2006, 05:41 AM
First Lieutenant
 
Join Date: Nov 2006
Posts: 180
Send a message via AIM to clanffa
Default Re: [TUTORIAL] Creating a login script for multiple users.

Quote:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/yumeqnm/public_html/login2.php:1) in /home/yumeqnm/public_html/login2.php on line 12

Warning: Cannot modify header information - headers already sent by (output started at /home/yumeqnm/public_html/login2.php:1) in /home/yumeqnm/public_html/login2.php on line 14



thats the error message i get
__________________
Clan FFA-Halo 2 MLG, Machinima, and Glitch Clan
http://www.ffaproam.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #19  
Old 11-28-2006, 05:48 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,047
Default Re: [TUTORIAL] Creating a login script for multiple users.

The session cache limiter command has to be before the session_start command. Change your script. However, it can also fail for other reasons too. Please post here the first 14 lines of your script.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #20  
Old 11-28-2006, 05:54 AM
First Lieutenant
 
Join Date: Nov 2006
Posts: 180
Send a message via AIM to clanffa
Default Re: [TUTORIAL] Creating a login script for multiple users.

Quote:
<?php
$usernames = array("user1", "user2", "user3", "superman");
$passwords = array("pass1", "pass2", "password3", "supermans password");
$page = "testlogin.php";



for($i=0;$i<count($usernames);$i++){
$logindata[$usernames[$i]]=$passwords[$i];
}
if($logindata[$_POST['username']]==$_POST[be 'password']){ what is this "be"?
session_start();
$_SESSION[username]=$_POST['username']; Should
header('Location: '.$page); Should be header ('Location $page');
First 14 just incase heres the rest
Quote:
exit;
}else{
header('Location: login.php?wrong=1');
exit;
}
?>
__________________
Clan FFA-Halo 2 MLG, Machinima, and Glitch Clan
http://www.ffaproam.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #21  
Old 11-28-2006, 06:08 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,047
Default Re: [TUTORIAL] Creating a login script for multiple users.

I found these in this part of the script. There might be other errors. Please also use single quotes, as i corrected it.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #22  
Old 11-28-2006, 06:15 AM
First Lieutenant
 
Join Date: Nov 2006
Posts: 180
Send a message via AIM to clanffa
Default Re: [TUTORIAL] Creating a login script for multiple users.

i fixed everything but still get the same error message!
__________________
Clan FFA-Halo 2 MLG, Machinima, and Glitch Clan
http://www.ffaproam.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #23  
Old 11-28-2006, 06:46 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,047
Default Re: [TUTORIAL] Creating a login script for multiple users.

Did you place this script inside a BV page ?
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #24  
Old 11-28-2006, 07:20 AM
First Lieutenant
 
Join Date: Nov 2006
Posts: 180
Send a message via AIM to clanffa
Default Re: [TUTORIAL] Creating a login script for multiple users.

no. I got to cpanel and then filemanager. I write scripts/edit/fix in notepad and then upload to public_html
__________________
Clan FFA-Halo 2 MLG, Machinima, and Glitch Clan
http://www.ffaproam.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #25  
Old 11-28-2006, 08:47 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,047
Default Re: [TUTORIAL] Creating a login script for multiple users.

Well, to debug i would need to install the whole script and see what it does. However, i see that you have a clan site. I beleive that such a script, where you should always update it manually, is not a good solution for you (i beleive that you expect to have many members, so you would need a script that allows users to register themselves, then the username and password are stored in a database, and the script would retreive the info from the database
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #26  
Old 11-29-2006, 01:42 AM
First Lieutenant
 
Join Date: Nov 2006
Posts: 180
Send a message via AIM to clanffa
Default Re: [TUTORIAL] Creating a login script for multiple users.

no, the script is for a friend of mine. and I dont mind managing his users. Also, he doesnt want auto registration. If you could debug the script for me that be sooo awsome!
__________________
Clan FFA-Halo 2 MLG, Machinima, and Glitch Clan
http://www.ffaproam.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #27  
Old 11-29-2006, 03:40 AM
First Lieutenant
 
Join Date: Nov 2006
Posts: 180
Send a message via AIM to clanffa
Default Re: [TUTORIAL] Creating a login script for multiple users.

also, navaldesign. consider writing a topic on a mysql login database script?
__________________
Clan FFA-Halo 2 MLG, Machinima, and Glitch Clan
http://www.ffaproam.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #28  
Old 11-29-2006, 09:50 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,047
Default Re: [TUTORIAL] Creating a login script for multiple users.

I do have a full MySQL login script that i created for my clients. However, it requires a registration form and some additional knowledge for installing it, since it is part of a major script system, it is not a stand alone.

Creating such scripts, and then creating a tutorial, is very time consuming, and since my work only allows for limited free time, i will do it when i'll be able to.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #29  
Old 11-30-2006, 01:56 AM
First Lieutenant
 
Join Date: Nov 2006
Posts: 180
Send a message via AIM to clanffa
Default Re: [TUTORIAL] Creating a login script for multiple users.

thank you very much navaldesign
__________________
Clan FFA-Halo 2 MLG, Machinima, and Glitch Clan
http://www.ffaproam.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #30  
Old 11-30-2006, 03:58 AM
First Lieutenant
 
Join Date: Nov 2006
Posts: 180
Send a message via AIM to clanffa
Default Re: [TUTORIAL] Creating a login script for multiple users.

so. should I just leave this script alone for now or......
__________________
Clan FFA-Halo 2 MLG, Machinima, and Glitch Clan
http://www.ffaproam.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #31  
Old 11-30-2006, 05:16 AM
First Lieutenant
 
Join Date: Nov 2006
Posts: 180
Send a message via AIM to clanffa
Default Re: [TUTORIAL] Creating a login script for multiple users.

just curoius.... naval, hows the debugging coming with the script?
__________________
Clan FFA-Halo 2 MLG, Machinima, and Glitch Clan
http://www.ffaproam.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #32  
Old 11-30-2006, 05:33 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,047
Default Re: [TUTORIAL] Creating a login script for multiple users.

Clanffa,

i'm sorry but i have not made myself clear. I wrote that in order to debug , i would need to install the script and see what it does. I'm sorry, i do not have all this time. As for my script, it also requires lot of time to create a tutorial based on it.

Your solution: a net search for "Free loggin script". You will find many, choose whichever you like.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #33  
Old 11-30-2006, 07:28 AM
First Lieutenant
 
Join Date: Nov 2006
Posts: 180
Send a message via AIM to clanffa
Default Re: [TUTORIAL] Creating a login script for multiple users.

oh ok. no problem navaldesign.
__________________
Clan FFA-Halo 2 MLG, Machinima, and Glitch Clan
http://www.ffaproam.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #34  
Old 12-02-2006, 06:44 AM
First Lieutenant
 
Join Date: Nov 2006
Posts: 180
Send a message via AIM to clanffa
Default Re: [TUTORIAL] Creating a login script for multiple users.

can someone plx try to fix the script. im super NOOB at php.
__________________
Clan FFA-Halo 2 MLG, Machinima, and Glitch Clan
http://www.ffaproam.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #35  
Old 12-11-2006, 06:15 AM
Private
 
Join Date: Dec 2006
Posts: 1
Question Re: [TUTORIAL] Creating a login script for multiple users.

Hellooo everyone :) I'm papichulo new to this site I hope to learn a whole -bunch from you'all.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #36  
Old 01-19-2007, 06:18 PM
Private
 
Join Date: Jan 2007
Posts: 1
Default Re: [TUTORIAL] Creating a login script for multiple users.

Right i have installed all of this code i have put the login pages 1-3 in my main directory and then creted a sub folder called members and creted a file called members.php. but no matter what i do i log in and i keeps on stoping at the login2.php page.

login1
login2
login3
members-members.php

Also even if i put in the wrong data you can still get redirected to login2.php.

you can see this at : http://fozze.8888mb.com/login.php.

Please help me!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #37  
Old 05-11-2007, 06:44 PM
Private
 
Join Date: May 2007
Posts: 1
Default Re: [TUTORIAL] Creating a login script for multiple users.

I have followed the directions to this tutorial but am having a problem. Any help available? Much appreciated.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #38  
Old 09-17-2008, 04:21 PM
davidundalicia's Avatar
General & Forum Moderator
 
Join Date: Mar 2006
Location: Mallorca, Spain
Posts: 6,437
Default Re: [TUTORIAL] Creating a login script for multiple users.

I have a free membership script that will do all of the above which uses a database:
If you want to try it out, go to this thread
http://www.vodahost.com/vodatalk/cus...-new-site.html
or click on the first entry under my signature.

For those who wish this to be installed for them, I can provide that service for a small fee.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #39  
Old 09-18-2008, 03:41 AM
Private First Class
 
Join Date: Aug 2008
Location: MN
Posts: 8
Default Re: [TUTORIAL] Creating a login script for multiple users.

I'm new w/ BV so could use some detail help!!!

I just want 1 user name/password for a site that I want only my team to have access to. (Each user doesn't need their own user name/password.)

So, step-by-step, what do I do?

From Pablo: Yes, you can insert this code directly into BV:
View->Page HTML->Start of Page

Which code?

Also, for the other pages that the main page links to, do they need codes?

Thanks for helping a newbie!!!
__________________
Thank you!

Lynn
www.lynnsbiz.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #40  
Old 09-18-2008, 07:43 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 10,047
Default Re: [TUTORIAL] Creating a login script for multiple users.

It is not only a simple oiece of code that you need. You also need, (if only one username / password are required) at least a login page with related code.

However, for your purposes, a protected folder will do the job the same way and much more easier for you. Please watch this tutorial:

http://www.vodahost.com/demowolf/x3/...3-protect.html


Create a protected folder, and publish ALL the pages that you only want your members to be able to reach, inside that folder. This way you don't need any login page or other, the necessary login popup is automatically displayed.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 05:48 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203