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

What do you mean range() in php?

0 Answers  


What are escaping characters? Explain with an example?

0 Answers  


How to include variables in double-quoted strings?

0 Answers  


What is the maximum size of a database in mysql?

0 Answers  


How long should a session last?

0 Answers  


Which is the dependent variable?

0 Answers  


How come the code works, but doesn’t for two-dimensional array of mine?

0 Answers  


What are the characteristics of php variables?

0 Answers  


How to open a file in php?

0 Answers  


Is not null mysql?

0 Answers  


Which php global variable is used for uploading a file?

0 Answers  


How can we determine whether a php variable is an instantiated object of a certain class?

0 Answers  


Categories