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 session works (internal processing of session) ?

3 Answers   ASD Lab, IPSR Solutions,


What are the differences between php constants and variables?

0 Answers  


Explain me is it possible to destroy a cookie?

0 Answers  


Tell us how to redirect a page in php?

0 Answers  


Why do we use namespace in php?

0 Answers  






What is the use of stripslashes in php?

0 Answers  


How many columns can be added in a table in mysql?

0 Answers  


Does it possible to compile php with mysql without having mysql sources?

2 Answers  


How to implement a class named dragonball. This class must have an attribute named ballcount (which starts from 0) and a method ifoundaball. When ifoundaball is called, ballcount is increased by one. If the value of ballcount is equal to seven, then the message you can ask your wish is printed, and ballcount is reset to 0. How would you implement this class?

0 Answers  


What is use of count() function in php?

0 Answers  


Does session expire on closing browser?

0 Answers  


How can we convert asp pages to PHP pages?

3 Answers   Agile Software,


Categories