₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,326,040 members, 8,424,675 topics. Date: Thursday, 11 June 2026 at 01:26 PM

Toggle theme

Mobinga's Posts

Nairaland ForumMobinga's ProfileMobinga's Posts

1 2 3 4 5 6 7 8 ... 29 30 31 32 33 34 35 36 37 (of 257 pages)

WebmastersRe: Animated Images On Webpages by Mobinga: 8:16pm On Sep 27, 2011
You know you can do this with HTML. 5 that is.
Web MarketRe: Website Designer needed by Mobinga: 8:14pm On Sep 27, 2011
Christ. Mail.php

<?php
if(isset($_POST['submitted'])){
if (!empty($_POST['name']) && !empty($_POST['email']) && !empty($_POST['comments'])) {
$body = "Name:{$_POST['name']}\n\nComments:{$_POST['comments']}";
$body = wordwrap($body, 70);
mail('youremail@gmail.com','Contact Form Submission', $body,"From: {$_POST['email']}"wink;
echo '<p><em>Thank you for contacting me. I will reply some day.</em></p>';
$_POST = array();
} else { echo '<p style="font-weight: bold; color: #C00">Please fill out the form completely.</p>';

}

}
?>

<p>Please fill out this form to contact me.</p>
<form action="mail.php" method="post">
<p>Name: <input type="text" name="name" size="30" maxlength="60" value="<?php if (isset($_POST['name'])) echo $_POST['name']; ?>" /></p>
<p>Email Address: <input type="text" name="email" size="30" maxlength="80" value="<?php if (isset($_POST['email'])) echo $_POST['email']; ?>" /></p>
<p>Comments: <textarea name="comments" rows="5" cols="30"><?php if (isset($_POST['comments'])) echo $_POST['comments']; ?></textarea></p><p><input type="submit" name="submit" value="Send!" /></p> <input type="hidden" name="submitted" value="TRUE" /> </form> </body></html>
ProgrammingRe: Php Script Giving Me Headache: Help! by Mobinga: 8:09pm On Sep 27, 2011
Yo' how many times are you dividing the image size?


<?php
$size=$_FILES["picture"]["size"];
$file_size1 = $size/1024 ;
$file_size = $file_size1/1000;
?>


First ::  Remove the second division. You have to divide it by 1024, to get the size in KB. Since its an image the size would be 5MB MAX, so why are you dividing it by 1000*1000?

Secondly, what data type is the column accepting? You must have set it to an unsuitable data type.

Finally, your code is vulnerable to SQL injection.

See http://www.php.net/manual/en/function.mysql-real-escape-string.php  and http://www.google.com.ng/url?sa=t&source=web&cd=1&ved=0CCsQFjAA&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FSQL_injection&ei=Ph-CTrLEB8vO4QT6vMFP&usg=AFQjCNGcGZNbIk2jM8itxItHrCja7eJ0PQ
Music/RadioRe: Free Mason. Rick Ross Ft Jay Z. Download. by Mobinga: 12:38pm On Sep 21, 2011
His 3rd Six. 3 x 6 = 18.

His 18th bar on the verse.
PoliticsRe: President Goodluck Jonathan [ph.d.] On "state Of The Nation" Lwkmd! by Mobinga: 5:15am On Sep 14, 2011
Justcash:
This is the problem with Nigerians. Must a Phd holder be an English orator? Don't you morons know that his native tongue can affect his English pronunciation ability? What of Yorubas that call "Hate" "Ate"? Igbos that call "Bring" "Bling"? Hausas that call "South" "Sous"?
Does Obasanjo, IBB, Buhari, Abacha etc speak better than GEJ?
If you morons are looking for a Phd holder that can speak flawless English, go and get an English man and make him your president.
If you want to judge GEJ's speaking ability, as him to talk to you in "Otueke's version of Ijaw Language".
You morons are eediots. Tufiakwa!
https://www.f-o-g.net/wcf/images/smilies/Thread%20Closed%20.gif
ProgrammingRe: [Beginner Assistance] How Do I Start Programming? by Mobinga: 2:47am On Sep 14, 2011
okeyxyz:
@mobinga & fayimora,
i don't think it's in anybody's position to state to igbo-boy categorically that he can't possibly & successfully combine medicine & programming. besides, you guys are not medical doctors or students and yet here you are advising on the rigours of medicine, surely i can not be the only one who thinks this is funny?

surely it must be a huge challenge to do programming alone, much more combining with other disciplines takes extra-ordinary talents, but some people just happen to be extra gifted and who knows, igbo-boy might just be one of such people, thus he dares to try. for me, learning programming was hell, maybe b'cos i chose to teach myself, or i chose to learn c++ first(i'm never gonna advice even my enemy to learn c++ first), or i wasn't smart enough, or that i didn't know other programmers at the time and therefore non to inspire\encourage\advice me, could be any of so many frustrating factors, but the only reason i'm still sticking with it is passion. now combine passion with the right brain capacity & igbo-boy might just the next big thing since "king solomon".  cheesy
I'm just starting school, besides my 2 sisters are in medical school.
PoliticsRe: President Goodluck Jonathan [ph.d.] On "state Of The Nation" Lwkmd! by Mobinga: 2:45am On Sep 14, 2011
reindeer:
Really?He can make rules?
grin grin grin Dont make me laugh.
Who's making you laugh?
CelebritiesRe: Nollywood Don Come Again! by Mobinga: 11:32pm On Sep 13, 2011
PoliticsRe: President Goodluck Jonathan [ph.d.] On "state Of The Nation" Lwkmd! by Mobinga: 11:24pm On Sep 13, 2011
He is the president of your country. He rules you. Any rule he makes affects your life.
Music/RadioRe: Latest Naija Songs by Mobinga: 11:22pm On Sep 13, 2011
amblors:
Yung6ix - Oh My Gosh --- http://www.4shared.com/audio/BanylSC3/Yung6ix-Oh_My_Gosh_OMG.html
This song is thrash! Thanks for the upload though
CelebritiesRe: Actress, Omotola Spotted In Dakar, Senegal by Mobinga: 11:18pm On Sep 13, 2011
Ileke-IdI:
she has lost weight o. e easy like that? shocked
Yes easy, I'm expecting you to do the same. Time is running. grin
ProgrammingRe: [Beginner Assistance] How Do I Start Programming? by Mobinga: 2:27am On Sep 12, 2011
gameaddict:
@Mobinga: He says he's always wanted to make software,  He's not asking about the workload,  He's asking about the tools to do what he wants.

   We can't continue with the stick with the popular formula mentality. It doesn't matter when he starts and what happens. As long as he's doing what he wants and hopefully fulfills his dreams, everything will be fine. Happy Citizen, Happy Nation,
