Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Login Tutorial?


just want to know if any one knows of a good tutorial that will show me how to make a simple login system so that users can register on my site?




View Complete Forum Thread with Replies

Related Forum Messages:
Secure Login Tutorial
I'm looking for a secure login script for a sort-of-community site...
(PHP, MySQL, sessions, or maybe something else ... )
I know there are a lot of scripts out there, but none of them really
seem secure, or have other kind of flaws (like IP based login etc.).

Why i'm asking here, is because there's experience out there, and i
hope experience can tell me what my best shot is. I'm aware that i will
very probably have to do some consessions ...
I'm not a PHP-er, but i have some PHP experience ...

View Replies !
SQL Login/logout Tutorial
Can anyone recomend a good tutorial for a log on system using sql? All the ones I've found so far are Mysql.

View Replies !
Tutorial To Make A Login System
im looking for a tutorial to make a login system, i have fou8nd one but apparently it isnt very secure, im looking for one that will email the user with a activation link.

View Replies !
PHP Tutorial For Building User-login Sites
I'm looking for a PHP tutorial that specializes in how to build sites
that are based around user logins. i.e. the user logs in on the front
page, and are taken to a main login page where fields on the page are
populated with values from some server-side database. Ideally, there
would be a server-side "user" database table, with fields such as
"age", so that you could insert a short tag in the PHP source like:

Your age is: <?php [something goes here] ?>

and the "age" value from the user table would be interpolated, such
that the "[something goes here]" in the example above would be
something short like "user.age", and not something clunky like an
entire SQL query statement. (Preferably the database lookup of the
user's record would be done just once per page load, or even once per
user login, so that it wouldn't require a separate database query to
populate every value on the page.) Also, ideally, a way to do queries
against other tables in the server-side database, so you could have
something in the page source like:

Your ordered items are: <?php [whatever goes here] ?>

which would query against another MySQL table like "orders" for orders
whose user_id field matched the "ID" field of the user in your "user"
table, and display the results in a table format according to some
specified template. Again, it would be elegant if the stuff in
"[whatever goes here]" could be brief (the bare minimum you'd need to
specify would be the "orders" table and the name of the template that
controls the formatting of the results), instead of having to be an
entire SQL query.

Can PHP do this? The first few sites that I found when searching for
"PHP tutorial":

http://www.php.net/tut.php
http://hotwired.lycos.com/webmonkey.../tutorial4.html
http://www.gimpster.com/wiki/PhpTutorial

didn't talk much about building a user-login site like the one I'm
describing. Is there a tutorial which specializes in how to build
that kind of site with PHP?

View Replies !
Login Problem - Can't Login(login Is Done In Index.php)
This is origially PMsys, I have edited it, and here is what I have done with the original
replace all $_COOKIE into $_SESSION changed all setcookie() into session_start() and defined those $_SESSION now the problem is I can't login(login is done in index.php), does anyone here got an idea why? I uploaded the whole pakage, but I think you only need to look at index.php and include/global.php.

View Replies !
Session Problem - Login Screen Continually Reloads After Pressing The Login Button
I am trying to get sessions to work on a log in screen to give certain
users access to certain pages/directories. The problem is that when
the login button is pushed (or the enter key pressed) the login screen
redraws, never loading the next page. I don't get any error messages.
I am using FreeBSD-5.1/Apache-2.0.46/MySQL-4.1.0.1/PHP-4.4.3.4

I have pasted the code below:

View Replies !
Login Lgout And Login Without Closing Session Gives Redirection Error
I am stepping through a text book that sets up different websites. The
one I am testing is user registration.

I set up the scripts and this is what I observe:

Login (verifying against a mysql db) - no problem.
Logout - no problem.

Close the browser and try again - no problem.

Login > Logout > Login WITHOUT closing browser I get:

An error occurred while loading http://login.php when it should redirect
me to http://localhost/index.php.

I read somewhere on the news group that the
header("Location: http://" . $_SERVER['HTTP_HOST'] . dirname
($_SERVER['PHP_SELF']) . "/index.php") (in my example code) is called
once and so the error?

The logout.php destroys the $_SESSION variables, session itself and any
cookies so I thought it would be "like new" the second time around?

It appears to be linked to sessions but don't know enough to know how to
correct.

View Replies !
Login Script Doesn't Display If The Login Is Correct Or Incorrect.
Below is the script I am using for my login page. It doesn't display if the login is correct or incorrect. All it does is clear the username and password box when I hit submit. I want it to display an error message if the login is incorrect and if it is correct redirect them to their own web page. I am putting the MySQL connection script in the header of the login.html is this wrong? Can someone please give me some pointers on how to get this script working?

