Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,540 members, 7,958,667 topics. Date: Wednesday, 25 September 2024 at 08:09 PM |
Nairaland Forum / A7's Profile / A7's Posts
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 27 pages)
Politics / Re: Names Of The Released 21 Chibok Girls (Full List) by A7(m): 8:04pm On Oct 13, 2016 |
Wuta wuta Buratai. 11 Likes 1 Share |
Politics / Re: TINUBU: The Oneness Of Yoruba Leaders, And Unity Of The South And Middle Belt by A7(m): 8:24pm On Oct 07, 2016 |
Just imagine what will be said if Oyegun is a Muslim or a northerner. |
Politics / Re: Kwara State Government Emblem Represents Oduduwa Or Arewa? Photo. by A7(m): 9:30am On Oct 07, 2016 |
koladebrainiac: Jagaban was dashed to Tinubu by an Emir, while Albulfatah Ahmed adopted the name Mai Gida on his own accord. Not just tinubu, his wife was also given a title along with him by same Emir. Even though Tinubu has not contested for any political post thereafter but his wife was elected to the senate twice, interestingly, that Northern title is never seen on her campaign posters, her facebook publicist's page or printed on shirts for herself and her supporters. Before the elections Muhammadu Buhari was honoured with a chieftaicy title in Igbo land(Ogbuagbu 1 of Aba), but he didn't campaign with that title in or outside Igbo land. Kwara's governor's case is different, I asked a simple question, why is he campaigning with Hausa name that is not even a title conferred on him by any Hausa chieftain, in a suppossedly non Hausa speaking state? |
Politics / Re: Kwara State Government Emblem Represents Oduduwa Or Arewa? Photo. by A7(m): 3:49pm On Oct 06, 2016 |
koladebrainiac: If nobody speaks Hausa in Kwara why did your governor nicknamed himself Mai gida? A hausa word meaning "Owner of the house" or "Oga". It doesn't stop there, since you said he's Nupe, and Yoruba and Nupe are the major languages spoken in Kwara, what prevented him from coining from Yoruba or Nupe the word Maigida? First photo is from the gov's website: http://www.drabdulfatahahmed.com/governor-abdulfatah-ahmed-reassures-on-security-ahead-of-elections/ Second photo from , Bukola, Gov Ahmed and numerous others putting on a shirt inscribed with Sai Maigida http://www.pmnewsnigeria.com/2014/11/05/in-pictures-buhari-atiku-saraki-and-the-apc-change-glasses/
|
Programming / Re: Let's Be Honest Php Sucks When Building Enterprise Applications by A7(m): 12:20pm On Oct 05, 2016 |
DanielTheGeek: There's actually a function by that name, but it's deprecated. But still Php have other search and replace functions that are more effective than ereg_replace, I listed some above. Somebody is crying wolf where there's none, I think this OP is a "wailing programmer", he complained Php sucks but is against reasonable upgrades and deprecation by Php. 3 Likes |
Programming / Re: Let's Be Honest Php Sucks When Building Enterprise Applications by A7(m): 12:09pm On Oct 05, 2016 |
islam1001: Nesting using a ternary operator messes your code, you can have more than 10 nested "if" statements indented below one another. You can even add comments and will be appealing to read. The switch statement also give neater code than the ternary operator. The || and && operators I didn't quite grasp your grouse with the "||" and "&&". Fact is I have no idea what you're trying to demonstrate. If there's any other example and explanation in your arsenal to prove they lag as compared to other languages please grace us with it. In PHP, the names of built-in functions are inconsistent. Is it isset() or is_set()? Is it isnull() or is_null()? Is it sort() or array_sort()? Is it merge() or array_merge()? Even I don't remember. I have to look up the PHP documentation to answer these. I'll let you do the same. Those functions could be easily looked up on Php documentation, or Php website. Just by sparing few minutes to read through, you can get your head around them pretty well. If you're confusing Php functions with other languages's, you have none other to blame but yourself.. Function names are case-insensitive, but variable names are case-sensitive. WHY? You will do just fine if you call a function by its proper wording and casing, same with variable names. And even If the case sensitivity is tweaked the other way round people will still complain. As I've stated above, the vast majority of official and user-contributed documentation is poor. The people that deprecate "magic_quotes" say we're good to go with "mysql_real_escape_string" and "htmlentities" or "htmlspecialchars" or just the prepared statements. In the worst case, you may very well have to pollute your code with things like this. (There are common techniques such as ereg_replace("/\\/", "" that a lot of programmers use, which do not work right in all cases. Regular expressions will also give us a level of protection with tons of functions like the preg_replace, str_replace, strtr e.t.c and in case of arrays the preg_grep before imploding. If you know the right characters to escape and a good knowledge of regular expressions you will sanitize incoming data with your custom regex codes. |
Politics / Re: 8 Chilling Messages From Abubakar Shekau's New Video - Naij.com by A7(m): 2:05pm On Sep 25, 2016 |
sarrki: More like hatred for the whole North, the cities Kano, Sokoto and Kaduna he mentioned hinting they will never relent from attacking are all Northern cities. Tijjaniyya, Quraniyya, Shi'a e.t.c that he promised to continue targetting are all Muslim sects. But these cities are not in crisis, and there isn't any recent BH attack on them. In the last 5 months the number of BH fighters killed by the Nigerian army far supercedes the number Killed by Boko Haram. Shekau has a repute of boasting about succesful raids by his group in almost all his videos and mocking soldiers and reiterating how much of a dreadful force Boko Haram is. But in this video all he could muster up is "Idriss deby has an eye like a goat", "Buhari do you worship cow?", "You fly in the sky bombarding us, but god is above you high above the sky". The man is jittery, the only message he passed is "he is alive", and that is no news. He's alive simply because he has been running and hiding for quite a while now, but as porous as our borders are the men tasked with getting him D or A are still commited to their cause. 51 Likes 6 Shares |
Politics / Re: Boko Haram Leader Shekau Releases New Video by A7(m): 1:20pm On Sep 25, 2016 |
_ |
Politics / Re: CBN: Anambra Has The Potentials To Be Food-basket Of Nigeria & African Continent by A7(m): 7:06pm On Sep 23, 2016 |
LoveDecay: The best way to add credibility to this claim is by showing anticipated produce in metric tonnes, yield per hectare and how many arable hectares deployed. Anambra is not talking about that, the reason is obvious, this is a lie. |
Politics / Re: CBN: Anambra Has The Potentials To Be Food-basket Of Nigeria & African Continent by A7(m): 8:18pm On Sep 22, 2016 |
basilo101: Once in a while assume other people are as competent as you, or even better. Most of these farmers are rural dwellers, what the FG provides is what they'll use. None of the other states or Anambra is given any special treatment. Your assessment that what 4,000 anambrarians would achieve can dwarf other state's output from more men and more arable land is a wicked joke. 1 Like |
Politics / Re: CBN: Anambra Has The Potentials To Be Food-basket Of Nigeria & African Continent by A7(m): 3:38pm On Sep 22, 2016 |
Anambra state's take off was very bad, other states enrolled in this FG's initiative do not start with a meagre 4,000 farmers. Kebbi for example started with more than 70,000 farmers, Adamawa is about to register 120,000 farmers, plateau has registered 100,000 and Jigawa 50,000. There are other states currently registering, none with less than 4,000 farmers. I believe Anambra is bluffing. I will agree if the claim is about feeding Anambra only. Nigeria and Africa cannot be fed by one state with 4,000 rice farmers in just 8 local govts. it is impossible, the claim is absurd, believe at your own peril. 7 Likes 2 Shares |
Politics / Re: Boko Haram Kills 8 Worshipers Outside A Church In The North East by A7(m): 5:22pm On Sep 19, 2016 |
Just one comment and was pushed to fp. 1 Like |
Agriculture / Re: A.A Ibrahim Rice Mill In Kano Under Construction by A7(m): 7:38pm On Aug 27, 2016 |
Rice gulp huge chunk of our forex. When we make its importation less attractive, the dollar just like the bombs will stop troubling us. 19 Likes 3 Shares |
Agriculture / Re: FG Signs Mou On Dairy Production And Development (photos) by A7(m): 9:05pm On Aug 18, 2016 |
ehikwe22: Running out of supply? Is that why you're uptight. It will soon be at your doorstep, no need of coming down north with drums and jerry cans. |
Agriculture / Re: FG Signs Mou On Dairy Production And Development (photos) by A7(m): 8:21pm On Aug 18, 2016 |
ehikwe22: Next in line is camel urine. Your favorite. 1 Like |
Agriculture / Re: Rice Harvest: Kebbi Now Haven To Millers, Buyers by A7(m): 6:22pm On Aug 18, 2016 |
LordAdam: Let's dissect the part of my post that you choose to attack. Throughout I never mention "ministry of agriculture", those are your words. A7: I know it will save me the trouble if I use "dry season farming". My laziness to type 1 word instead of 3, and assuming since focus of discussion is a branch of agriculture, agriculture will suffice has now made me to type not just 3 words but sentences. I don't owe any explanation you're just grasping at straws that why you're churning out red-herrings. A7: What emphasis will spell it more bluntly like the bolded part above.? Don't you know what irrigation mean? Imagine the irony, you claimed to read and have even quoted the same post, but think I have comprehension issue. Bottomline is, the breakthrough we're witnessing is due to Buhari's drive to diversify the economy, it might be a bad news to you but, I believe it is only the beginning, just because jonathan failed doesn't mean Buhari will tow same path, and height of senselessness is not wishing success to this administrations good endeavours like diversification through africulture. |
Agriculture / Re: Rice Harvest: Kebbi Now Haven To Millers, Buyers by A7(m): 5:29pm On Aug 18, 2016 |
EdDave: Simple arithmetic exposes them, local production is present even before any of their parents are born, they claimed to have added seven million tonnes to the existing local production. And we import additional 4.something million tonnes. The ridiculous thing is they pegged our annual consumption at 6.1 million tonnes. What do we do with the rest million tonnes? Remember, they never claimed exporting million tonnes of rice at any moment. I think they wanted to tell us they have million tonnes in phantom rice reserves |
Agriculture / Re: Rice Harvest: Kebbi Now Haven To Millers, Buyers by A7(m): 4:39pm On Aug 18, 2016 |
LordAdam: A statement from one of the links you posted will give us more insight on what we're dealing with here. It reads: "The president noted that rice farmers across the country now had a new lease of life, owing to the transformation taking place in the sector. He said over six million rice farmers have received improved rice seed varieties, boosting domestic rice production by an additional seven million tonnes. http://www.premiumtimesng.com/business/175496-jonathan-approves-n26-billion-2015-farming-season.html Upto may 2015 out of our annual 6.something million tonnes of rice consumption our local production hardly reach 2.5 million tonnes. Kebbi state, which currently harvest over 1.2 million tonnes(highest since birth of our democracy) only boast of close to 300, 000 rice farmers. There are a lot of stuff that are apparently false and are peddled by the last administration, I think indulging to refute all of it is a waste of my precious time, those of us that are not birdbrained, easily see through them. But be that as it may, do you care to explain what prevented Jonathan from increasing our local rice production by seven million tonnes despite creating a convivial environment for farming and giving high yield seeds to over six million farmers?. I think am modest here, I should have asked, When did we ever produce even the seven million tonnes they claim to add to local production throughout the 6 years they held sway. 1 Like |
Agriculture / Re: Rice Harvest: Kebbi Now Haven To Millers, Buyers by A7(m): 4:00pm On Aug 18, 2016 |
LordAdam: Jonathan budgeted 26 billion for Agriculture, for the whole country. Let's clap for Jonathan. But the 15 billion you're quoting is actually about 17bn, and that's for Kebbi alone. Just one state. Jonathan's intervention to give us food security is by budgetting a meagre 27 billion for irrigation for the whole country. Under Buhari however one state received 17bn to boost rice production alone through irrigation farming. This same Buhari is planning to add 13 more states to receive much needed credit, training and other materials to replicate the success recorded in Kebbi state. At the moment Kano and Sokoto farmers started registering. If Kebbi alone could harvest more than million metric tonne of rice through this initiative, what could we expect from Niger and other states with more arable land than Kebbi. Dude, I believe the stone comparison best apply to Jonathan. 3 Likes |
Agriculture / Re: Rice Harvest: Kebbi Now Haven To Millers, Buyers by A7(m): 3:24pm On Aug 18, 2016 |
LordAdam: You will do well if you take the advice you gave to the gentlemen you quoted to not be ignorant. If you truly educate yourself by reading the links you quoted, you wouldn't have supported the dude earlier attributing all credit to Jonathan. Firstly, labana rice is not from govt owned mill, it also predates Jonathans paper promise of setting up new mills by two years. It is pertinent to note up till jonathans exit, not a single fg rice mill is commissioned. The labana rice that is processing 300 tonnes daily as at today, is almost moribund 1 year ago. Kebbi state that produced 1.2 million tonnes this year alone in one harvest only use to produce 700, 000 tonnes or less in 3 harvests before. The initiative that brought about this development, the Anchor borrowers programme was launched on nov 2015. That's Six months after Buhari became president. So if there's anyone not being true to facts, it will be you. 2 Likes |
Crime / Re: NDLEA Destroys 21 Hectares Of Cannabis In Osun by A7(m): 6:33pm On Aug 15, 2016 |
That is 2 kilometers, a football field size and 4000 m2. |
Agriculture / Re: 18,000 Farmers Return To Farm In Borno After 4 Years Insurgency(photo) by A7(m): 9:23pm On Aug 14, 2016 |
onnenka: Kebbi alone received about 17bn. 40bn is set aside for pilots take off(first states). Incase signs of running out of credit surface, n180 billion is doing press up and waiting. Other southern states will benefit as well, keep hating and wailing, one day your heart will explode like balloon. 18 Likes |
Agriculture / Re: 18,000 Farmers Return To Farm In Borno After 4 Years Insurgency(photo) by A7(m): 9:07pm On Aug 14, 2016 |
“We know that 78, 000 farmers have benefitted in Kebbi. We want the same in Borno, we have over 18, 000 rice farmers alone. I think they're trying to reach out to the fg here, Borno is not part of the 14 states the Fg listed to take part in the anchor borrowers scheme. But still the farmers resolve to resume cultivating their lands is commendable, I hope their request will receive the needed attention. 2 Likes |
Politics / Re: Welcome To ‘Mai Chanji’,Broom A Symbol Of Witchcraft-Femi Fani-Kayode by A7(m): 5:10pm On Aug 13, 2016 |
_ |
Politics / Re: Welcome To ‘Mai Chanji’, By FFK by A7(m): 3:01pm On Aug 13, 2016 |
It is pertinent to note throughtout Pdp's 16 years reign, and Nigeria's history as whole 5000 megawatts power generation peak only came to being after Apc's 8 months in power. To well meaning Nigerians this is a good news to saboteurs and the wicked this must be squashed. if indeed ffk/Pdp is concerned about Nigeria/Nigerians, their voices and action will be noticed opposing activities of Niger delta avengers, contrarily they're at the forefront of abetting these miscreants. Our power plants are majorly gas powered plants and the drastic cut in gas supply due to NDA's economic sabotage led to what we're witnessing right now. But I believe ffk and other like minded minions celebrated too early. The concerted effort and commitment shown for power generation by this govt is unprecedented, already construction work is ongoing at 700mw Zungeru hydro electric dam, the last time we had a new dam was 1990(shiroro) and there wasn't any single subsequent power project whose installed capacity came close to that of shiroro dam. This administrations Zungeru dam supercede shiroro by 100mw. How about the proposed 1000mw solar projects? And The 4000mw Mambila hydro station?. The ungoing revival of Jebba, Kainji and Shiroro dams? And is ffks wailing about the economy reasonable at all? Is there any sense in saying "We produce less crude and the price of the commodity has nosedived by 2/3 compared to 14months earlier" and then went to say "Why is our foreign earnings lesser than 14 months earlier".? Doesn't ffk know just as crude oil is our major export, that same crude products are our major import. The same dollar we receive after exporting crude is the same dollar we give sourcing this crude products. Not only do we deplete the dollars on petrol, gas, kerosene etc, we also import almost everthing. Upto this moment there never existed even a lunatic economist whose afflictions ever lured him to saying "importation dependant mono economies are bound to sustain longer". Jonathan for over five years failed to diversify the economy, our common wealth is looted with impunity, we borrow to pay salaries. The refineries and power plants are in complete wreck, he's only accomodated because of Nigerian's obediance to rule of law. His ills and sychopantry of deranged beings like ffk landed us into this economic mess. However, the person/government the wailers love to hate have done in just a year what the ineffectual buffon fails to achieve throughtout his stay, today Kebbi state alone has produced over a million metric tonnes of rice, other 14 states enrollment for this programme by the federal government is underway, by this time next year what happened in Kebbi state will be replicated in those states. The Fg gave priority to other foodstuff as well, at the moment rice and wheat are at the forefront. The success of this initiative will not only revitalize the economy, it will also gradually lift the long "oyel" curse on us. The diversification also covers revival of moribund companies, exploration of other mineral resources etc. The claim that Boko Haram has resurrected from the dead and are getting bigger and bigger is well refuted using ffks antics. This man has a repute for breaking any attack or attempted attack by Boko Haram, check his timeline, he merely mention even the word "Boko haram or Bomb or Shekau" nowadays. Infact a shattering blow is given to Boko Haram that decimate, disband, relegate and disorganized almost everything about them. 14 months earlier they hoist flags and declare a caliphate spanning into about 4 northeastern states, they're effectively in control of 14 local govt's, they overran state capitals, towns, and villages. They kill, maim, destroy at will. The reverse is the case now, just like the dinosaurs Boko haram are heading to extinction. Interestingly, ffk, pdp and rest ills tormenting us as nation are towing the same path, and someday will be history. |
Webmasters / Re: How Do I Put Up "Under Construction" Page On My Blog? by A7(m): 3:57pm On Aug 10, 2016 |
Use your admin login details or just create a cookie for just your browser. Create a function to detect any of the I'd's above, if recognized, continue operation, else redirect to "Under construction page". Call that function at the header of your site page(s). |
Programming / Re: Need Help On PHP by A7(m): 6:14pm On Aug 05, 2016 |
How to make use of the cookie From above our cookie was named $cookie = md5('cookie'); If(isset($_COOKIE[$cookie])){//yes a user is still logged in using cookies $user_cookie = trim($_COOKIE[$cookie]); //With $user_cookie you can query the database and perform operations on users table row whose "current_cookie" is "$user_cookie". }else{//cookies are not set} |
Programming / Re: Need Help On PHP by A7(m): 4:12pm On Aug 05, 2016 |
"Cookies" will give you the result you seek. Below codes are effective. You need users table with these fields: id //int primary AI username //varchar 30 password //varchar 50 signup_time int current_cookie //text cookie_count //int default 1. This can be used to change users cookie, if you decided to have a "logout all" feature on your site, and when users click it the current cookie will increment by 1 and when next a user logs in a new unique encrypted cookie will be created rendering other login cookies in other browsers obsolete. Create these functions: function user_exists($username){ //query the db and return true if $username exist on users table. } function login_green($username, $password){ //query the db and return true if function variables match users table username and password. } function encrypted_cookie($cookie_count, $user_id, $signup_time, $username){ //md5 and crypt(crypt_std_des) and part of your username as salt will be used to create a unique and secure cookie, with of course the incoming function variables. $pa = crypt($user_id, 'pa'); $ra = crypt($signup_time, 'ra); $no = crypt($username, 'no'); $conc = $cookie_count.$one.$two.$three; //the dot(.) joins all the three encrypted strings and $cookie_count. $enc_cookie = crypt($conc, 'rm');//rm is just the 7th and 8th letters in your username return $enc_cookie; } Html field: <form action='login.php' method='post'> <input type='text' name='username'> <input type='password' name='password'> <input type='submit' name='submit' value='Login'> </form> Php codes for login page if(isset($_POST["submit"])){ if(isset($_POST['username'], $_POST['password']) &&!empty($_POST['username']) &&!empty($_POST['password'])){ $username = trim($_POST['username']); $password = trim($_POST['password']); if(user_exists($username) == true){ if(login_green($username, $password) == true){ //SELECT * FROM `users table, use mysqli_fetch_row to keep the resulting fields array in a variable, name it whatever you like, e.g "$row". //Set the cookie $encrypted_cookie = encrypted_cookie($row['cookie_count'], $row['id'], $row['signup_time'], $row['username']); $cookie = md5('cookie'); //name it whatever you like $duration = strtotime('+ 100 days'); //100 days is cookies expiration time. if you like put 100 years. setcookie($cookie, $encrypted_cookie, $duration, '/', '', '', true); //this is one of the ways to set cookies $sanitized_cookie = mysqli_real_escape_string($con, $encrypted_cookie); //$con is your database connection access, and the function mysqli_real_bla_bla is like a watchdog for housekeeping, it will keep your db records safe. if(empty($row['current_cookie'])){ ("UDATE `users` SET `current_cookie`='".$sanitized_cookie."' WHERE `id` =".$row['id']." }else{ if($row['current_cookie'] !== $encrypted_cookie){//when logout all is used, new cookie is created, below code will update users record with new cookie. //("UDATE `users` SET `current_cookie`='".$sanitized_cookie."' WHERE `id` =".$row['id']." }} header("Location: index.php"//end of login and setting cookie. }}}} 1 Like |
Business / Re: Nigerians React To CBN Subsidizing Dollar Rates For Muslim Pilgrims by A7(m): 1:55pm On Aug 05, 2016 |
EpicMaurice: Below link will help. Christian pilgrims get it at N160/$1. www.google.co.za/search?q=buhari+christian+pilgrims+%241&client=ms-opera-mini&channel=new&gws_rd=cr&ei=CYqkV5eWHJH0gAaU66qYAg 2 Likes |
Politics / Re: You Can Now Buy Rice At N7,000 Per Bag Thanks To An Increase In Local Production by A7(m): 9:15pm On Aug 02, 2016 |
Beremx: Hey there. Presently kebbi alone has produced 1.something million tonnes of rice. Our annual rice consumption is 6.something million tonnes out of which only 2.something tonnes is produced locally. 200.something billion was budgeted for a programme themed "anchor borrowers". Kebbi is the first state to access that fund, 13 other states will soon join probably in the next couple of months. I think I read somewhere that Kano and Sokoto states already kickstarted. Apparently Kebbi was a success, apart from producing over a million tonne, one of their moribund companies "Labana rice mill" is processing 300 tonnes of rice diurnally. I also read somewhere that other reluctant Kebbi farmers have pledged to join in the next harvest. I believe, contrarily to what you think, if we can and continue to replicate what was done in Kebbi state to other states, we will not only reduce importing rice, we will export it and by extension have more mills springling up, more jobs created and more forex. 3 Likes |
Politics / Re: Gov. Okezie Sack: Igbos Are More United Now, APC Leave Us Alone. by A7(m): 9:06pm On Jun 27, 2016 |
The hashtag is not working on this site bro. 5 Likes |
(1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (of 27 pages)
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 158 |