Jan 03

How to convert an image to jpeg in php?

Convert an image to jpeg
               
               
In our previous php tutorial you have learned how to upload images using php? While uploading the image you have to find the type of file and save them according to their extension. Now you wish that when a user upload image to your site all types of images automatically converted to a particular image type, like JPEG.

Let’s do it.

Continue reading

Dec 13

How to use Recursive Function ?

Recursive functions are important in a programmer’s life. Many problems can be solve using recursion.

Let’s look into this problem solving method.

               

What is Recursive Function??

               

Before I tell you what is recursive function let’s take an example.

Suppose you have to find sum of 10 numbers from 1 to 10. Like this 1+2+3+4+5+6+7+8+9+10.

You have one option to first add 1 to 2 and then add the result to 3 and so on.

But if you use this method you have to write many lines of code. If you are finding sum of 10 numbers then at least obviously you have to write 10 numbers. Continue reading

Dec 04

Nanotechnology Tooth Tattoo will monitor bacteria in your mouth

Now you don’t have to visit your doctor often for health checkups.

A new invention in nanotechnology will report you about bacteria in your mouth without going anywhere. A wireless tooth sensor will be paste on your tooth that will monitor the traffic of bacteria in your mouth. It’s like a tattoo that can be easily paste on your tooth. You can see the data on a remote monitoring system. It can sense the single bacteria in your mouth and tells you as it sense it.

Nanotechnology tooth tattoo sensor Continue reading

Nov 19

How to upload images using php?

Upload images using php
               
This is our first tutorial in PHP.
               
To learn how to upload images using php you need to know some basic things like – you should know html and you should have basic knowledge of php and mysql syntax. If you are very newbie to html, php and mysql then visit w3schools and learn some basic syntax from there.
               
    Continue reading

Nov 10

Top 5 programming forums to ask programming related questions

Do you have any question or query related to programming? Are you frustrated with the errors? Have you tried each and every way to solve your problem and It seems that errors are cling with you. Why don’t you ask some experts?

You may say where to find experts and why they are going to solve my problem?

They will solve your problem because they love to do it. I will tell you where to find them in this post. I am going to tell you top 5 programming forums to ask programming related questions.  Go there and get riddance with the errors.

Each public place has some rules and guidelines and forums have too. Rules are necessary to maintain a good learning environment. So I suggest you before asking any question to these forums please read their rules and guidelines and follow them.
Continue reading

Nov 05

Google Dart, a new programming language by Google

Google Dart a new programming language

Google products are awesome and are top in their category, before some days Google comes with his browser Google chrome. Now Google chrome replaces all among browsers and becomes world most widely used browser. This time Google is going to implant his flag in programming language field. After launching its system programming language Google GO, Google launches a web programming language called Google Dart.

Google Dart is an open source web programming language. It is class based object oriented programming language which follows c syntax style. It was first introduced at GOTO Conference in 2011 (October 10-12). Google is still working on Dart to build more complex, full-featured client-side web apps. It was first released in Nov 18, 2011. Google Dart enters first time in top 50 programming languages in TIOBE Oct 2012 index. Continue reading