₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,134 members, 8,420,504 topics. Date: Thursday, 04 June 2026 at 10:29 PM

Toggle theme

Geniusng's Posts

Nairaland ForumGeniusng's ProfileGeniusng's Posts

1 2 3 4 5 6 7 8 9 10 11 12 (of 12 pages)

Jobs/Vacancies10 Vacant Positions At Trithel International Ltd by geniusng(op): 12:00pm On Apr 22, 2010
PROJECT /MAINTENANCE ENGINEER
PROJECT MAINTENANCE TECHNICIAN
INTERNAL AUDITOR/ACCOUNTS EXECUTIVE
SALES EXECUTIVE / ANALYST
SALES REPRESENTATIVE (MEDICAL)
SALES REPRESENTATIVE (COMMERCIAL)
ACCOUNTS ASSISTANT
ASSISTANT PRODUCTION SUPERVISOR/ FILLER
RECEPTIONIST / FRONT DESK OFFICER
SALES CLERK

Method of Application: Online

Closing Date: 4th May, 2010.

CLICK HERE APPLY ONLINE
Jobs/VacanciesBanking Jobs For Fresh Graduates by geniusng(op): 10:13am On Apr 19, 2010
RIMA Microfinance Vacancy
Closing Date: 27th April, 2010
Click Here For Details
Jobs/VacanciesNew Job Vacancies by geniusng(op): 5:22pm On Apr 18, 2010
Are you a  Job Seeker? Do you desire a highly paid Job in Nigeria or abroad?
If your  Answer to this  Question  is  YES! then Click below to apply for your Dream Job
Banking Job, Engineering Job, Accounting Job, Oil & Gas Jobs, I.C.T. Jobs, Health Jobs, etc.

Click Here
Nairaland GeneralFree Php Login Script Tutorial by geniusng(op): 6:20pm On Apr 08, 2010
Let me teach you how to create a simple login system with php + mysql script, this tutorial is easy to follow, follow it you step by step.

Overview
In this tutorial, let us create 3 files

1. main_login.php
2. checklogin.php
3. login_success.php

Step[/b]1. Create table "members" in database "test".
2. Create file main_login.php.
3. Create file checklogin.php.
4. Create file login_success.php.

[b](1) Create table "members"


