₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,042 members, 8,448,332 topics. Date: Monday, 20 July 2026 at 08:20 AM

Toggle theme

Micodon's Posts

Nairaland ForumMicodon's ProfileMicodon's Posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 (of 20 pages)

WebmastersRe: Why PHP Sucks by micodon(m): 8:43pm On Aug 10, 2015
dtPythonista:
It is downright disappointing that most of you are shortsighted and cannot see beyond Nigeria's present. In case y'all don't know, developers in advanced countries have moved on from PHP and WordPress to Python and Django, Ruby on Rails, The MeanStack. And for those that are currently laughing at the JavaScript thingy, I suggest you start by taking a course in NodeJS, cos whether you like it or not, it is now and the future.

It is appalling to think that many of you don't even know that there's a server-side platform written with JavaScript... SMH (Notice that that is in caps... for emphasis sake). I suggest that before you make stupid comments in the near future, you would do well by doing a little research.

+1000 @IamGodzilla
1. Dear Linus Trovalds, NodeJs wasnt written in JavaScript. it was written in C.
2. PHP still powers a great majority of the web.
3. Nodes is not the first server side JavaScript stack.
4. People are moving from JavaScript to Golang and Scala
5. Comparing Nodejs to PHP is like comparing Apples to Oranges. (Node is an environment. PHP is a language).
6. Return false from this your callback hell
WebmastersRe: Why PHP Sucks by micodon(m): 10:54am On Aug 10, 2015
IamGodzilla:
Most developers in Nigeria are stuck on Php either because they are afraid to learn a new programming language or they aren't updated technically.
But PHP isn't all that cool.

http://webonastick.com/php.html

But if you would be willing to switch to a new language like Javascript and it's frameworks or any other programming language.
Feel free to stop by here http://nowwehere.io, learn smart and write quality codes.
You read an article by someone who doesn't know jack about PHP and you come here to rant.

May I ask you: what's the difference between PHP's syntax for tenary operations and JavaScript's??

Mtchew!!!!!
WebmastersRe: Mysql Deprecated Problems by micodon(m): 10:45am On Aug 10, 2015
Adesege:
Waga10, while that may solve your problem, technically it is wrong to do so.

Mysql has been deprecated as of PHP 5.5 does not mean you cant use it on a server. Deprecated doesnt mean it has been removed.

The solution you got will suppress the error but what if you have a problem connecting ro your db, that means you wont be able to get the errors.

A more better approach is to suppress E_DEPRECATED errors using the php error reporting. With that, you will get every other errors expect for E_DEPRECATED errors.

Put this at the very top of your mysql_connect page.

<?php
error_reporting(E_ALL ^E_DEPRECATED);
?>

As a side note, it is advisable you migrate to mysqli or PDO. There is a tool you can use to migrate from mysql to mysqli online. You can check mysql official website.

Let me know if you get it
Actually, deprecated functions will be removed entirely in future releases
WebmastersRe: Mysql Deprecated Problems by micodon(m): 11:05pm On Aug 09, 2015
Waga10:
finally solved.
<?php

$dbhost="mysql.host.com";
$dbname="12345";
$dbuser="12345";
$dbpass="123456";

//Don't change the below 2 lines
$dbconnect=@mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db($dbname);
php?>

