I have written a source code in php but I do not know how to compile that and conduct it with a website please explain me the how to compile that ?



I have written a source code in php but I do not know how to compile that and conduct it with a webs..

Answer / sourav

its very easy.if r u in winxp/seven/vista operating system den
u have to install a local server i.e. xampp in your
computer.....den goto your hard drives option nd select the
drive in where u installed the xampp and den open the "htdocs"
inside the xampp folder nd save your source code here with a
.php file extension and den goto your browser and write
"localhost/filename.php(source file name)" in your browser's
address bar and den you can show the result in your browser

Is This Answer Correct ?    10 Yes 3 No

Post New Answer

More PHP Interview Questions

Do you know how to enable error reporting in php?

0 Answers  


What is the substitution of submit in PHP?

6 Answers   RedAlkemi,


Distinguish between urlencode and urldecode?

0 Answers  


Can we use include ("xyz.php") two times in a php page "index.php"?

0 Answers  


Define urlencode() and urldecode() used in php?

0 Answers  






Explain what are some new features introduced in php7?

0 Answers  


Are there regular expressions in php?

0 Answers  


Does php support multiple inheritances?

0 Answers  


How we get ip address of client, previous reference page etc?

0 Answers  


Why does php start with variables?

0 Answers  


What is echo in html?

0 Answers  


What is difference between web service and api?

0 Answers  


Categories