<?php session_start();
$username = $_POST['username'];
$userpass = md5($_POST['password']);
$sql = "select * from usertable where username='$username' and password='$userpass'";
$result = mysql_query($sql);
if (mysql_num_rows($result)!= 1) {
$error = "Login failed";
} else {
$row = mysql_fetch_array($result);
$_SESSION['username'] = "$username";
$_SESSION['ip'] = $_SERVER['REMOTE_ADDR'];
header("Location: h*tp://www.w-------.com/$row['USLP']");
}
?>

View Replies !
How To Write A Simple Login Code For Users To Be Able To Login To My Site.
does anybody know how to write a simple login code for users to be able to login to my site.

View Replies !
Session Based Login Script Re Login Problem
I have built this login script, it logs u in and shows the first page... i have built it to be require()'ed, when i have required it from a browser script i made it loads the front page, then when i ask for browser.php?edit=file.html

It then asks me to re login and takes me back to the front page! PHP Code:

View Replies !
Create A Separate Page With One Login That Let's Me Login To All Of The Sripts At Once?
I'm building a website using various php scripts from I found on hotscripts. Because I'm not much of a programmer myself I'm using a separate script for the blog, another one for the links section and a different one for the gallery and so on. The downside to this is that I have to login on a separate page to update the gallery and another page to update the blog and so on.

Is there a simple way to either remove the need for a login for all the scripts and just create a separate page with one login that let's me login to all of the sripts at once?
Or if there's a script that can kinda save the passwords and logs in for me?

View Replies !
Secure Place To Store Login Info And How To Login With It
I had an idea to store my login code: ftp_login... in a separate file outside of the public_html dir and set full permission (777) to it.

1. Is that safe?

2. How do I call this function from inside another file?

function Login()
{
$connection= ftp_connect('ftp.me.com');
return ftp_login($connection, "me", "pass");
}

I was hoping to return connection but I don't know how to send pointers in php.

View Replies !
How To Develop A Login System That I Can Configure For 3 Or 5 Login Attempts?
This may have been asked before but I would like to learn how to develop a login system that I can configure for 3 or 5 login attempts.

Is there anyone that knows what I mean? as I am sure that it's a counter thing that I need to do but really not sure where to start. Code:

View Replies !
SSL Tutorial
Do you happen to know/have any website or tutorial on how to manage ssl website?

View Replies !
PHP & XML Tutorial?
I have tried so many PHP & XML tutorial but they are all not working properly.

Could you guys please show me a good and working properly PHP & XML tutorial,
a very nice and clear tutorial for beginners like me trying to learn them in combination.

View Replies !
PvP Tutorial
Does anyone know a good PvP tutorial, doesnt have to be easy to follow however it would be nice, or even if someone could write a VERY basic one on how to creat PvP pages.

I mean i only really need the basics and a explantion how it works, i did search on here and the main site but couldnt find one.

