How Would I Create A Login System With Flash Then Load A Page?
I'm creating a login in system using flash mx, php and mysql. flash is being used to create the fields...i know (i think) how to get the login in working but what i'd like to know is how would i get (once the user has logged in) a page to load in a frame?
any help would be greatly appreciated.
View Complete Forum Thread with Replies
Related Forum Messages:
Create A Session For A Login System.
I have php 5 and I am trying to create a session for a login system. My code is below: <?php session_start(); register a session-variable session_register("color"); $color = "blue"; However upon running this script the following error occurs: "Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0" I can view the session being created in a tmp folder but cannot store variables within sessions or view the sessionID. I toggled the register_globals from off to on in the php.ini file and saved that however the changes were not reflected when I ran the script: </php phpinfo(); ?> Is there another way to toggle register_globals. Will this solve my sessions problem?
View Replies !
Login System - Is It I Need To Create .htaccess File?
if i let only registered user can login to the system, using the system such as add some record (add.php)but i must prevent either unregisterd or registerd user from directly add record in the system without login..that means they directly goto(for example)http://www.mypage.com/system/add.php and add record to the system. how can i do it? is it i need to create .htaccess file? how to create? any guide for doing a system like these?
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 !
Create A Pop-up (on Page Load) On Certain Dates
I'm new to PHP, and i want to create a pop-up (on page load) on certain dates.. What i have is the script for the pop-up: <body scroll="auto" <?php $today =date("d-F"); if ($today==$datum) {echo "onLoad=".$g_birthday_pop;}?>> The pop-script = $g_birthday_pop = <<<EOT "MM_openBrWindow('http://www.nu.nl','popup','width=300,height=300')" EOT; $datum is in another file (include/datum.php): <?php $datum= "30-December"; ?> And this works if the date is 30th of December, but i want it too on other dates that you put in $datum Something like: <?php $datum= "30-December";"10-March"; ?> So i want to control the pop-up just by editing the "datum.php"-file
View Replies !
What's The Best Way To Create A Page System?
what's the best way to create a page system? My problem is I have a lot of images (around 30) on 1 page that just goes straight down, what's the best way to make some sort of page system that puts like 5 images per page with 6 pages or something like that? Code:
View Replies !
Create A System Where On Every Page There Is A Box With A Space
I'd like to create a system where on every page there is a box with a space: username / password. Also there is one page with similar boxes, as well as one for email address and first/last name. When you sign up originally it takes the entered password and stores in mysql as md5() then when you login it will also md5() password. I want it to mp5() it from the browser once (javascript) and then again on the server for added security. Anyone can give me the code to this so I can learn the rest.
View Replies !
Trying To Create A Login Page Username Password...
i would like to control acces using username password login page, on my host they are using myphpadmin and i was able to create the DB but using dreamweaver i cant see the tables. Where to start, is there any tools that will facilitate this request, or am i doing something wrong with dreamweaver.
View Replies !
Create A Simple Login Page Using Php And A Post Form.
trying to create a simple login page using php and a post form. The following requirement holds, 1. there should NOT be any DB. 2. One user and one password is enough (yeah, said it was a simple one...) Tried with a function check_user() in a lib php-file, and a post form in the login page. Code as follow: <?php function check_user(){ global $userfield, $pwdfield; if( strcmp($_POST[$userfield],"user") == 0 ) { if( strcmp($_POST[$pwdfield],"pwd") == 0 ) { // Correct user echo("correctdir/album.htm"); } else { // Wrong pwd echo("../somdir/default.htm"); } else { // wrong user echo("../otherdir/default.htm"); } } } ?> and the login page for is: <?PHP require('../somelib/login_lib.php'); ?> .... <form name="form1" method="post" action="<?php check_user();?>"> <input type="text" name="userfield" > <input type="password" name="pwdfield" > <input type="submit" name="Log in" value="Log in"> </form>
View Replies !
Phpbb Create A Single Login/logout Page
We run a medium sized website that hosts a phpbb forum. We want to create a custom login/logout script, and I have tried really hard to decrypt the phpbb code but find it really difficult. Does anyone have a basic login/logout script that works with the phpbb database? So writing the sessions/cookies etc. I want to be able to create a single login/logout page where i process everything - ie: set sessions/cookies for login (but finding it hard to work out what values/names to set).
View Replies !
Create A Login Page That Sets A Session Variable
i am trying to create a login page that sets a session variable to be used at the beginning of each subsequent page to check if the login was valid. This is what I've got: Code: $process = $_POST['process']; $validated = 0; if ($process == 1) { $username = $_POST['username']; $password = $_POST['password']; $sql = "select * from user where username='$username' and password='$password'"; $result = mysql_query($sql) or die(mysql_error()); $num = mysql_num_rows($result); /*echo $num;*/ if($num <= 0 ) { $validated = 0; ...................
View Replies !
Login System - News System
i have to do a news system wich use php/mysql. i need 3 accounts: * a 'reader' who doesn't need to log in to read the news * a 'writer' who can write news in a pending news table * a 'moderator' which validate a pending news, and make it a regular news, viewable from the site (by the 'reader') This is a small web site, so i can't use SSL; and i use php sessions. Right now, i deal with account from a mysql users point of view, which means, that a 'reader' can access all the admin part of the site, but will ger errors when trying to read/write by sql query. I was wondering if somedody could give me a trick to deny access to the admin pages. Rigth now, i though about these: * by decoding mydql rights? (how) * by doing only-to-test query? (bad i think, especially for write right)
View Replies !
Login System
I have a site with a MySQL backend. It has a member-system. Members login with a small login-form that appears on every page (via include()) If members are logged in, the form disappears and a few extra links appear instead of the form. - If members log in, i want to redirect them, if succesful, back to the page they logged in from. Should i use an extra hidden form-field with the $_SERVER['request_uri'] or sould i use the $_SERVER['http_referer']? - In both cases, how can i check that the referer is from MY domain? if users login from http://domain.com/page.php i want to send them back to that page, and not to http://www.domain.com/page.php and vice versa. How do i make sure they come from 1 of my own pages, and it's accepted WITH and WITHOUT the
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 !
Cookie - Page Load Or Page Refresh
this is supposed to show file1.txt, then file2.txt and so on on page load or page refresh. But it only shows the first 2 txt files. Can someone help me find out why? I would think that as long as the cookie is still the same if (isset($_COOKIE['e'])) { setcookie("e", $a++, time()+60*60*24*30);} that it would go to the next text file but its not. Please let me know, thank you very much. <?php $max_files = 12; $a = 0; if($a == 0) {setcookie("e", $a, time()+60*60*24*30);} /* expire 30 days*/ if (isset($_COOKIE['e'])) { setcookie("e", $a++, time()+60*60*24*30);} if ($a == $max_files) $a; $include_file = "file" . $a . ".txt"; include ($include_file); ?>
View Replies !
Php Login System Has Errors In IE6
I've recently created a login system for a client, using PHP and MySQL. The user enters info, it checks the password compared to a hash in the database, and creates a session (which is stored in the database, due to shared server) and lets them in if they match. For some reason, it doesn't work in Internet Explorer 6, only. It works in Firefox, IE7, Opera. Don't know about Safari yet. Now, I'm running the TredoSoft Multiple IE app that allows for standalone versions of Internet Explorer, so I tentatively think it might be an issue with that. However, I've never heard of those kind of issues arising from use of Multiple IE. I suppose the session could be creating a cookie, which would explain the error, but I haven't told it to do so. I also haven't heard of IE6 treating server-side generated code so differently, though. Has anyone had experience with IE doing this, or with Multiple IE specifically doing this? If it's a Multiple IE thing, I can ignore it, but if not I obviously need to revisit some things.
View Replies !
Login System Using Serialize
I'm trying to make an array, and each little array in it it contains another array that has the username and password in it. I've expirimented with array in array and it worked, so i know its possible.. theres just something wrong. I have 4 pages: The Login page (index.php) The Signup Page (signup.php) The # of signups (people.txt) The actual Array <serialized> (u1337.txt) Here are my codes:
View Replies !
Secure Login System
I need a login system for some 'private' pages. Users should be pulled from a mysql DB. Now, i've read a lot on login systems, and somehow there's _always_ the discussion with sessions (hijacking), dynamic IPs/Proxies. One hand sessions on itself aren't secure (if in default tmp folder) on the other hand, validating by IP would lock out a lot of users. Now, what i wonder is, WHAT SHOULD I DO? I really don't know where to start anymore because there are so much do's and dont's on this ...
View Replies !
Cookie Login System
I have made myself a news posting script to add to my website. i have just recently tried to implemente some security to it, so people don't post unless they have access. which basically would be me. its split in to a few files below: PHP Code:
View Replies !
Yahoo! And Login System
[This is bit off-topic. I'm posting here to get some sort of PHP solution] This is regarding secure login implementation in PHP. I'm trying to understand <http://mail.yahoo.com/> If I understand right, they're passing the md5 hash instead of the password itself. But, I couldn't understand the use of "challenge" string in their mechanism. IIRC, sometimes ago, I read somewhere that this kind of system is not secure at all. Does anyone have any idea?
View Replies !
Login System + Popup
Previously i've posted a topic on retrieving images. ( http://groups-beta.google.com/group...aa7a7e1c3229697 ) It evolved into a topic on PHP/MySQL-login systems. My question was if it's possible to send session values along while opening a pop-up. Since then, i've read and read about sessions, hijacking etc. but still haven't found the right information to get what i want.. (Pop-up content depends on wether a user i logged in or not)
View Replies !
PHP + MySQL Login System
Can anyone help me out with a tutorial on how to make a basic PHP+MySQL login/registration system? I'm new to php and haven't integrated mysql at all yet and looking to do so in some of my other scripts.
View Replies !
Connecting Login System
I finally created a homegrown login/registration system that brings a tear to me eye. My only problem now is that I want to incorporate the message board that I already have (YaBB) but redirect all the login/registration stuff to my homegrown software. To do this I would have to dig deep into the YaBB code and find some way to make Perl and PHP communicate/share data. This seems like a big pain in the ass for me and I don't mind tearing out YaBB altogether but I definently don't want to develop a message board myself. point me in the direction of message board software that will integrate well into my independent login/authentication system? I don't mind making the adjustments to the message board code, as long as it is not too painful.
View Replies !
Login System Problems
i have posted previously with a problem with my login system, i have tried a different method now, where i have divided my code into separate pages, storing functions in one place, output processing in one place etc, which are called into pages using "require_once" command, which makes an easier to understand system and allows easier re-use of code. I am having a few problems with the system at the moment, focusing on the login itself. my login.php page doesn't show anything on screen at all! its just a plain white screen! The code for the login.php page is as follows: Code:
View Replies !
Login System: Security
I'm creating user login system. When user enters valid username and password, i set $_SESSION['uid'] = $user_id; Then in all user area pages i check if is $_SESSION['uid'] set and if this user id exists in my database. The question: it's enough secure? Can user (hacker) set his own $_SESSION['uid'] ? Maybe i should use a hash with user's password or something like that?
View Replies !
Coding A Login System
What I need for the system: -A login using a username and password -pages setup so only people that log in can view them -any databases and code to make the system run.
View Replies !
Code A Login System
how to code a Login system like myspace? Where you have to login with your email and password. Can anyone teach me over aol instant messenger?
View Replies !
Authentication/login System
I built my own authentication/login system. Once the user's name and password are validated against the database, a cookie is set with the username and salted md5 hash username string in there as well. My cookie validation will take the salted md5 hash of the username and compare it against the same salted md5 hash derived from the server. If the two match, I set the variables username and auth_token; auth_token will be given a value of 1. My problem is that some of the website features require members to be logged in and the special features pull data from the database according to the user's ID (or UID which is an integer.) I could create a function that grabs the set username and search the database for the UID, but this seems awkward and error prone. Is there a way to store the UID in either the cookie or session, that will allow me to access the UID without referencing the database and also shield it from basic attacks?
View Replies !
Faster Login System
I have 300.000 member in my database. I'm using the following SQL query to check username and password: Code: SELECT user, pass FROM users WHERE user = '$user' AND pass = '$pass' but wait. i have one field of last login user. last_login = > datetime field of user last login. any idea for faster login? by order last_login or create temporary table. for example: order 1000 last user logined by DESC and check user information.
View Replies !
MySQL Login System
i would post a tutorial for a php / mysql login system. This login system's password will be md5 encoded. You will have to make the script that adds the users yourself. Im just gonna post the login part today. Code:
View Replies !
User Login System
Before everyone jumps on the soapbox and yells 'HOTSCRIPTS!' at the same time let me say this: I've already been over hotscripts a dozen times hoping to find what I need, no luck. I've also searched google and this forum. Here what I'm after a simple & secure MySQL driven login system to use as a starting point to build a 'yahoo groups' style program (If anyone has a script like that that would be great, hotscripts doesn't). I'd build it myself but I don't have a lot of time on my hands. I know these requests are annoying but it's for a family emergency where I need to keep in touch with each other (big family) more efficiently than via telephone.
View Replies !
Login System, And Timestamp
im createing a new login system, before i was simply using cookies what i want to do is log every login, length and time in the database. so i want to create a new record, with a unique login id, and link it with the user id. then i want to know that particulay login id, to save in the cookie, so that when you logout, it retrives the login record, and updates the logout. what im looking for is a way to retrive the login id from the database, but the login is an auto increment, so its always unique. how would i retrive that particular record, without having to assing a unique value for the record from the php script.
View Replies !
Cookies With Two Login System
I have 2 login screens. The first one is in root/mod/login.php and is set like this. setcookie(cookiename,'data',$cookiepath,$cookiedomain, $cookiesecure). The second cookie is for the same type of login but in directory root/member/mod/login.php and the cookie is set the same. I thought as long as the cookiepath is set to '/' then it will be accessible throughout the whole site from any file.
View Replies !
Redirect From The Login Page To The Login Page
I have been working on a cms, and I got the login and main admin page working, so what I am trying to do is make it so if your not logged it, it redirects you to the login page. But the problem is once it gets to the login page, it continues to redirect from the login page to the login page, so its nonstop. How can I fix this.. Code:
View Replies !
Login System With Unique Content
Does anyone know of any tutorials or information on how I can set up a login page on my website that delivers members unique content?? i.e saves details about them, displays pages with information put their for them?
View Replies !
Login System - Managing Passwords
What is the general consensus here on storing passwords. Store them in a 1 way encryption scheme and if a user forgets it, make them create a new password, or store in a 2 way encrypt - decrypt scheme and send an email with their same password? I have been using the 1 way md5() hash for storing passwords. How do you do it??
View Replies !
Write A Login System For My Site
I am trying to write a login system for my site. The way it works now is a form with a UserName and UserPass sends those values to login.php login.php then looks at the values and checks if the user is logged in. If the user isn't already logged in via a cookie, then the user has a cookie created and gets to view some private information. Code:
View Replies !
Perfect Login And Logout System
I had created a system that allow user to login and view the info. the problem i faced were, how can i 100% capture user logout time? I try using javascript to capture user press "X" at top right but user can right click at tool bar and close the browser. At second scenarios, i cant capture the time user logout. the purpose i do that, is because i want limit one acct can login once at a time. Or any experts can provide me some idea?
View Replies !
|