|
webdezzi (m)
|
Hi Emmanuel, Good to see Eggosbase go live, you might want to reserve egosbase.com, just to avoid headaches later on, the kind of headache seun is getting from [nairalist+s].com
|
|
|
|
|
|
|
|
slimjo
|
wen is d class begining again, plz lets let up the fire again webdizzi
|
|
|
|
|
|
RuuDie (m)
|
Can any1 explain to me with codes how to implement a login page which will also create the session variables etc. - the simplest method possible
Been reading a php tutorial but the explanation's quite complex and confusing.
|
|
|
|
|
|
biggjoe (m)
|
Can any1 explain to me with codes how to implement a login page which will also create the session variables etc. - the simplest method possible
Been reading a php tutorial but the explanation's quite complex and confusing.
Dreamweaver has a secure login script that can create sessions. It only requires a slight adjustment if you encrypted your password.
|
|
|
|
|
|
RuuDie (m)
|
Dreamweaver has a secure login script that can create sessions. It only requires a slight adjustment if you encrypted your password.
Hi joe, Can u please explain how it works
|
|
|
|
|
|
|
|
biggjoe (m)
|
Hi joe,
Can u please explain how it works
If u can use dreamweaver go to >> server behaviours >> user authentication >> login user The dialogue box will come up for you to fill in your database, form, redirection pages pages. DW lgin server behaviours also creates two sessions; $_SESSION['MM_Username'] and $_SESSION['MM_UserGroup'] its left for you to know how to make these two take effect on succesful login.
|
|
|
|
|
|
kok (m)
|
You guys are doing a great job in here. Kudos!! More blessings to you all! One love would make the world better place!
|
|
|
|
|
|
webdezzi (m)
|
also for session to work, you will need to check DW's login form page i dont know if they have fixed it now, They always leave out the session_start() function that function must run before any output.
|
|
|
|
|
|
*dhtml (m)
|
My own simple login implementation for learners goes like this: a 3 page sample: index.php : this is your home page. It will display login or logout depending on the state. login.php: the page to process the login. logout.php: to process your logout index.php <?php session_start();
if($_SESSION['login_user_mode']==true) { ?> Welcome Mr User to my secure php page <a href="logout.php">Logout here</a>
<?php } else { ?>
Please login to get started: [username: dhtml, password: ole]<br> <form action="login.php" method="post"> <input type="text" name="username"> <input type="password" name="password"> <input type="submit"> </form>
<?php } ?>
login.php <?php session_start();
$username=$_POST['username']; $password=$_POST['password'];
if($username=="dhtml"&&$password=="ole") { $_SESSION['login_user_mode']=true; //set this variable to true if login is correct } else { $_SESSION['login_user_mode']=false; //set this variable to false if login is in-correct }
ob_clean(); header("Location:index.php"); //redirect back to the home page ?>
logout.php <?php session_start();
$_SESSION['login_user_mode']=false; //logout user
ob_clean(); header("Location:index.php"); //redirect back to the home page ?>
Check online demo here: http://mwebng.net/demos/login2/Download here: http://mwebng.net/demos/login2/login2.zipThen step it up a lil bit advanced: http://mwebng.net/demos/login/step1http://mwebng.net/demos/login/step1.ziphttp://mwebng.net/demos/login/step2http://mwebng.net/demos/login/step2.zipAny further questions, ask them here, webdezzi or myself will answer them all, have a nice day y'al and dezzi, keep up the good work!
|
|
|
|
|
|
RuuDie (m)
|
The PHP keyword "die" - what exactly does it do and what other substitutes can be used in its place?
|
|
|
|
|
|
sledjama (m)
|
thanks dhtml.
trying to sensitize someone on the risk of not staying up to date with some current tactics employed by 419er. given the fact that i love to use the closest possible scenario as example. I got banned. who cares anyway, everyone has a reason for living.
Webdezzi is now Sledjama, Hopefully, i will be able to contribute to enuf threads before getting another bang.
|
|
|
|
|
|
*dhtml (m)
|
No problemo man. . .
|
|
|
|
|
|
fxmaxony (m)
|
@dhtml, pls can you help on how to design a fuctional form in a web page. thanks this will be appreciated
|
|
|
|
|
|
fxmaxony (m)
|
welcome@sledjama d webdezzi
|
|
|
|
|
|
*dhtml (m)
|
I am not exactly sure of what you mean by functional form, please expantiate, my sssinnglisheese is quite limited!
|
|
|
|
|
|
na2day? (m)
|
nice thread 
|
|
|
|
|
|
scottman (m)
|
Hello mates, I have gone tru all the articles here and I found myself lost, bcuz I am a new guy into the field and I am trying to build a website using macromedia (flash, fireworks and dreamweav, ) .Now how do I get my files togther and host them to the web? thanks folks. 
|
|
|
|
|
|
na2day? (m)
|
Hello mates, I have gone tru all the articles here and I found myself lost, bcuz I am a new guy into the field and I am trying to build a website using macromedia (flash, fireworks and dreamweav, ) .Now how do I get my files togther and host them to the web? thanks folks.  what kind'a site u wanna build? do u knw how to use the programs u mentioned? 
|
|
|
|
|
|
*dhtml (m)
|
what kind'a site u wanna build? do u knw how to use the programs u mentioned?  That guy sounds like ekaite (he is still tryin to)
|
|
|
|
|
|
na2day? (m)
|
That guy sounds like ekaite (he is still tryin to)
i am trying to get a feel of the guy, i wish they will be more specific rather than just throw a hail mary question on the forums
|
|
|
|
|
|
Efetur1
|
This is cool webdezzi! You've brought life to php programming. However, I like to just add that you should continue the good works and call for our help if you ever need any. Our skill span graphics design and programming. Thanks all, Efe www.websitedevelopmentng.com
|
|
|
|
|
|
*dhtml (m)
|
Efetur1, na wa for you o, so you are now using webdezzi's spot to advertise abi?
|
|
|
|
|
|
debest1 (m)
|
webdezzi, I need help with building a wedding website for a friend, i tend to use Dreamweaver/Photoshop so need your advice on how to proceed. my email is debest1@hotmail.co.ukcheers
|
|
|
|
|
|
*dhtml (m)
|
ok o, webdezzi it is your call.
|
|
|
|
|
|
Jayhey
|
Please I can't install the sql, when it trying to execute (Starting sql fail). Please I don't understand, Help meeeeeeeeeeeee!
|
|
|
|
|
|
yinka007 (m)
|
interesting topic
|
|
|
|
|
|