free cbse level education in india

In India there is an organization that provides education, books, clothes, food and shelter free to the poor children. The name of this organization in “Jawahar Navoday Vidhyalaya”. They are located almost all over india and provide free education to kids leaving in rural arear of india. Its motive is to provide good quality modern education to the talented children predominently from the rural areas, without regard to their family’s socio-economic condition.

For more information please log on to: http://www.navodaya.gov.in/welcome sbs.htm

which is the official website for the same.

css hack for ie

#menu a {display:inline-block; line-height:2em !important;

css hack for mozilla firefox

#menu a {display:inline-block; line-height:2em;}
#menu a, x:-moz-any-link {display:-moz-inline-box; padding-top:0.5em;} {mozillz firefox 2}
#menu a, x:-moz-any-link, x:default {display:inline-block; padding-top:0;} {mozilla firefox 3 or greater}

installing pear packages on windows / wamp

first of all start the command line from windows:  click “start” and then “run”; now type “cmd” and press the enter key.

type “pear install <packagename>” (where<packagename> is the name of the package you want to install)

if the above one does not work, manually download the package from the website and got to that directory that contains the downloaded package.

and type “pear install <packagename>”(where<packagename> is the name of the downloaded package)

install pear on windows / wamp

first of all start the command line from windows:  click “start” and then “run”; now type “cmd” and press the enter key.

now go to the directory which contails the php files. in my case i had wamp installed so it was in c:/wamp/bin/php/php5.2.8

now type go-pear” and press the enter key.

Edit the `include_path=".;c:\wamp\bin\php\php5.2.6\pear"` variable in your php.ini file and then restart your server.

Posted in PHP. Tags: . 4 Comments »

some common and basic commands for ubuntu (linux)

sudo – “super-user do” (grants administrator rights)

ls – list contents of a directory
cd – change directory
cd .. – one directory back
aptitude – APT package management system (update, install, remove, search)
apt-get install <package name> – install a package
i.e. “apt-get install php5″ will install php5
chmod – change file access permissions
chown – change file and group ownership
cp – copy
mv – move
rm – remove
cat – concatenate files (dump to screen)
cat > <filename> – creates file having name <filename>
vi – advanced text editor
users – users currently logged in
useradd – add a user
usermod – modify existing user
uname – show system data (try uname -a)
mount – mount a file system, cd or removable drive
umount – un-mount a file system, cd or removable drive
top – show current running processes
touch – create new, empty, file
reboot – reboot your system
shutdown / halt – shutdown your system
passwd – change user password
ping – ping a network device or location (ping google.com)
more – show output one screen at a time
exit – logout of the terminal
eject – eject a cdrom or removable device

for more details on above commands just user man.
i.e. man <command>

SMTP server response: 503 5.5.2 Need Rcpt command

first of all check that is the “$to” parameter passed in the mail() function of PHP is not going blank.

further you can check stmp server error logs

shutdown / restart ubuntu linux

Shutdown ubuntu linux : sudo halt or sudo shutdown -h now

Restart/reboot ubuntu linux: sudo reboot

start/stop mysql on ubuntu server (linux)

1)Install MySql database: sudo apt-get install mysql-server

2) Start MySql server: /etc/init.d/mysql start

3) Stop MySql server: /etc/init.d/mysql stop

4) Restart MySql server: /etc/init.d/mysql restart

5)Check the status of  MySql server: /etc/init.d/mysql status

change keyboard configuration in ubuntu 8.1 server edition (linux)

you can use the command given below to configure keyboard if it has been configured/mapped incorrectly on ubuntu.

dpkg-reconfigure console-setup

Follow

Get every new post delivered to your Inbox.