₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,328,377 members, 8,435,443 topics. Date: Sunday, 28 June 2026 at 05:37 PM

Toggle theme

Bakenda's Posts

Nairaland ForumBakenda's ProfileBakenda's Posts

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

ProgrammingProgrammers: What Project(s) Are You Working On Now? by bakenda(op): 3:30pm On Jul 25, 2011
Programmmers are a busy bunch, always busy with
one project or the other. So what project(s) are
you currently 'busy' with? Perhaps you are
working on a next generation OS that will displace
all the Gates and Windows we are used to or
developing an Intergalactic Charting Software for
NASA or something nearer earth like the software
for a JAVA-controlled electronic toothpick (  grin )
, whatever, share them here.
ProgrammingRe: Programming Challenge. by bakenda(m): 1:06pm On Jul 24, 2011
Mobinga:
Haha see a simplified version of your code

<?php
for($i=0;$i<=350;$i+=7)
{
echo $i."<br/>";
}
?>



I know some of us are used to using i++ as our increment statement. . .then within the for loops blocks we'd now use the modulus operator. That's not clean. As it loops through each one . . . 1, 2 , 3 to  350

You can also pass a numeric value (int oh no go pass 3.434 ) as the increment statement i+=7 << The variable increments in 7's. This optimizes your code and allocates less memory. This can be particularly useful when working on big projects.

Nothing is too trivial. We can all learn. cool
That code isn't simpler than my code, at best it's same.It's like you didn't notice that my loop terminates at 50 not 350,
though you used an increment of 7 , your loop terminates at 350----about the same number of cycles.
Nairaland GeneralRe: Science Section! We Need One! by bakenda(m): 11:26pm On Jul 23, 2011
Science indeed deserves its own board and it's
long overdue. Topics pertaining to physics, chemistry, and
biology can be discussed there. I think Math should get its
own seperate board too, not to be lumped with science.
The Technology category should then be renamed 'Technology
and Science' or 'Science and Technology' with those new
boards under it.
ProgrammingRe: Programming Challenge. by bakenda(m): 11:03pm On Jul 23, 2011
Here is a little modification of my previous code:


<?php
for($i=1;$i<=50;$i++)
{
echo 7*$i."<br/>";
}
?>


If you have the 'right' solution, it's time to show it-the world is waiting?
ProgrammingRe: Programming Challenge. by bakenda(m): 12:54pm On Jul 23, 2011
Complete PHP solution:


<?php
for($i=1;$i<=50;$i++)
{
$m=7*$i;
echo "$m<br/>";
}
?>


Easy does it. smiley
PhonesTest This App And Get 100 Sms Free by bakenda(op): 6:31am On Jul 23, 2011
Here is a little app for testing phone numbers,
you might want to play with it, also fill the form
to get 100 free sms credit. Check the link :

http://www.supertextng.com
ProgrammingRe: You May Want To Try This . . . by bakenda(op): 10:50pm On Jul 21, 2011
@omo_to_dun, this is very sweet. Works very fine. 100%.

Nice job.
ProgrammingYou May Want To Try This . . . by bakenda(op): 12:12pm On Jul 20, 2011
If you've got some time, here is a little programmming
challenge, I don't know if to call it simple, but I
think it's a little bit tricky. It's a good exercise for
the brain and a good way to learn/teach the basic
principles of programming. Here:

We might call it a 'numeral to text converter'. Create a
simple form with a text box and a submit button, write
a program in your favourite language that converts the
inputted numbers(figures) to the text equivalents,
e.g, if i enter 123 and click the button, i should get an
output 'one hundred and twenty three'.

To make life simple, let's limit the numbers to maximum
of six digits, and integers only.
WebmastersRe: Yahoo Yahoo Boys Have Gone Nuclear by bakenda(m): 6:33pm On Jul 17, 2011
So what form of verification do you suggest?
bros12345:
I repeat, if you sell products or services online, and have your account numbers pasted everywhere, start including some form of verification.
PhonesRe: Mobile Number Series by bakenda(op): 8:53am On Jul 08, 2011
need more responses
WebmastersRe: Pls Help Me On Bulk Sms Website! by bakenda(m): 6:25am On Jul 08, 2011
The answer has been given by lojik;
you need to embed an sms API from a
gateway into your web application.

Other Options?

Try talk to all the mobile networks in the world
or at least those you intend to use.
PhonesRe: Mobile Number Series by bakenda(op): 2:10pm On Jul 07, 2011
Thanks man. Keep them coming
PhonesMobile Number Series by bakenda(op): 1:22pm On Jul 07, 2011
With the increase in the number of subscribers, mobile networks
have had to launch new series of mobile numbers after the initial
0802,0803,0805, they started with, now they are so many numbers
and it can be a bit difficult for some to figure out which network
a particular number belongs, so please help complete the following
series for reference purpose :


MTN = 0803,0806,0703,0706,

GLO = 0805, 0807,,

AIRTEL =0802, 0808,,