the above solved the problem. just put @ at the back of mysql
soursce
http://stackoverflow.com/users/3233927/rebirth
Bros you are just suppressing errors with '@'. it doesn't remove the problem, it only hides the errors. when the host upgrades to a version of PHP that has removed the mysql library, this script will fail without showing errors. This solution is extremely bad. Use PDO or Mysqli
WebmastersRe: Yii Framework: The Framework Jumia And Kaymu Were Built On by micodon(m): 9:20am On Aug 09, 2015
donsheddy1:
This aforementioned websites have no other secret in their backend other than a powerful php script application framework called yii franework. Wanna know about this great cms visit YII FRAMEWORK
I don't know about Jumia and kaymu, but I'm 100% sure that YII is a PHP FRAMEWORK and not a CMS. A FRAMEWORK IS NOT A CMS, dude.
WebmastersRe: Mysql Deprecated Problems by micodon(m): 8:49pm On Aug 08, 2015
Waga10:
if you can help me with somthing like this [<?php
//
$dbhost="mysql.host.com";
$dbname="12345";
$dbuser="12345";
$dbpass="123456";[b][/b]

//
$dbconnect=mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db($dbname);
?>] it will be much appreciated
thanks
use mysqli_connect
WebmastersRe: Mysql Deprecated Problems by micodon(m): 8:48pm On Aug 08, 2015
Waga10:
if you can help me with somthing like this [<?php
//
$dbhost="mysql.host.com";
$dbname="12345";
$dbuser="12345";
$dbpass="123456";[b][/b]

//
$dbconnect=mysql_connect($dbhost,$dbuser,$dbpass);
mysql_select_db($dbname);
?>] it will be much appreciated
thanks
WebmastersRe: Mysql Deprecated Problems by micodon(m): 4:38pm On Aug 08, 2015
Waga10:
i keep getting this message in my website since i migrated my new host{Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/u666995223/public_html/dbconfig.php on line 9}
please if anybody knows the solution for this help out so i can put my website back online thanks.
PHP's mysql driver is no longer supported as from PHP 5.5. mayber your new host is running that or above. You should rewrite your queries using mysqli or PDO
WebmastersRe: Help In Debugging PHP Code by micodon(m): 5:41pm On Aug 04, 2015
DualCore1:
There is a reason why the army first breaks an individual to barebones before rebuilding to spec.

Learning with a plain text editor like Notepad++ will give the learner the opportunity to write every line of code himself without the enticement of function usage hinting and code completion.

There is a reason good driving schools still using manual transmissions to teach. We know a driver who learnt with an auto transmission can't just jump into a manual transmission and move. However the manual transmission learner can jump into an auto transmission and move.

Well the bottom line is learn with the basic tools and as one develops his skills, use whatever IDE works best for you. Nothing personal but inside me I don't think I will take any developer seriously if his "home" IDE is Dreamweaver (Yes I know there is the "code view" but I don't see what a web developer should be doing with an IDE that has "design view" and other useless features... not to mention the terrible code DW generates).

Professionally I worked with Notepad++ for about 4-5 years before switching to PHPStorm. I don't see myself leaving PHPStorm anytime soon. For quick fixes my default application is still Notepad++.
Lovely.

I too won't take a Dev seriously if his IDE of choice is DW
WebmastersRe: Help In Debugging PHP Code by micodon(m): 4:17pm On Aug 04, 2015
onyengbu:
But those are not even Dreamweaver generated codes. As long as he is not letting Dreamweaver generate codes for him, I don't really see how notepad will make him a better coder.
well, I thought the codes were generated.

Second, someone who's using Dreamweaver to learn has to have great self control to prevent him from generating codes via Dreamweaver. With notepad, there's no temptation of that sort.

With the good old notepad, you learn some good coding practice like indentation and others
WebmastersRe: Help In Debugging PHP Code by micodon(m): 1:34am On Aug 04, 2015
Olaryinkah:
Please guys help me in debugging this am just an amarteur
1. Your mysql_connect parameters should be strings unless they are CONSTANTS which i higly doubt.

