₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,378 members, 8,450,043 topics. Date: Wednesday, 22 July 2026 at 05:35 PM

Toggle theme

Guru01's Posts

Nairaland ForumGuru01's ProfileGuru01's Posts

1 2 3 4 5 6 7 8 ... 41 42 43 44 45 46 47 (of 47 pages)

WebmastersRe: Wordpress Customization by guru01(m): 12:15pm On Jan 21, 2011
call me 08024496403
WebmastersRe: Wordpress Customization by guru01(m): 11:49am On Jan 21, 2011
I can handle the job, contact me @ affiliate.9ja@gmail.com for further details.
CareerRe: Determination Without Focus. by guru01(op): 11:35am On Dec 19, 2010
you are right, i have also noticed that i like doing so many thing without finishing one, and that has affected my programming life, i dont master one language b4 i will move to another.
Like early this year, i took a course on php after i finish, i neva gone thru it again until nw, i also did html and css, and nw am into graphic with photoshop and the rest.
Do you think i should start afresh from logic according to the wiki article u paste, or i should continue from where i stop, but add more discipline?
I dont mind starting over.
CareerRe: Determination Without Focus. by guru01(op): 10:25pm On Dec 18, 2010
Thx, i will do as you said.
CareerDetermination Without Focus. by guru01(op): 8:17am On Dec 18, 2010
Hello house,
whenever i determine to achieve something special in my career, at first i will focus on it but later on i will lose focus.
Please house this thing has affected me in most area of my life and i dont know what to do.
How can i solve this problem, to enable me achieve my goals for next year?
Regards.
CareerDetermination Without Focus. by guru01(op): 8:13am On Dec 18, 2010
Hello house,
whenever i determine to achieve something special in my career, at first i will focus on it but later on i will lose focus.
Please house this thing has affected me in most area of my life and i dont know what to do.
How can i solve this problem, to enable me achieve my goals for next year?
Regards.
CareerDetermination Without Focus. by guru01(op): 8:11am On Dec 18, 2010
Hello house,
whenever i determine to achieve something special in my career, at first i will focus on it but later on i will lose focus.
Please house this thing has affected me in most area of my life and i dont know what to do.
How can i solve this problem, to enable me achieve my goals for next year?
Regards.
ComputersHow Can I Open A Paypal Account by guru01(op): 9:27am On Oct 13, 2010
Hello house,
I need a way to open paypal account here in Nigeria and verify it legally so as to withdraw it easily.
I formerly open a paypal account and has funded my account with 150 usd, but now the account is being limited, i cant withdraw from it unless i provide a valid us address. If i can get someone to help me withdrawing this fund, we share the money.
But i still want to open new account.
WebmastersAdsense Is Not Appearing by guru01(op): 8:02am On Oct 13, 2010
Hello house,
My site is not showing adsense when browse with opera 4.2, pls what can i do to solve this problem.
WebmastersRe: Pls Teach Me Web Design And Development. by guru01(m): 9:52am On Sep 26, 2010
i have not gotten any impression yet !!
ComputersRe: I Am In A Deep Sh.t, Pls Help by guru01(m): 8:29pm On Sep 15, 2010
Beaf is rite.
WebmastersRe: Php Class For Beginners. Question Will Be Treated With High Priority. by guru01(m): 8:32pm On Sep 13, 2010
Sir pls i need ebooks on how to create login and out script.
How to create cms and mysql.
My email is affiliate.9ja@gmail.com
ProgrammingRe: Java Tutorials For Beginners (some Lectures In Pidgin) by guru01(m): 8:05pm On Sep 13, 2010
Bros i like this ur teaching, but make us understand wel. U no say we be noob, teach us like pikin.
God bless u.
AutosCub Motorcycle. by guru01(op): 12:08pm On Sep 12, 2010
Helo house,
Where can i buy a cub or scooter motorcycle in lagos.
Thanks.
BusinessRe: Is N500k Enough To Start Kerosene Supply Business? by guru01(m): 8:51pm On Jun 24, 2010
For those who want copies of the manual, I will send them out on Saturday morning.
@stagger
This is my email id, affiliate.9ja@gmail.com
Please i need the manual.

