Thanks for response james, but i have already used .php extention when i saved file and if i upload this file through ftp on my web server then it works fine and give me correcte output so one thing is clear that there isn't any problem with php file
and second thing as you said i havent updated php extention in php installation could you please help me where and how i can check whether i have added .php ext. or not i have several time read apache and php installation notes they said add three line in php.ini file and i did that too but still things are not working please help me to start things i m beginner and i really need your help.
thanks.
Libra900