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

Answers were Sorted based on User's Feedback



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

Answer / abhishek dilliwal

<?php include("example_script.php"); ?>

Is This Answer Correct ?    2 Yes 5 No

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

Answer / 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

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

Answer / 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

More PHP Interview Questions

how to run PHP in command line?

8 Answers   InfoShore, Ramp Green, Xtreeme,


How do I find out the number of parameters passed into function9?

0 Answers  


Tell me how comparison of objects is done in php5?

0 Answers  


•How to access crystal reports through PHP code?

1 Answers   Satyam,


What is php regular expression?

0 Answers  


Is php 5 still supported?

0 Answers  


How can I prevent sql-injection in php?

0 Answers  


List some array functions in php?

0 Answers  


what is nl2br?

4 Answers  


What is the difference between htmlentities() and htmlspecialchars()?

0 Answers  


How to call javascript function in php on button click?

0 Answers  


What is php.ini & .htacess file?

0 Answers  


Categories