Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,096 members, 7,807,278 topics. Date: Wednesday, 24 April 2024 at 11:51 AM

Tutorial-building Dynamic Websites - Webmasters (5) - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Tutorial-building Dynamic Websites (17991 Views)

Tutorial: Building A Facebook Chat With Jquery/php / Building Dynamic Websites (Harvard College) / Building Dynamic Websites With MySQL And PHP (2) (3) (4)

(1) (2) (3) (4) (5) (6) (Reply) (Go Down)

Re: Tutorial-building Dynamic Websites by Nobody: 3:45pm On Apr 08, 2009
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
Re: Tutorial-building Dynamic Websites by thatsall: 1:43am On Apr 18, 2009
@ webdezzi,

pls i need a private chart with you. kindly contact me on mailme5485@yahoo.co.uk. pls asap.

thanks.
Re: Tutorial-building Dynamic Websites by slimjo: 5:37pm On Apr 24, 2009
wen is d class begining again, plz lets let up the fire again webdizzi
Re: Tutorial-building Dynamic Websites by RuuDie(m): 12:32pm On May 17, 2009
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.
Re: Tutorial-building Dynamic Websites by biggjoe(m): 8:21am On May 18, 2009
RuuDie:

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.
Re: Tutorial-building Dynamic Websites by RuuDie(m): 1:01pm On May 21, 2009
biggjoe:

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
Re: Tutorial-building Dynamic Websites by JJYOU: 1:22pm On May 21, 2009
1
Re: Tutorial-building Dynamic Websites by biggjoe(m): 10:46am On May 23, 2009
RuuDie:

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.
Re: Tutorial-building Dynamic Websites by kok(m): 1:58pm On May 26, 2009
You guys are doing a great job in here. Kudos!! More blessings to you all! One love would make the world better place!
Re: Tutorial-building Dynamic Websites by Nobody: 10:32pm On May 26, 2009
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.
Re: Tutorial-building Dynamic Websites by Nobody: 10:58am On May 28, 2009
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"wink {
$_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"wink; //redirect back to the home page
?>


logout.php

<?php
session_start();

$_SESSION['login_user_mode']=false; //logout user

ob_clean();
header("Location:index.php"wink; //redirect back to the home page
?>


Check online demo here: http://mwebng.net/demos/login2/
Download here: http://mwebng.net/demos/login2/login2.zip


Then step it up a lil bit advanced:

http://mwebng.net/demos/login/step1
http://mwebng.net/demos/login/step1.zip

http://mwebng.net/demos/login/step2
http://mwebng.net/demos/login/step2.zip

Any 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!
Re: Tutorial-building Dynamic Websites by RuuDie(m): 4:32pm On May 28, 2009
The PHP keyword "die" - what exactly does it do and what other substitutes can be used in its place?
Re: Tutorial-building Dynamic Websites by Nobody: 6:47pm On May 29, 2009
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.
Re: Tutorial-building Dynamic Websites by Nobody: 10:02am On May 30, 2009
No problemo man. . .
Re: Tutorial-building Dynamic Websites by fxmaxony(m): 1:37pm On Jun 11, 2009
@dhtml, pls can you help on how to design a fuctional form in a web page. thanks this will be appreciated
Re: Tutorial-building Dynamic Websites by fxmaxony(m): 1:41pm On Jun 11, 2009
welcome@sledjama d webdezzi
Re: Tutorial-building Dynamic Websites by Nobody: 8:08pm On Jun 11, 2009
I am not exactly sure of what you mean by functional form, please expantiate, my sssinnglisheese is quite limited!
Re: Tutorial-building Dynamic Websites by na2day2(m): 3:38am On Jul 21, 2009
nice thread wink wink
Re: Tutorial-building Dynamic Websites by scottman(m): 11:14pm On Jul 25, 2009
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. grin
Re: Tutorial-building Dynamic Websites by na2day2(m): 11:52pm On Jul 25, 2009
scottman:

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. grin


what kind'a site u wanna build? do u knw how to use the programs u mentioned? undecided undecided
Re: Tutorial-building Dynamic Websites by Nobody: 8:26pm On Jul 26, 2009
na2day?:


what kind'a site u wanna build? do u knw how to use the programs u mentioned? undecided undecided
That guy sounds like ekaite (he is still tryin to)
Re: Tutorial-building Dynamic Websites by na2day2(m): 8:20am On Jul 27, 2009
*dhtml:

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
Re: Tutorial-building Dynamic Websites by Efetur1: 8:47am On Jul 27, 2009
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
Re: Tutorial-building Dynamic Websites by Nobody: 5:14pm On Aug 05, 2009
Efetur1, na wa for you o, so you are now using webdezzi's spot to advertise abi?
Re: Tutorial-building Dynamic Websites by debest1(m): 4:28pm On Aug 07, 2009
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.uk
cheers
Re: Tutorial-building Dynamic Websites by Nobody: 12:05pm On Aug 09, 2009
ok o, webdezzi it is your call.
Re: Tutorial-building Dynamic Websites by Jayhey: 5:04pm On Aug 19, 2009
Please I can't install the sql, when it trying to execute (Starting sql fail). Please I don't understand, Help meeeeeeeeeeeee!
Re: Tutorial-building Dynamic Websites by yinka007(m): 8:58am On Sep 14, 2009
interesting topic
Re: Tutorial-building Dynamic Websites by jjjkkkooo: 12:06am On Dec 28, 2009
Good job. When are u coming to Abuja? I ll need to attend the training. Im from Osun state too. But based in Abuja
Re: Tutorial-building Dynamic Websites by fxmaxony(m): 10:00pm On Mar 21, 2010
when will this school re-open@ webdezzi the great
Re: Tutorial-building Dynamic Websites by shintaku(m): 11:24am On Aug 27, 2010
@webdezzi the great,

Please I need the ebook your are using for this Tutorial-building Dynamic Websites.
My email Id is: forum2k9@gmail.com. Thanks

Or if their is anyone who have it should pls forward it to me.

(1) (2) (3) (4) (5) (6) (Reply)

Learn The Domain Name Business - See What Sold, See What Just Dropped / Facebook Owner Mark Zuckerberg Reacts To President Trump Policy. / How To Transfer Data From S3/S4/S5/S6 To S7 Edge

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 32
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.