ETISALAT = 0809, ,

MULTILINKS=0709,,

STARCOMMs=,

ZOOM=0707,,

VISAFONE=07025,,
BusinessRe: Which Nigerian Banks Have The Best Online Banking System? by bakenda(m): 3:48pm On Jul 01, 2011
[size=15pt]G [/size][size=15pt] T[/size] [size=15pt]B[/size]
CelebritiesRe: Chirsty essien Igbokwe Dead by bakenda(m): 3:23pm On Jul 01, 2011
cry cry cry cry
WebmastersRe: Google Launches Google+ To Battle Facebook [pics] by bakenda(m): 3:40pm On Jun 29, 2011
Google is good. Carry goooo,
WebmastersRe: Miss Nigeria Website Hacked by bakenda(m): 2:24pm On Jun 27, 2011
I hope the recent rise in these "hacktivities" will create a new
and significant stream of income for us webmasters. wink

Seems Slyr0x is already smiling to the bank.
WebmastersRe: Php Error. .Pls Help! by bakenda(m): 6:59pm On Jun 17, 2011
Dual Core:
=========
on a side note, ob_start() at the beginning of your php and ob_flush() at the end of it should also fix this.
Yeah, that will also get the problem solved for the particular
script
the ob there stands for output buffering.

The advantage of using an htaccess file is that it takes
care of all files with that issue instead of inserting ob_start()
and ob_flush() in every script.
WebmastersRe: Php Error. .Pls Help! by bakenda(m): 6:50am On Jun 17, 2011
The problem is from the codes but it has a server solution,
and it has been solved, the software that interprets the
codes is on the server. The problem could also have been
solved by modifying the codes - if he could find a way to
place the header directive before any output is sent
WebmastersRe: Webmasters Classified Terminologies by bakenda(m): 4:53pm On Jun 16, 2011
grin grin grin grin grin grin grin grin
WebmastersRe: Php Error. .Pls Help! by bakenda(m): 3:47pm On Jun 16, 2011
The pleasure is mine.

Very Short Explanation:

Actually, if you want to use the header() function to redirect
to another page, then it has to come before anything else
in the script, that is, you should not send the header after
the page output has started(logical enough), but we can't
avoid that most of the time as evidenced in your script.

Without output buffering (the default), your HTML is sent
to the browser in pieces as PHP processes through your script.
With output buffering=on, your HTML is stored in a variable and
sent to the browser as one piece at the end of your script.

The instruction in the htaccess file is just to instruct Apache
to turn output buffering on, hope you get the idea.
WebmastersRe: Php Error. .Pls Help! by bakenda(m): 1:50pm On Jun 16, 2011
Open a new notepad page, drop the following line in it:

PHP_FLAG output_buffering on



save the page as .htaccess

choose the "All Files" option when saving

drop the file in the folder containing your scripts.

Let's hear how it goes.
WebmastersRe: Php Error. .Pls Help! by bakenda(m): 9:20am On Jun 16, 2011
Do you have an htacces file in your script folder
that handles redirection?

Just let me know if you have an htaccess file, and if yes
paste the content here.

Cheers, help is on the way. smiley smiley smiley
WebmastersRe: Php Error. .Pls Help! by bakenda(m): 9:06am On Jun 16, 2011
Did you md5 hash the admin password before saving it to database?

Comment out the
 error_reporting(0);
line and

let's see if any error message comes up.
WebmastersWorld Map Of Social Networks by bakenda(op): 6:56am On Jun 16, 2011
Christianity EtcRe: Your Words Control Your Life - Pastor Chris by bakenda(m): 8:43am On Jun 08, 2011
Words can be creative. God created the world with words.
WebmastersRe: What Script Does Www.naijapals.com/ Use? by bakenda(m): 7:07am On Jun 08, 2011
You can look into jomsocial and social engine
Jokes Etc9ja Man by bakenda(op): 6:54am On Jun 08, 2011
An American, an English man, and a 9ja ma were on
a ship, suddenly the devil appeared and said 'drop
anything into the sea, if i find it,i'll eat you, i i cant,
i'll be your slave', the American dropped a pin, the devil found
it ate him, the English man dropped a coin, the devil found it
and ate him. The 9ja man opened a bottle of water, poured
it in the sea and said 'na today? your fada! Find am na'.
ProgrammingRe: Please Read by bakenda(m): 10:37am On May 02, 2011
OP=Original Poster

Enjoying the discussion,
WebmastersRe: Facebook Clone 2010 Supreme Edition by bakenda(m): 3:53pm On Apr 11, 2011
@OP
You haven't sent anything.
WebmastersRe: Facebook Clone 2010 Supreme Edition by bakenda(m): 9:44pm On Apr 09, 2011
Interested. Send to ayoppzet @ yahoo.com
WebmastersFree Social Networking Script by bakenda(op): 2:25pm On Mar 09, 2011
Pls any one have a link to a free social networking
script with basic features like chat,forum,member profiles,
groups,

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