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

What is a php array?

0 Answers  


How to enable cURL in PHP?

0 Answers   HCL,


Can you use php and javascript together?

0 Answers  


What is a string in php?

0 Answers  


What is phpsessid?

0 Answers  


How to check an key is exists in array?

0 Answers  


1.<?php echo'bsfjbsnmfbs'; ?> 2.<? ech'hjndfjkshf'; ?> 3 <? echo'naskfdjnask'; three programs are exected but which is beter why

3 Answers   HCL,


How do you use bcrypt for hashing passwords in php?

0 Answers  


Can you specify the "new line" character in single-quoted strings?

0 Answers  


What is strcmp () in php?

0 Answers  


Is php developer in demand?

0 Answers  


What is session_start () in php?

0 Answers  


Categories