Tuesday, March 25, 2008

Start PHP and Mysql in Fedora Core 3

Actually I studied how to open mysql in fedora linux in my last vacation time. But I haven't written it anywhere . That's why I had to go for searching it again.

If we installed every mysql package in Fedora Core 3, we would get one 'mysqld'. It starts mysql server demon.

For getting mysql prompt , execute /etc/init.d/mysqld start in shell prompt.

[root@localhost ~]# /etc/init.d/mysqld start

Starting MySQL: [ OK ].....

Execute mysql in shell prompt.

[root@localhost ~]# mysql

mysql > SHOW databases;

mysql > USE mysql;

mysql > SHOW tables;

PHP :-

We can embed php code inside HTML. I copied my php code in /var/www/html and started httpd - Apache Hypertext Transfer Protocol Server . Application --> System Settings --> Server Settings --> Services , tick httpd and click Start.

example 1:

< ?

phpinfo();

? >

save this code in /var/www/html as test.php

run http://localhost/test.php in mozilla. Then we will get the php installation details.

You can make changes in /etc/php.ini.

Sunday, March 23, 2008

This is to ME

When I try to give money to any beggar, my hand go for only coins. Sometimes I have only 5 Rs above notes, then I won't give . Sometimes even if I have 5Rs notes, I go for 5Rs coin or less . In Chennai, if you have a kind or humble heart, then you have to part 10Rs for beggars everyday from your daily budget. Because that much people beg in front of you. Sometimes I won't have mind ( enough confidence) to give to them. These may be the reasons......
Not have that much confidence : - That means , the money that I made is going away from me with out any benefit. So I am not interested ...
What will think others who are all seeing that?? :- some kind of complex may be due to my status, dress, family prestige etc........

Fake beggars :- ( is now very common ) : Beggars are not now real or they are compelling to beg by some others ( mafia) .
It become a usual thing :- Every day I have to see the same beggars on my way to office.

But usually I try to give something to them. If I think about how much fortunes and happiness God has given to me , I can not avoid them.

Thursday, March 13, 2008

Seminar on Stock Market.. .. really unknown subject

Last Monday I had a seminar on stock market. Actually everybody from our batch had to talk one subject on that day.It must be from financial domain, that is mandatory. Fortunatily or unfortunatily I selected stock market. My talk was utter flop. But we all got some primary knowledge to financial domain. Also I got some interest to play in Stock Market( in fututre only ) , eventhough I dont know how to look in stock ratings.