On a contrary, from his post he wants to go into it, and not just the tools, its good he sees advice, I'm not trying to be a pessimist or anything, rather than answering his questions point blank I am modding them to fit his current environment.

I am not on any 'stick with the popular formula' mentality, he may need guidance and that's what I have given to him. Plus I am not trying to forestall him from fulfilling his dreams (how can I possibly do that), which I hope he eventually does. He just wrote that he is a 5th year medical student, its not a wise decision for him to do what he wants to do now.
GamingRe: What Game Are You Currently Playing? by Mobinga: 12:21am On Sep 12, 2011
Xionez:
Please can someone explain step by step how to get GTA San Andreas going. I have had this game in its CD for a year now and I still can't install it.
I always get this error 'Data Check ( Cyclic Redundancy Error)' through any method of installing it. both installation, extracting and totally copying the CD to my hard drive.
I have tried and returned all the Cd's in CV but still the same problem.
Can someone who has been sucessfull help me.

PS. GTAIV in CV is just full of useless pictures. pissed me off so I took GTA SA instead.
GTA IV is in CV oh. It's about 4 dvds.

Plus a Cyclic Redundancy Error usually comes from file extraction, probably the extraction program is corrupted or the source is corrupted! You can get  a better extracting software like Winrar, if you don't have it.

OR.

Just go there with your laptop and tell them to install it for you.  cool

Plus I got one of them SA cds from the traders around.


https://p.twimg.com/AZGo5dkCEAEPKZL.jpg
ProgrammingRe: Best It Institute To Learn Java by Mobinga: 12:15am On Sep 12, 2011
Please don't go to NIIT. angry
ProgrammingRe: Which Phone Will You Recommend For A Programmer? by Mobinga: 12:14am On Sep 12, 2011
SayoMarvel:
Money is not an issue here.
lol.
Fayimora:
Nokia 3310 or better still Nokia 1100
grin grin
ProgrammingRe: [Beginner Assistance] How Do I Start Programming? by Mobinga: 12:12am On Sep 12, 2011
kodewrita:
Fayimora: Moderator of Programming forum and party to demotivation of budding programmers huh

