How to download a php script directly in your script page?

Answer Posted / uma

You can use require function as well and it is a
recommended one..


require("file.php");
reqiure_once("file.php");//will giv a warning msg wen u
include it, the next time by mistake.

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How long does a session last in php?

682


What is php glob?

750


What is scope of variable in php?

778


How we can declare variable in php?

713


How many types of inheritances used in php and how we achieve it.

683


How to convert numbers to strings in php?

710


What is meant by PEAR in PHP?

732


How to replace a substring in a given string in php?

719


How to download and install php on windows?

780


Explain how does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?

748


Explain how to execute a php script using command line.

753


Tell us how can we access the data sent through the url with the post method?

737


What is constructor and destructor?

715


Why session is required?

711


Why namespace is used in php?

730