What is the minimum capital for a retailer,
Thanks.
WebmastersRe: Php Class For Beginners. Question Will Be Treated With High Priority. by guru01(m): 8:26pm On Jun 24, 2010
Seems the Nland don't allow such script.
Check this out for loginpage.php
<?php
$usern="";
$passwd="";
$errormessage ="";
//===========================================
//ESCAPING DANGEROUS SQL ATTACK,
//===========================================
function quote($value, $handle){
if (get_magic_quotes_gpc()){
$value=stripslashes($value);
}
if (!is_numeric($value)){
$value="'". mysql_real_escape_string($value, $handle). "'";
}
return $value;
}
if ($_SERVER['REQUEST_METHOD'] =='POST'){
$usern=$_POST['username'];
$passwd= $_POST['password'];

$usern= htmlspecialchars($usern);
$passwd=htmlspecialchars($passwd);
//=============================================
//CONNECTING TO THE LOCAL DATABASE,
//=============================================
$user_name="root";
$password="";
$database="mylogin";
$server="localhost";
$db_handle= mysql_connect($server, $user_name, $password);
$db_found= mysql_select_db($database, $db_handle);
if ($db_found){
$usern =quote($usern, $db_handle);
$passwd= quote($passwd, $db_handle);

$SQL= "SELECT * FROM log WHERE username=$usern AND password=md5($passwd)";
$result =mysql_query($SQL);
$num_rows= mysql_num_rows($result);
//================================================
//CHECK TO SEE IF $result VARIABLE IS True
//================================================
if (isset($_POST['submit'])==$result){
if($num_rows >0){
session_start();
$_SESSION['login']= "1";
header("location: welcome.php"wink;
}
else{
session_start();
$_SESSION['login']="";
header ("location: signup_page.php"wink;
}
}
else{
$errormessage= "Error logging in, please signup here!!";
$errormessage= "<a href=signup_page.php>Click Here</a>";
}
mysql_close($db_handle);
}

else{
$errormessage=" Invalid login details";
}
}

?>

<html>
<head><tittle><font color=blue size=15>BASIC TEST LOGIN PAGE</font></TITTLE>
</head>
<body>
<form name="login" method="POST"
action="loginpage.php">
USERNAME<input type="text" value=""
name="username" maxlength=20>
PASSWORD<input type=text value=""
name="password" maxlength=18><br>
<input type=submit value="Login"
name=submit ></form>
<p>
<?php echo $errormessage; ?>
</body>

This is for signup_page
<?php
$usern="";
$passwd="";
$errormessage="";
$num_rows= 0;
//session_start();
//if (!(isset($_SESSION['login']) && $_SESSION['login'] != '')) {
//header ("Location: login.php"wink;
//}

//set the session variable to 1, if the user signs up. That way, they can use the site straight away
//do you want to send the user a confirmation email?
//does the user need to validate an email address, before they can use the site?
//do you want to display a message for the user that a particular username is already taken?
//test to see if the u and p are long enough
//you might also want to test if the users is already logged in. That way, they can't sign up repeatedly without closing down the browser
//other login methods - set a cookie, and read that back for every page
//collect other information: date and time of login, ip address, etc
//don't store passwords without encrypting them
function quote($value, $handle){
if(get_magic_quotes_gpc()){
$value= stripslashes($value);
}
if(!is_numeric($value)){
$value ="'". mysql_real_escape_string($value, $handle). "'";
}
return $value;
}
if ($_SERVER['REQUEST_METHOD'] =='POST'){
//=================================================================
// GET THE CHOSEN U AND P, AND CHECK IT FOR DANGEROUS CHARCTERS
//===============================================================
$usern= $_POST['username'];
$passwd=$_POST['password'];
$usern= htmlspecialchars($usern);
$passwd=htmlspecialchars($passwd);
//=================================================================
// CHECK TO SEE IF U AND P ARE OF THE CORRECT LENGTH
//A MALICIOUS USER MIGHT TRY TO PASS A STRING THAT IS TOO LONG
// if no errors occur, then $errorMessage will be blank
//=================================================================
$ulength= strlen($usern);
$plength= strlen($passwd);
if($ulength >=10 && $ulength<=20){
$errormessage="";
}
else{
$errormessage =$errormessage. "Username must be 10 to 20 characters";
}
if ($plength >=8 && $plength <=16){
$errormessage="";
}
else{
$errormessage =$errormessage. "Password must be 8-16 characters";
}
//test to see if $errorMessage is blank
//if it is, then we can go ahead with the rest of the code
//if it's not, we can display the error

//====================================================================
// Write to the database
//====================================================================
if ($errormessage== ""wink{
$user_name="root";
$password="";
$server= "localhost";
$database= "mylogin";
$db_handle= mysql_connect($server, $user_name, $password);
$db_found= mysql_select_db($database, $db_handle);
if($db_found){
$usern =quote($usern, $db_handle);
$passwd=quote($passwd, $db_handle);

//========================================================
// CHECK THAT THE USERNAME IS NOT TAKEN
//========================================================
$SQL ="SELECT * FROM log WHERE username=$usern";
$result= mysql_query($SQL);
$num_rows=mysql_num_rows($result);
if($num_rows >0){
$errormessage= "Username already taken";
}
else{
$SQL= "INSERT INTO log (username, password) VALUES($usern, md5($passwd))";
$result =mysql_query($SQL);
mysql_close($db_handle);
//=================================================================================
// START THE SESSION AND PUT SOMETHING INTO THE
//SESSION VARIABLE CALLED login
// SEND USER TO A DIFFERENT PAGE AFTER SIGN UP
//=================================================================================
session_start();
$_SESSION['login']="1";
header ("location: welcome.php"wink;
}
}
else{
$errormessage= "Database NOT found";
}

}

}

?>

<html>
<head><tittle color=red size=12>
SIGN UP PAGE.com</tittle>
</head>
<body>
<form name="signup" method="POST"
action="signup_page.php">
USERNAME<input type=text
name=username value='' maxlength=20>
PASSWORD<input type=text value=''
name="password" maxlength=16><br>
<input type=submit name="submit_signup"
value="REGISTER">
<P>
<?PHP PRINT $errormessage; ?>
</body>
</html>

This is for welcome
<?php
session_start();
if (!(isset($_SESSION['login']) && $_SESSION['login'] !='')){
header ("location: loginpage2.php"wink;
}

?>
<html>
<head><tittle size=15>WELCOME <BR>
YOU'RE NOW LOGIN</tittle>
</head>
<body>
Welcome back!!
<p>
<a href="welcome_logout.php">Logout</a>
</body>
</html>

And this is for welcome_logout
<?php
session_start();
session_destroy();

?>
<html>
<head><tittle>LOGOUT PAGE</tittle>
</head>
<body>
User loged out!!<br>
<a href=loginpage.php>Click here to login</a>
</body>
</html>
Thanks
WebmastersRe: Php Class For Beginners. Question Will Be Treated With High Priority. by guru01(m): 8:12pm On Jun 24, 2010
Hello sir,
i am having problems with my login script, which i have tackle enough but i can't figure out the problem.
The problem is that after creating (loginpage.php, signup_page.php, welcome.php, welcome_logout.php) i tried to login through my loginpage.php after signing up to my dba,
but i found out that the loginpage.php still leads me to a signup_page.php instead of taking me to welcome.php.
But if i signup_page.php, it will take me to welcome.php.
Sir i don't know what to do again, so i brought my script for you to check if am mistaking something. Download it through the attachment.
Thanks
BusinessRe: Is N500k Enough To Start Kerosene Supply Business? by guru01(m): 11:38am On Jun 23, 2010
can #100000 start supply business or retailing business?
@stagger
thanks for your information.
Business To BusinessDpk Supplier Needed! by guru01(op): 8:23pm On Jun 18, 2010
Hi all,
I need a supplier of DPK in lagos.
Interested person should call 08139523410 or send an email to
affiliate.9ja@gmail.com with price details.
BusinessHow Lucrative Is Palm Oil Business by guru01(op): 8:18pm On Jun 18, 2010
Hi all,
I just need advice on how to go into palm oil business in lagos/nigeria.
I also like to get a supplier.
Thanks
AdvertsRe: How To Lift Dpk(kerosine) At #48 Frm Any Nnpc Depot In Nigeria! by guru01(m): 7:58pm On Jun 15, 2010
are you still available, because am interested.
BusinessKerosene Business Here by guru01(op): 7:50pm On Jun 15, 2010
Hi Nler's
I need a DPK supplier.
WebmastersRe: Aptech Accp/bsc. Student by guru01(op): 7:44pm On Jun 15, 2010
@PC GURU
how much do you think this program will cost?
BusinessRe: How Profitable Is Kerosene Business? by guru01(m): 7:36pm On Jun 15, 2010
Hi all,
I like to go into this business,
but i need someone who can put some experience into me, or someone who i can learn from.
Thanks.
EducationRe: Aptechs Accp - Need Help! by guru01(m): 8:43pm On Jun 08, 2010
me too!!
undecided
CareerRe: Any Aptech ACCP Graduant? by guru01(m): 8:42pm On Jun 08, 2010
Hi all
i like to go into this accp/bsc program, but i am not sure about the information i received from there site, pls anyone here who has undergo this program should post his own advice,
thanks.
EducationAccp/bsc Graduate/student by guru01(op): 8:22pm On Jun 08, 2010
Hello Nler's,
I like to know how lucrative this program is, and if all what is said by their website is true before i enrol.
Please anyone with information about the ACCP/BSC program should comment.
Thanks
ProgrammingRe: Nigerian Ethical Hackers In Here ---> by guru01(m): 7:54pm On Jun 08, 2010
count me in!

1 2 3 4 5 6 7 8 ... 41 42 43 44 45 46 47 (of 47 pages)