₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,290 members, 8,449,586 topics. Date: Wednesday, 22 July 2026 at 04:27 AM

Toggle theme

Mj's Posts

Nairaland ForumMj's ProfileMj's Posts

1 2 3 4 5 6 7 8 ... 18 19 20 21 22 23 24 25 26 (of 28 pages)

WebmastersRe: Ciw Javascript Specialist Certification Exams? by mj(op): 3:44pm On Sep 20, 2010
@ Donpuzo . Thanks for the info, apart from this what exams, what other exams can a php/mysql developer writes? Thanks.
WebmastersCiw Javascript Specialist Certification Exams? by mj(op): 10:52am On Sep 20, 2010
Pls I want to know if anyway here has written the exams? Where, When and Whats the Price? Thanks.
ProgrammingRe: How May I Help You On Php Language, I'm A Php Guru? by mj(m): 8:42am On Sep 20, 2010
@dupsy_tosh , I corrected the script you wrote, and pasted it here that same Friday, I arrived office today and checked nairaland, its no longer here, it seems nairaland don't allow codes to be pasted here cos this is the second time its happening, anyway, I have sent it to your email, I just wanted other people to learn from it that's why I pasted it here.
ProgrammingRe: How May I Help You On Php Language, I'm A Php Guru? by mj(m): 5:52pm On Sep 17, 2010
<?php
/* Procedure
*********************************************
* ------------ *
* HTML Section *
* ------------ *
Step 1: Display the Html page to receive Authentication Parameters(Name & Password).
* ----------- *
* PHP Section *
* ----------- *
Step 2: IF POST array has some varibles then, perform authentication.

*********************************************
*/


include 'dbc.php';