View Replies !
Php Tutorial
I am completely new to php (call me a noob if you'd like) and im hoping for a complete overview of php/mySQL. Every guide ive seen makes no sense to me. You can also post some tips and hints to learning  Im a fast learner in my opinion... hoping to start a text-based game in about a year. 

I already have php/mySQL/apache and a ton of other junk that came with the Xampp download. Where the heck do i put scripts... and what are the different servers for? Host im guessing.

View Replies !
Best Tutorial?
what are the best tutorial / news PHP website ?

View Replies !
CMS Tutorial
jst wondering if anyone knows of any tutorials that will show the design and impl. of a simple cms. im thinking of making my own and tough i might get some ideas from such a tutorial or example. basically i have a site with following section

articles,
photos,
web dev articles etc.,
cd reviews,
receipes,
links in categories,

what would be the best way to apprach this. mostly everything will be article based i think. photo album will have a seperate script to load and display. all i need to do is upload the pics. just looking for sugesstions really. think it will be some sort of a system that is based on text files for content nad include to put it all together, would that make some sense?

View Replies !
Xml Tutorial
Can someone point me to an online tutorial of sorts that will explain xml,and it's usage in php.

I have limited php knowledge. I am building a custom shopping cart application. I need to use xml to get quotes from UPS online tools, and to pass and receive a response from our payment processor.

View Replies !
Authenticate The User With The Login.html, Login.php.
I am setting up a registration/login for my website with PHP and MYSQL. I have a register.html, register.php & a login.html, login.php.

I can successfully register a user (using register.html, register.php) into my database. Now, I am trying to authenticate the user with the login.html, login.php.

When I try to do so, however, I always recieve my error message "failed." It will not authenticate (despite several attempts of logging in with the same username and password of that which is in my database.) Code:

View Replies !
Hiding Login & Password Fields After Login
I am hoping to do the following, the homepage shows a username and password field. Once the user enters a scucessfull login, these fields are removed.

In order to achieve this, must the page be based on one big IF ELSE statement? so...

If user logged in hide username & password fields
Else show page with username and password fields?

OR is this acheived by redirecting the user to a page that is not the homepage after a successfull login? so...

the user would login sucessfully and be redirected to a homepage identical to the one with the fields but will have the username & password fields removed?

View Replies !
Main Page Login = Forum Login
This is going to be a website for a club im in at University. Now, I only want members of that club to be able to register.

The problem is that they pay a member fee. I want to know a way that when they pay me the fee (in person) I can give them a unique confirmation number from which they can register properly (sorta like a CD-Key). Code:

View Replies !
Login Problem - Script For Login To My Web Site
i have a php script for login to my web site.it works very well when i test it in localhost but when i upload it to my site it is not allowing me login. Code:

View Replies !
Login Script That Doesn't Let Me Login Or Redirect.
I have a login script that doesn't let me login or redirect. Code:

View Replies !
Cron Tutorial
anybody now good tutorial on cron??
thanks

View Replies !
HTML_AJAX Tutorial
Thos who are interested to develop applications using HTML_AJAX,
please take a look at this tutorial

http://www.troymcilvena.com/wordpress-and-html_ajax/

View Replies !
Devshed's JSP Tutorial
http://www.devshed.com/Server_Side/Jserv/JSP/page1.html an interesting introduction to the language - I wondered if any PHP-heads are fluent in both JSP and PHP and what the pros and cons of java server pages are comparably? the variable process looks a little excessive (certainly for simple scripts) to me.

View Replies !
Installation Tutorial
I'm having trouble with my windows PHP/MySQL. I have a few years experience with ColdFusion, so I'll do OK once I get the basics figured out. I ran the windows installer. I believe I have 4.3 installed. I've run through some of the kindergarten tutorials. But now I get to the tutorial on Creating a PHP login script and it's assuming I know all kinds of things like how to create a frigging batabase in the MySQL that I installed. It doesn't appear there's a user interface for MySQL built in, so I installed MyAdmin. But I can't seem to configure that.

This tutorial tells me to put in my username, pw, dbhost, and db name. I have no idea where to start!

View Replies !
Tutorial On URL Encoding?
Can anyone point me in the direction of a tutorial on URL encoding? I am creating a website and i want to use 1 page which contains the layout, then seperate pages with the content. i would do it something similar to this:

http://website.com/index.php?page=links

Then that would just call up a .inc page specified in the page= variable and display it on index.php.

View Replies !
PHP Poll Tutorial
I am running through a tutorial on how to generate a poll using PHP and mySQL, I have inputted the code exactly as it states, but I keep getting this error: Parse error: parse error, unexpected $end in C:Program FilesApacheApache2htdocsaby.php on line 75.

There are only 75 lines in my code, so I assume I mistyped something somewhere. Does anything in the following code look wrong to anyone? I deleted the username and password for obvious reasons, but they are set right. PHP Code:

View Replies !
Mail() Tutorial
I need to send e-mail to a list I have created from a MySQL DB. I have the list working from a Friends page. It works great. I have a list of e-mail address. That part is fine. I am sending them fine. The part that I am having a problem with is when I send the e-mails if one is not delivered how do you know?

Does anybody know how to check to see the bounce backs. Do you need to set something in the header of the e-mail when sending the e-mail to send it to a mailbox if it is non-deliverable?

View Replies !
Very Basic PHP Tutorial Available?
I am not a programmer, and I want to do a 301 redirect for my site and do not have access to htaccess.

But I do have access to PHP apparently with certain site packages (and found the code to use online). I signed up and got lots of great new files and have no clue what to do with them.

So, is there a really basic step-by-step tutorial for what to do with PHP? I just want to forward my html pages, and need a really basic instruction source that probably starts something like: make a new file and name it X.

View Replies !
PHP4->PH5 Tutorial
Seen that support for PHP4 will be dropped at the end of the year I was
thinking that maybe now might be a good time to start moving things.

Is there a tutorial as to what I need to look out for?

And, Could I run both version on my test server? Or do I need to have
to Apache servers running?

View Replies !
PHP SOAP Tutorial Please?
anyone got a decent PHP SOAP tutorial?

View Replies !
Begining - Tutorial
i need to begin in php. is there any tutorial to begin? (i started an
hour ago .....)

i copied this first example

<html>
<head>
<titleHello World </title>
</head>
<body>

Hello, world!

<?php

echo 'This is my first PHP web page.'

?>

</body>
</html>

and saved as .html file, and when i open it with the browser, it
appears only the html part, but not php ....

View Replies !
PHP Cookies Tutorial
I was wondering if someone could point me to a good offline or online (I would prefer offline though) resource to get the gripps on dealing with cookies (both persistent and seesion based) to create an online application for one of my customer.

It will have almost the same capabilities than a ecommerce site, i.e. adding products and quatity to basket, retrieving basket info, retrieving past order info (for a short time i.e. a week or so), saving current basket for 24 hours and submitting order.

The diff with ecommerce site is that this would be for members and I would manage the product list so no need for fancy backend capabilities.

View Replies !
PHP&MYSQL Tutorial
Does anyone know of a good php&mysql tutorial?

View Replies !
Php Tutorial For Beginner
I want to learn php so please send me any best php tutorial site for beginner by which i can get a basic and advance knowledge of php.

View Replies !
Pagination Tutorial
I followed the pagination tutorial provided on the site and everything worked out perfect... then it hit me. If I use this tutorial to display my articles, the order will be backwards. My oldest article will always be first. I see there is a comments section at the end of the tutorial and I can see that someone already tried to address that issue.

I just can't get the comments to show up. I only see their titles. Can someone either explain how to see the comments at the end of the tutorial or possibly post the solution here?

View Replies !
Video Tutorial
I'm trying to make a video tutorial on basic PHP and I don't even know why we use quotation marks such as in echo statements. All I know is that we have to use them. So why do we use quotation marks? I want to say "We use quotation marks to tell PHP that were are starting the string".

View Replies !
Good Tutorial
does any one know of some good tutorial that go through using smarty for a web site?

View Replies !
Database Tutorial
it was one of the better tutorials I've seen, but the author seemed to go off on tangents that made it hard to follow. He went over delete, update and sort options that should have been included in with the script he made available at the end of the tutorial.

It seems odd to go through all that trouble talking about it and not include it. It makes sense to be able to do these things in HTML from the Website, but instead you have to go into PhpMyAdmin and make your changes or deletes.

Can someone tell me how I can hack the add.html script to be able to modify, update and delete entries into the database from this HTML page?

View Replies !
PHP Tutorial/PHP Site
Can anyone please give me a tutorial for a simple-simplest site you can make by PHP.

View Replies !
Session Tutorial?
Does anyone know of a SIMPLE tutorial that explains and demonstrates how to create sessions, use sessions with cookies and destroy sessions.

I want to create a simple application where the 1 user... ME can stay logged in and span multiple pages. I have created everything i need to log in but don't know much about sessions.

All i can find are massive tutorials spanning everything from registering to forgetting your password. I just need something that covers sessions and cookies. Not everything else inbetween.

View Replies !
Oracle Tutorial
Are there any tutorials on linking Oracle 10g and PHP? I currently have a PHP application that uses MySQL, but our database folks want to use Oracle.

I've read http://php.net/oracle and the basics seem to be there. But are there any sample scripts or anything that might help me get started?

View Replies !
Looked For Tutorial
i need some help writing a script. I need it to do this.

when the page http://blah.com/Updater.php?version=...sion2=infohere

i want were it says infohere to be written to a file, i have looked for tutorials, but i cant find one doing exactly what i want, and i can't figure it out by myself.

View Replies !
Starting Tutorial
I have the php & mysqul for dummies books and have found a few old tutorials. I thought I'd ask if anyone knows of an up to date tutorial for installing apache, mysql, php in order to get a web site up and running.

View Replies !
LDAP Tutorial
Is there any good tutorial for writing a simple LDAP apps using PHP?


View Replies !
Ftp Upload Tutorial?
does anybody know an easy tutorial to upload files from a form via php over ftp.

View Replies !
Gallery Tutorial
does anyone know a basic php gallery tutorial where the client will be able to upload there own images and this same image can be used as a thumbnail and a big picture.

View Replies !
Charting Tutorial
I am looking to build some charts using GD. while there are a plethora of pre-made scripts out there I want to build my own. I've been googling for tutorials that cover the basics of using GD and the math behind making charts but I'm coming up empty handed.
Are there any good tut's out there that I can use to help me?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved