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

Which function can be used to exit from the script after displaying the error message?

523


How to redirect a page in php?

580


Is java is better than php?

551


Which is better session or cookie?

528


What is the difference between md5(), crc32() and sha1() crypto on php?

621






Tell me how can we determine whether a php variable is an instantiated object of a certain class?

562


What is meant by PEAR in PHP?

564


What is $globals php?

538


What is pdo in php why use?

501


How to call javascript function in php without any event?

495


What is the use of offset in mysql?

528


What is http get and post?

535


What is the difference between get and post method in php?

503


What is if isset ($_ post submit )) in php?

545


Explain PHP looping?

552