Archive for the ‘programming in php’ Category

How long does it take to be proficient in learning PHP and MYSQL and to get certified? How many hours of pract?

How long does it take to be proficient in learning PHP and MYSQL and to get certified?
How many hours of practice or studying does it take to become a PHP and MYSQL programmer??
What the main field that i should study to be first in PHP or the main thing that is commonly used for programming ? What is the average pay starting salary with a certification with no years experince??

go for both of them

Programming – PHP vs Dot Net & Which Language to learn?

Brief Descripton:
- I want to learn a programming language to design websites.
- I just have a basic idea of programming as I learnt in school and was good at it.
- I got no idea about Linux.
- I have created a website using Microsoft Publisher :P

My questions are

1) Which programming language should I learn.
2) Should I start learning PHP or Dot Net.
3) Since I can devote about 8 hours to learning each day how many days will it take before I can start programming to create websites.

Looking to make a career out of this so some good advice will be really appreciated. Thank you.

Linux knowledge is not necessary to learn php. Easy to use Linux-Apache-Php packages are available for windows also. EasyPhp, wamp server are a few to name.
Advantages of learning php.
1. Easy to learn. If you know C, it will be very easy. It uses the same syntax. All you need to lean is the concept.
2. Php hosting is cheap
3. Popular blog managers like wordpress and CMSs like joomla and drupal are biult on php. If you want to master them in future, select php
Advantages of asp.net
1. You will get better salary, atleast here in india, compared to php
2. You are allowed to code in any of the available languages like vb.net, c#.net, vc++.net etc

Whats the use of sprintf function in php programming?


The sprintf() function writes a formatted string to a variable.

Do programming languages such as PHP, MySQL, and JavaScript have to be used in Combination with HTML?

When creating a website or can they be used separately or on their own?

Thanks.

Well, a web page, pretty much by definition, is HTML. You cannot make a web page without HTML, because if it’s not HTML, it’s not a web page.

PHP and JavaScript can certainly be used for many things other than web pages, though such uses are not as common.

MySQL is not a programming language. It is an open-source relational database, and can be used for many things other than web pages.

Simple question about OOP PHP Programming?

Hello, I have one simple question about object oriented programming for PHP. All of the tutorials I find seem to be very brief like this one:

http://www.phpfreaks.com/tutorial/oo-php-part-1-oop-in-full-effect

Does that mean there is nothing more to OOP in PHP? Those are the only new things I have to learn? Because I thought it was more complex than that.

For a start you can learn these.
If you would like to move on,
Visit http://www.zend.com/services/certification/php-5-certification/
to know exactly what the world expects from a PHP Developer

I dont have interest in programming like java/.net/c++.Is PHP alone a good career choice?Will SQL with it help?

Im in 2nd year and doing computer science engineering..im finding writing programs very difficult..im very good in website designing..but i am not sure if it alone will be able to help me to get a good job.
Please guide me as i got to select one for 6 week vocational training.

A lot of websites (like facebook, just to name one), use PHP heavily. So if you are good at PHP you can certainly find job. Here is the point I’m trying to make: if you want a career in programming you probably need to know different type of languages and skills to make yourself competitive in the market. From my own experience, knowing more actually helps the cross development.

How to get a random string in php programming?


You can get random string from the session like

<?php
session_start();
echo session_id();
?>

How to encrypt string in php programming?


You can use md5 to encrypt a string in php

<?php
$pass=’abcdefg’;
echo md5($str);
?>

In php programming how can i redirect from one page to another page?


You can use

<?php
header("Location:red.php");
?>

Linux Hosting Services are Cheapest One