/***************************** Step 2 ****************************/
if (isset($_POST['admsubmit']))
{

$adminname=$_POST['name'];
$adminpassword=$_POST['password'];
// To protect MySQL injection (more detail about MySQL injection)
$adminname = mysql_real_escape_string($adminname);
$mypassword = mysql_real_escape_string($adminpassword);
$encript_password=md5($mypassword);
$table_name = adminlogin; // name of your table in the database
$sql="SELECT * FROM $table_name WHERE adminname='$adminname' and adminpassword='$encript_password'";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
// If result matched count must be = 1
if($count==1){
session_start();
$_SESSION['admname'];
header("location:admwelcome.php"wink;
}
else {
$_GLOBALS['message']="Check Your user name and Password."; // if username or password does not match the query in the database


}
}

?>

<html>
<head>
<title>Administrator Login</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<link rel="stylesheet" type="text/css" href=", /oes.css"/>
</head>
<body>
<!--
*********************** Step 1 ****************************
-->
<?php

if($_GLOBALS['message'])
{
echo "<div class=\"message\">".$_GLOBALS['message']."</div>";
}
?>
<div id="container">
<div class="header">
<img style="margin:10px 2px 2px 10px;float:left;" height="80" width="200" src=", /images/logo.gif" alt="OES"/><h3 class="headtext"> &nbsp;Online Examination System </h3><h4 style="color:#ffffff;text-align:center;margin:0 0 5px 5px;">, because Examination Matters</h4>
</div>
<div class="menubar">
&nbsp;
</div>
<div class="page">
<form id="indexform" action="index.php" method="post">
<table cellpadding="30" cellspacing="10">
<tr>
<td>Admin Name</td>
<td><input type="text" name="name" value="" size="16" /></td>

</tr>
<tr>
<td> Password</td>
<td><input type="password" name="password" value="" size="16" /></td>
</tr>

<tr>
<td colspan="2">
<input type="submit" value="Log In" name="admsubmit" class="subbtn" />
</td><td></td>
</tr>
</table>

</form>

</div>

<div id="footer">

</div>
</div>
</body>
</html>
ProgrammingRe: How May I Help You On Php Language, I'm A Php Guru? by mj(m): 12:43pm On Sep 17, 2010
I've received your mail.
ProgrammingRe: How May I Help You On Php Language, I'm A Php Guru? by mj(m): 5:51pm On Sep 16, 2010
just click on your local host, but if you want to create database, query mysql, etc. then click on phpmyAdmin.
Tech JobsRe: Strong .net Developer Needed by mj(m): 11:13am On Sep 16, 2010
do we have soft ones? lol
ProgrammingRe: How May I Help You On Php Language, I'm A Php Guru? by mj(m): 10:51am On Sep 16, 2010
since you have it on your system, what do you want to do? let me know.
EducationRe: Unilorin Admission 2010/2011 by mj(m): 10:33am On Sep 15, 2010
ifkunlethe:
MJ. i take it that you are talking from xperience but, we cannot dispute the fact that people are different with different brains. Some would have to read deeply before they can grab something, while others read very little. If one can read deeply i believe, and then have group discussion, that is; combining the two styles, one would surely excel. I'm talking from xperience too though.


Mj. Which programming language do you know most?
I agree with you, for web programming mostly PHP, windows mostly vb.net, I use other programming languages also.
EducationRe: Unilorin Admission 2010/2011 by mj(m): 10:05am On Sep 15, 2010
pls dont mis quote me, i dont involve myself with dishonest things, let me tell you something, there are some of my friends that read beginning of the semester to the end, but whats the result? is it better than mine? i dont want to talk abt myself, probably if you see me in school you will get to know me. But let me tell you abt some1, my friend also,  studies a little but the right thing, goes to shows, when d exams comes-up,  group discussions, etc, result? CGPA 4.43. when you get to your 2nd year in Unilorin, thats when you will understand what i'm saying. there are people that study from morning till night always but you that will study a little (Experience) performs better, Sorry but thats the truth.
EducationRe: Unilorin Admission 2010/2011 by mj(m): 9:31am On Sep 15, 2010
Claroo:
@Chartey.i totally agree with u. if u think u re comin 2 unilorin to flex,then u re comin 2 d wrong skool.FACE your STUDIES OR FACE TANKE.
Quit funny, its true, you have to face your studies, 1 thing I can tell you from experience is that, its not all about reading,
ProgrammingRe: Pls Some Hel[ Me With This C++ by mj(m): 5:02pm On Sep 14, 2010
should i write the program for you with java, vb.net, c sharp, or php ? i dont write programs with C++.
ProgrammingRe: I Need Assitance In Vb.net Programming by mj(m): 9:19am On Sep 14, 2010
pls, I need materials on VB.net - programming, database, networking, etc, EBOOks or video, any. Thanks. mikejoe4real@yahoo.com
EducationRe: Unilorin Admission 2010/2011 by mj(m): 3:20pm On Sep 13, 2010
The present dean of Communication & Information Sciences (CIS) is Pro. Aina. Mr. Babatunde is still the Sub dean, wish you guys all the best,
EducationRe: Unilorin Admission 2010/2011 by mj(m): 9:29am On Sep 13, 2010
I'm been busy in programming section, i never knew this thread has gotten this far, anyway @ prof.ayola & teejay4lov , why are you so desperate, don't tell me you've joined Atiku Desperate Group. They only office I have not entered in unilorin is the VC's office, I have been to every other office  due to the work i'm doing for my school. No one can guarantee admission, why you, pls stop it, they will just tell you "I will do my best".
PLs Freshers dont let them deceive you, i meet the admission officer before I left school last session regarding my friend admission, I gave the credentials to him and he said he will do his best, my friend gave someone 50,000 last year, NO ADMISSION. NO one can guarantee your admission except Jehovah. I'll call my friend in ECONOMICS later to verify if the name pro.ayola (DR ADEKUNLE AHMED SEGUN. Department:ECONOMICS/EXAMS AND RECORDS) is posting exits in his department. enjoy your day all.
EducationRe: Unilorin Admission 2010/2011 by mj(m): 9:10am On Sep 13, 2010
I'm a Unilorite, and atleast this is my 3rd year, dont allow anyone to cheat you, nobody can guarantee your admission for you. Just pray to God for help, if you score less than 50% there is problem for you then, but for those that scored 50% and above in Post-UME, u need prayers and probably help if its possible. for instance last year the number of student that scored 50% and above in the post-ume are about 25,000. or thereabout but only about 5,000 were admitted. For those coming to Computer Science student, i'm waiting. For all that gained admission, if you need help with past questions, notes, info on essential textbooks to buy, CBT demo program, anything at all, feel free, call me, I'm here to help. all the best. Infact  two among my friends in school are people I met thru Nairaland, and in education section. c ya.
Certification And Training AdvertsRe: Are You Interested In .net Language by mj(m): 11:34pm On Sep 01, 2010
yeah, i'm really interested. mikejoe4real@yahoo.com.thanks,
ProgrammingRe: A Problem With Java Gui Design by mj(m): 11:31pm On Sep 01, 2010
You should use arrays for the questions, if you dont know much about arrays then ready more on it.
ProgrammingRe: Page Not Redirecting by mj(m): 6:05pm On Sep 01, 2010
<?php




if(isset($_POST['login']))
{

$uname = mysql_prep($_POST['u']);
$pass = mysql_prep($_POST['p']);

$sql = "SELECT `id`,`f_name`,`mobile` FROM users WHERE
           `u` = '$uname'
AND `p` = '$pass'
";


$result = mysql_query($sql) or die (mysql_error());
$num = mysql_num_rows($result);
  // Match row found with more than 1 results  - the user is authenticated.
    if ( $num > 0 ) {





     // this sets session and logs user in 
       
   session_start();
   // this sets variables in the session
$_SESSION['email']= $e_mail; 
$_SESSION['username'] = $u_name;
$_SESSION['fullname'] = $queryresult['f_name'];



   


header("Location: mainmenu.php"wink;
}
else
{
$msg = urlencode("Please try again with correct user email and password. "wink;
header("Location: index.php?msg=$msg"wink;
}

}



?>
ProgrammingRe: PHP Or Coldfusion: Which Is Better? by mj(m): 9:42am On Sep 01, 2010
Beaf:
One day, you will know that in programming languages, "man pass man!"
Even on the .NET platform, try coding a real-time, low level video processing app in VB.NET, then try the same in C#. . . after that come back and tell me "language no pass language," and your client wouldn't care about one version of the app simply grinding to a halt, because the load is too heavy. cool

As you gain experience, you will drop that mantra. However, if you only code for the web, then it might not matter (except you're the next twitter or facebook with killer levels of traffic).
I'm not saying the programming languages don't matter, all i'm saying is "I don't like it when comparison starts on them". As a programmer I believe is your job to ensure your client software is user friendly and not taking all day to load, lol
ProgrammingRe: PHP Or Coldfusion: Which Is Better? by mj(m): 9:07am On Aug 31, 2010
I just don't like it when programmers start comparing one language to the other, what I believe matter most is the end product not type of language used in doing it, What your client want is the end product not how you did it, pls.
ProgrammingRe: How May I Help You On Php Language, I'm A Php Guru? by mj(m): 2:58pm On Aug 24, 2010
I'm Waiting, campusconnect

1 2 3 4 5 6 7 8 ... 18 19 20 21 22 23 24 25 26 (of 28 pages)