Cannot SSH to Ubuntu on port 22

If you are trying to ssh to your ubuntu machine and connection refused.

This is because ssh is not enabled in ubuntu by default.

type this in your terminal
sudo apt-get install ssh

Posted at 2pm on 11/30/10 | no comments | Filed Under: Linux read on

PHP Implode array elements

If you are having 1 dimension array and you would like to use this type of array in you mysql query
you can use the PHP implode function.
--------------------------------
Example Array
--------------------------------
echo "<pre>";
print_r($yearSearch);

Array
(
[0] =1979
[1] =1980
[2] =1981
[3] =1982
[4] =1983
[5] =1984
[6] =1985
[7] =1986
[8] =1987

Posted at 12pm on 11/18/09 | no comments | Filed Under: PHP read on

About

Welcome to Xyiry PHP Blog

Hi Im Mohd Izzairi Yamin, a programmer doing open source stuffs and PHP programming. Currently Im working in an MSC status company developing online application solutions. I love PHP very much and it has become my flash and blood. PHP is a great language to learn where you can develop most of today’s online application fast.

I would like to go deeper by mastering PHP language and not to forget Ruby On Rails. Ruby on rails is a language by itself that uses rails framework. For more info of ROR please visit Ruby On Rails PHP has also come up with such new features that is CakePHP, Why CakePHP ? To fasten your development runtime and for a big organization it brings big profit. Hehe.. CakePHP is closer to ruby on rails where cakePHP uses MVC framework.

This blog is for all PHP and open source geeks to share out ideas and opinion.


I would like to welcome all of you to this programming blog. Basically this is a PHP blog and I do hope you would treat this blog as a PHP blog.Please bear in mind that this blog is regardless of colour, race or religion so please do not discuss any issue that might hurt others.

I hope all of you who are here, are the wise ones. So Please Maintain That Perception.

Thank you once again for visiting my PHP Blog

Thanks & Regards
Xyiry

Categories

Monthly Archives