So change mysql_connect(localhost, root, DBPASS) to mysql_connect("localhost", "root", "DBPASS"wink;

2. your mysql_select_db first param should be a string unless you are using a CONSTANT. so shange mysql_select_db(powercrib, $connection) to mysql_select_db("powercrib", $connection);


3. From PHP 5.5 mysql has been deprecated. It is in your best interest to use mysqli or PDO.

An advice.....Learn coding using notepad or notepad++. Dreamweaver may not make you a good coder.
WebmastersRe: How To Build An Ecommerce Site by micodon(m): 7:14am On Jul 31, 2015
Brandnew2:
Hello hard coder, do you have anything to say about what jidetheblogger posted above?
hello soft coder, with respects to what?
WebmastersRe: How To Build An Ecommerce Site by micodon(m): 4:04pm On Jul 29, 2015
Never ever use WordPress for anything other than a blog. before you cut my neck off, please hack through the codes. awful!!!
WebmastersRe: How To Build An Ecommerce Site by micodon(m): 4:03pm On Jul 29, 2015
prettytasha:
that can be arranged .. actually Game consoles and other stuffs
alabagames.com.ng with opencart
WebmastersRe: How To Build An Ecommerce Site by micodon(m): 9:17am On Jul 29, 2015
prettytasha:
Hello guys . is there anyway i can build an online store like jumia or konga ? i av no programming knowledge at all . i was wondering if there is any site builder that can do that
You need a web developer. there are already made solutions like opencart, magento, zen cart and others. but, you still need a web developer to tweak it to us taste. That's for those who Deal with already made solutions.

I myself love building from the scratch
WebmastersRe: Seriously Need Help Of Webmasters!!! by micodon(m): 7:04am On Jul 17, 2015
The method I recommend is to edit your .htaccess file on the old domain and add the following

RewriteEngine On
RewriteCond %{HTTP_HOST} ^olddomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.olddomain.com$
RewriteRule (.*)$ http://www.newdomain.com/$1 [R=301,L]

its important that you use ur this method because your webserver will output the 301 http code telling your visitors (especial!y web crawlers) that your site has moved permanently to the new domain. this makes sure that search engines crawl the correct location with ur updated URL.


Maybe u can achieve this using domain redirect on cpanel.
WebmastersRe: I Need Payment Gateway Integration On My Website by micodon(m): 11:55am On Jul 15, 2015
09099010453....contact me
Car TalkRe: The Man Who Has The Largest Car Collection In The World! by micodon(m): 8:09am On Jul 13, 2015
DONADAMS:
the broke ilks will say 'vanity upon vanity'
Solomon wasn't broke when he said it.
WebmastersRe: Is It Possible To Build A World Class Website Without Using CSS?? by micodon(m): 7:50pm On Jun 28, 2015
Luedave:
u dnt call wat nairaland uses css.....

Its damn old and with pure html code, u can get d layout
Prove urself wrong by right clicking and viewing page source
Christianity EtcRe: Was Adam Truly The First Man On Earth? by micodon(m): 7:48pm On Jun 28, 2015
4X4:
VERY STUWPID ANSWER D QUESTION MUMU . UR D KIND DAT BELIEVE STORIES WITHOUT INVESTIGATING . EVEN IF THEY HAD MANY CHILDREN THAT DOES NOT EXPLAIN THE HUNDREDS OF RACES AND DNA UNIQUENESS TO EACH FAMILY . EVEN IF THEY COMMITED INCEST BY SLEEPING WITH EACH OTHER THEN ALL RACES AND HUMAN BEINGS WOULD HAVE THE SAME FAMILY DNA . INCEST IS WRONG AND HAS ALWAYS BEEN WRONG . I DONT FOLLOW RELIGION BLINDLY LIKE SO MANY PEOPLE . THATS WHY YOU HAVE A LOT OF STUWPID FANATICS ALL OVER THE PLACE .
Very stupid reasoning. because evolution suggests that all species evolved from a common ancestor. if evolution is true, how come there are many races.

Go and read.
WebmastersRe: Is It Possible To Build A World Class Website Without Using CSS?? by micodon(m): 7:44pm On Jun 28, 2015
Luedave:
.com
Nairaland uses css, bros. just right click on ur browser window and view source
WebmastersRe: Is It Possible To Build A World Class Website Without Using CSS?? by micodon(m): 4:21pm On Jun 28, 2015
Luedave:
naira land doesnt use css
Bros, abeg which Nairalandhuh
Christianity EtcRe: Was Adam Truly The First Man On Earth? by micodon(m): 4:16pm On Jun 28, 2015
4X4:
smiley SINCE ADAM AND EVE STARTED THE WORLD THEN WHY ARE THERE HUNDREDS OF RACES ? WHERE DID CAIN FIND HIS WIFE SINCE IT WAS ONLY CAIN AND ABEL THEY HAD ? WHY IS IT THAT EACH FAAMILY'S DNA IS DIFFERENT FROM ANOTHER FAMILY ?
Study about Phenotype, Genotype, Gene dominance and recessiveness. and variations.

As for Adam and Eve, they had many children. Genesis 5: 4
Christianity EtcRe: Was Adam Truly The First Man On Earth? by micodon(m): 4:08pm On Jun 28, 2015
4X4:
smiley SINCE ADAM AND EVE STARTED THE WORLD THEN WHY ARE THERE HUNDREDS OF RACES ? WHERE DID CAIN FIND HIS WIFE SINCE IT WAS ONLY CAIN AND ABEL THEY HAD ? WHY IS IT THAT EACH FAAMILY'S DNA IS DIFFERENT FROM ANOTHER FAMILY ?
You need to go back to Biology class. start from ss1
Christianity EtcRe: Was Adam Truly The First Man On Earth? by micodon(m): 3:56pm On Jun 28, 2015
sylarsquins:
Coz he ws born n raised in the states, what point u tryna prove?.
Exactly!!!! Even though he had kenyan blood, he acquired a foreign tongue. Thats the point. Even though we are all of eve, we are different because of geographical location and environmental factors (phenotype), As traits are passed on from generation to generation, they move from dominant to recessive. They become weak, so to speak.

Acquired traits may then become dominant.


Heck!!!! Variations was thought in Skuls!!!!!

That we are of eve doesnt mean we should be alike.

Even your evolutionary theory suggests that all organisms have a common ancestor
Christianity EtcRe: Was Adam Truly The First Man On Earth? by micodon(m): 3:44pm On Jun 28, 2015
sylarsquins:
Good to know you understand
Hope you did Biology in sec skul. Study about phenotype, genotype acquired traits etc...and ur question will be answered. Obama is from Kenya. Why does he speak like the Americans?
Christianity EtcRe: Was Adam Truly The First Man On Earth? by micodon(m): 2:50pm On Jun 28, 2015
sylarsquins:
I believe in the scientific explantion on the evolution of man because it provides acuurate details and explanation on how Man came into being.

The Christian point of view is base on beliefs, no true facts recorded and besides fossils of the early Man are still being dug out by archaeologist.

Ask youself this one question, what is the proof that Adam was indeed the 1st man on earth?.
The theory of Evolution is based on the idea of natural selection where organisms acquire or develop traits that makes them more suitable for their environments thus evolving into better or even newer species.

EVOLUTIONARY THEORY IS WRONG.

1. Why have africans not evolved into species with shiny or reflective skins to reflect heat??.
2. Why are eskimos furless, when they should have evolved into species with hair to keep them warm in their environment?.

3. For how long did fish make the transition from fins to limbs, and gills to lungs in evolving into without decimating their population?.

4. How did plants and bees survive during their different evolutionary phases when they didnt have each other for their symbiotic relationship?

5. what exactly is the proof that the theory of evolution is true?

The truth is that its all based on assumptions. Thats science for you.

The Bible's account of creation is very true.
Christianity EtcRe: Was Adam Truly The First Man On Earth? by micodon(m): 2:26pm On Jun 28, 2015
leke12:
No! Why? Because if Adam was d first man we would have the same DNA,ur genealogy is trace only by DNA and its unique to each family tree line even if it is 10,000 old.
.....hope you know what natural selection is. You don forget your Biology classeshuh
WebmastersRe: Who Can Make Me This Website? by micodon(m): 2:07pm On Jun 28, 2015
Luedave:
i can create it with wp for 3k without installation and setup
Can you imaginehuh??

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 (of 20 pages)