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 ?    0 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a collection in php?

673


Which php function will attach one file to another?

719


What is the use of return in php?

650


What is the use of super-global arrays in php?

671


What are the different data types in javascript?

863


What type of headers that PHP supports?

789


In php, objects are they passed by value or by reference?

711


Why is php so popular?

686


What is php oops concepts?

683


Do I need to install php after xampp?

707


Is php easier than node?

691


What is phpsessid?

702


What is csrf token in php?

759


Write a php script to get the largest key in an array?

729


What are the main error types in php and how do they differ?

1030