@Igbo-boy
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-csharp-express to download the visual c# express
http://msdn.microsoft.com/vstudio/default to get tutorial videos on microsoft's visual studio.

as a fifth-year medical student, you are clearly studious enough. Just carry over that studiousness and attention to detail.

visit sites like www.codinghorror.com to learn best practices and ask questions on www.stackoverflow.com anytime you get stuck in your coding (do some work before you go there, dont expect them to solve it if you havent at least worked on it).

Last Note: Master one programming language before you start jumping around.

cheers.
This is a very bad advise. He's in his 5th year in medical school he has come so far, programming is very tasking and time consuming.
My post may be demotivating, but its the truth.

Medicine is not a cut and nail course, it requires your total devotion, anything that could reduce the time you have for your books in medicine also increases your chances of failing. When he finishes his studies and still wants to go into programming, I'd advise him to, but for now, NO, it's a very terrible move.

Cmon son, 5th year? angry There's no fucking possible way you can mix the two, unless you want to overwork yourself, get low grades and fail out.


Oh year, and my elder sis is a 6th year medical student, so I know the stress involved! angry
ProgrammingRe: Fibonacci - Nature by Numbers Challenge by Mobinga: 11:59pm On Sep 11, 2011
csharpjava:
[size=13pt] Just wondering if we can write the Fibonacci sequence i.e: 0+1=1+1=2+1=3+2=5+3=8+5 to infinity and the code that will create the same graphical display as above from this Fibonacci sequence. Java, C#, VB.NET, Python or C++ will be fine.[/size]
shocked You need flogging.
EducationRe: Strictly For Uniport Applicants by Mobinga: 10:58am On Sep 11, 2011
What is the point of lying? Why would I lie? Do you reason at all?
Some people may be more intelligent than you are, and well capable of setting 300 and above.

I'm a computer science student and I was given FIVE 5 different subjects. Maybe you were given 2 or 3. I was given 5 subjects in 35 minutes. Why would I lie about that?
I was given

Mathematics
English
Chemistry
Biology
Physics

Whats the lie about that?
ProgrammingRe: [Beginner Assistance] How Do I Start Programming? by Mobinga: 5:26am On Sep 11, 2011
Stick to med school, we don't want anyone playing with human lives. Plus you're in your 5th year, you should focus more on finishing med school than programming.
ProgrammingRe: Which Phone Will You Recommend For A Programmer? by Mobinga: 5:23am On Sep 11, 2011
How much is in your pocket?
EducationRe: Strictly For Uniport Applicants by Mobinga: 4:22am On Sep 11, 2011
Wow. A lot of people would fail na.
RomanceRe: Who Is Your Nairaland Crush? by Mobinga: 4:03am On Sep 11, 2011
PoliticsRe: Okay, Since Everybody Is Crying "Marginalization" In Nigeria. . . . . by Mobinga: 10:33pm On Sep 10, 2011
I'm ugly.
Foreign AffairsRe: Obama's $447 Billion Jobs Plan by Mobinga: 2:14pm On Sep 09, 2011
Nigerian Politics. Next
ProgrammingRe: What Are The Differences Between Programming And Coding by Mobinga: 2:13pm On Sep 09, 2011
angry
GamingRe: Official " New Releases " Thread. Check For Latest Games by Mobinga(op): 2:11pm On Sep 09, 2011
^^ As usual. cool
GamingRe: Interested In Moderating This Section? by Mobinga: 11:36pm On Sep 08, 2011
grin

Na. Its thrash. And you'd get dumped, with no "thanks". or anything. Sickening
EducationRe: a by Mobinga: 10:23pm On Sep 05, 2011
This is an unnecessary post to keep this thread from fading into oblivion.
EducationRe: Strictly For Uniport Applicants by Mobinga: 12:19pm On Sep 05, 2011
Odunnu:
Hop you'v started saving for the next Jamb form? Or would you prefer the unique course of 'singing and clapping?'
??

1 2 3 4 5 6 7 8 ... 29 30 31 32 33 34 35 36 37 (of 257 pages)