CREATE TABLE `members` (
`id` int(4) NOT NULL auto_increment,
`username` varchar(65) NOT NULL default '',
`password` varchar(65) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;

--
-- Dumping data for table `members`
--

INSERT INTO `members` VALUES (1, 'john', '1234');
(2) Create file main_login.php
<table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<form name="form1" method="post" action="checklogin.php">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td colspan="3"><strong>Member Login </strong></td>
</tr>
<tr>
<td width="78">Username</td>
<td width="6">:</td>
<td width="294"><input name="myusername" type="text" id="myusername"></td>
</tr>
<tr>
<td>Password</td>
<td>:</td>
<td><input name="mypassword" type="password" id="mypassword"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><input type="submit" name="Submit" value="Login"></td>
</tr>
</table>
</td>
</form>
</tr>
</table>
(3) Create file checklogin.php
<?php
$host="localhost"; // Host name
$username=""; // Mysql username
$password=""; // Mysql password
$db_name="test"; // Database name
$tbl_name="members"; // Table name

// Connect to server and select databse.
mysql_connect("$host", "$username", "$password"winkor die("cannot connect"wink;
mysql_select_db("$db_name"winkor die("cannot select DB"wink;

// username and password sent from form
$myusername=$_POST['myusername'];
$mypassword=$_POST['mypassword'];

// To protect MySQL injection
$myusername = stripslashes($myusername);
$mypassword = stripslashes($mypassword);
$myusername = mysql_real_escape_string($myusername);
$mypassword = mysql_real_escape_string($mypassword);

$sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'";
$result=mysql_query($sql);

// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row

if($count==1){
// Register $myusername, $mypassword and redirect to file "login_success.php"
session_register("myusername"wink;
session_register("mypassword"wink;
header("location:login_success.php"wink;
}
else {
echo "Wrong Username or Password";
}
?>
(4) Create file login_success.php
// Check if session is not registered , redirect back to main page.
// Put this code in first line of web page.
<?
session_start();
if(!session_is_registered(myusername)){
header("location:main_login.php"wink;
}
?>

<html>
<body>
Login Successful
</body>
</html>
That's it, if you have any question feel free to call me or mail me info at codedwebmaster dot com
Nairaland GeneralFree Php Login Script Tutorial by geniusng(op): 6:16pm On Apr 08, 2010
Let me teach you how to create a simple login system with php + mysql script, this tutorial is easy to follow, follow it you step by step.

Overview
In this tutorial, let us create 3 files

1. main_login.php
2. checklogin.php
3. login_success.php

Step[/b]1. Create table "members" in database "test".
2. Create file main_login.php.
3. Create file checklogin.php.
4. Create file login_success.php.

[b](1) Create table "members"


CREATE TABLE `members` (
`id` int(4) NOT NULL auto_increment,
`username` varchar(65) NOT NULL default '',
`password` varchar(65) NOT NULL default '',
PRIMARY KEY (`id`)
) TYPE=MyISAM AUTO_INCREMENT=2 ;

--
-- Dumping data for table `members`
--

INSERT INTO `members` VALUES (1, 'john', '1234');
(2) Create file main_login.php
<table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<form name="form1" method="post" action="checklogin.php">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
<tr>
<td colspan="3"><strong>Member Login </strong></td>
</tr>
<tr>
<td width="78">Username</td>
<td width="6">:</td>
<td width="294"><input name="myusername" type="text" id="myusername"></td>
</tr>
<tr>
<td>Password</td>
<td>:</td>
<td><input name="mypassword" type="password" id="mypassword"></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><input type="submit" name="Submit" value="Login"></td>
</tr>
</table>
</td>
</form>
</tr>
</table>
(3) Create file checklogin.php
<?php
$host="localhost"; // Host name
$username=""; // Mysql username
$password=""; // Mysql password
$db_name="test"; // Database name
$tbl_name="members"; // Table name

// Connect to server and select databse.
mysql_connect("$host", "$username", "$password"winkor die("cannot connect"wink;
mysql_select_db("$db_name"winkor die("cannot select DB"wink;

// username and password sent from form
$myusername=$_POST['myusername'];
$mypassword=$_POST['mypassword'];

// To protect MySQL injection
$myusername = stripslashes($myusername);
$mypassword = stripslashes($mypassword);
$myusername = mysql_real_escape_string($myusername);
$mypassword = mysql_real_escape_string($mypassword);

$sql="SELECT * FROM $tbl_name WHERE username='$myusername' and password='$mypassword'";
$result=mysql_query($sql);

// Mysql_num_row is counting table row
$count=mysql_num_rows($result);
// If result matched $myusername and $mypassword, table row must be 1 row

if($count==1){
// Register $myusername, $mypassword and redirect to file "login_success.php"
session_register("myusername"wink;
session_register("mypassword"wink;
header("location:login_success.php"wink;
}
else {
echo "Wrong Username or Password";
}
?>
(4) Create file login_success.php
// Check if session is not registered , redirect back to main page.
// Put this code in first line of web page.
<?
session_start();
if(!session_is_registered(myusername)){
header("location:main_login.php"wink;
}
?>

<html>
<body>
Login Successful
</body>
</html>
That's it, if you have any question feel free to call me or mail me info at codedwebmaster dot com
Jobs/VacanciesNigerian Bottling Company Employing : Electrical Engineer by geniusng(op): 3:15pm On Apr 07, 2010
Follow the Topic:
CLICK HERE
Jobs/VacanciesNigerian Bottling Company Employing : Electrical Engineer by geniusng(op): 3:10pm On Apr 07, 2010
Jobs/VacanciesAdexen Is Recruiting A Project Hse Advisor by geniusng(op): 10:53am On Apr 02, 2010
Adexen Nigeria: Project HSE Advisor

Posted on April 1st, 2010 in HSE Jobs in Nigeria, Oil & Gas Jobs Nigeria
Adexen is recruiting a Project HSE Advisor for one of its clients - a leading industrial corporation focused on Oil & Gas construction and major marine services.

Follow this topic:
www.codedwebmaster.com/forum/index.php?topic=141.0
Jobs/VacanciesVacancies For Engineers/lawyers/marketers by geniusng(op): 6:54pm On Mar 30, 2010
Jobs/VacanciesJob Vacancies In A Leading Global Brand Of High Quality Electronic Company by geniusng(op): 5:58pm On Mar 24, 2010
WebmastersUrgent It Vacancy by geniusng(op): 1:32pm On Mar 23, 2010
Follow the Topic:
http://www.codedwebmaster.com/forum/index.php?topic=37

NB: REGISTER & LOGIN 4 URGENT VACANCIES
WebmastersCreative Web Developer/programmer Wanted At Fastecash by geniusng(op): 1:30pm On Mar 23, 2010
Follow the topic:
http://www.codedwebmaster.com/forum/index.php?topic=36.0

NB: REGISTER & LOGIN 4 URGENT VACANCIES
Jobs/VacanciesGoogle Jobs In Europe, Middle East And by geniusng(op): 11:08am On Mar 19, 2010

Jobs/VacanciesVacancy In Glaxosmithkline by geniusng(op): 3:24pm On Mar 18, 2010
WebmastersRe: Need A Php Form Maker Software (novice) by geniusng(m): 1:00pm On Mar 13, 2010
Get this E-book it will also help you.

Build Database Driven Website Using PHP & MySQL

To download go www.codedwebmaster.com

Register and Login with you Username and Password & Download Free

Stanislaus
WebmastersWebsite Forum Review by geniusng(op): 10:26am On Mar 12, 2010
Hi My Fellow Webmasters,
Please help me to review this FORUM.

www.codedwebmaster.com/forum
What do you think about the colour combination?

I will appreciate it if you can criticize constructively.

Thanks and remain blessed.

Webmaster
www.codedwebmaster.com
WebmastersCome And Learn Web Site Design Free Of Charge by geniusng(op): 11:31am On Mar 05, 2010
You still have the OPPORTUNITY to learn Web Site Design without paying a dime.

All you have to do is to to register and login with username

At www.codedwebmaster.com/register.php

Become Coded Webmaster Fan
www.codedwebmaster.com/fans_club.php
Thank you.
Bro. Stanley
08033398769
ComputersHello My Fellow Webmasters by geniusng(op): 8:00pm On Feb 28, 2010
Can we meet and discuss what concern us Nigeria Web Designers: Both New and
Old - Everybody is welcome. Let us meet at www.naijawebmasters.net Feel
free to tell me what you need. Email me: info@codedwebmaster.com or
info@naijawebmasters.net

I am looking forward to meet you in that community

Thank you.
Stanley
codedwebmaster.com
WebmastersGet Your Web Site Designed And Hosted Now Then Pay Later by geniusng(op): 11:06pm On Jan 31, 2010
Hello,
I am Bro. Stanley, the webmaster of www.codedwebmaster.com I am here to help you to get your own Web Site Registered, Designed and Hosted. Then you can pay later.

Domain name Registration = N1, 600 only

Don't waste time, Email me Now: info@codedwebmaster.com

Free Web Site Design Training is going on. Register Now at www.codedwebmaster.com and start your training.
WebmastersRe: Need A Web Site Moderator by geniusng(m): 2:17pm On Dec 29, 2009
I am interested and I am sure i can do it better. This is the latest website I registered and designed www.ifeanyieze.com, www.cidiproperties.com.

My contact: stanley@stanleyandgloria.com, calvarylove2002@yahoo.com

More about me and what I can do see my attached Resume.
Phone: 08033398769
Web MarketComplete Website 4 N10, 000 Only by geniusng(op): 6:36pm On Feb 23, 2009
Complete website for your business for just N10k.
For the sample of my past jobs go to
www.thegeniusng.com/webdesign

You can download our proposal when you get there.

We also train you to be the best webmaster.

Stanley
www.thegeniusng.com
08033398769

1 2 3 4 5 6 7 8 9 10 11 12 (of 12 pages)