Mj's Posts
Nairaland Forum › Mj's Profile › Mj's Posts
1 2 3 4 5 6 7 8 ... 18 19 20 21 22 23 24 25 26 (of 28 pages)
@ Donpuzo . Thanks for the info, apart from this what exams, what other exams can a php/mysql developer writes? Thanks. |
Pls I want to know if anyway here has written the exams? Where, When and Whats the Price? Thanks. |
@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. |
<?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" ;} 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"> Online Examination System </h3><h4 style="color:#ffffff;text-align:center;margin:0 0 5px 5px;">, because Examination Matters</h4> </div> <div class="menubar"> </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> |
I've received your mail. |
just click on your local host, but if you want to create database, query mysql, etc. then click on phpmyAdmin. |
do we have soft ones? lol |
since you have it on your system, what do you want to do? let me know. |
ifkunlethe:I agree with you, for web programming mostly PHP, windows mostly vb.net, I use other programming languages also. |
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. |
Claroo: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, |
should i write the program for you with java, vb.net, c sharp, or php ? i dont write programs with C++. |
pls, I need materials on VB.net - programming, database, networking, etc, EBOOks or video, any. Thanks. mikejoe4real@yahoo.com |
The present dean of Communication & Information Sciences (CIS) is Pro. Aina. Mr. Babatunde is still the Sub dean, wish you guys all the best, |
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. |
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. |
yeah, i'm really interested. mikejoe4real@yahoo.com.thanks, |
You should use arrays for the questions, if you dont know much about arrays then ready more on it. |
<?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" ;} else { $msg = urlencode("Please try again with correct user email and password. " ;header("Location: index.php?msg=$msg" ;} } ?> |
Beaf: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 |
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. |
I'm Waiting, campusconnect |
1 2 3 4 5 6 7 8 ... 18 19 20 21 22 23 24 25 26 (of 28 pages)
;