how to add file in php?



how to add file in php?..

Answer / phpdev

By using include() and require() functions we can add a file
in php..
include() and require() functions takes a file name and
simply inserts that file's contents into the script..

SYNTAX:include("filename");

Is This Answer Correct ?    9 Yes 0 No

Post New Answer

More PHP Interview Questions

What are the advantages of object-oriented programming in php?

0 Answers  


hai plz inform me specific books fo0r paper1,paper2 and paper 3 of group2 examination... plz giv me at the earliest......

1 Answers   APPSC, HCL,


In what are the ways you can encrypt the password ?

7 Answers  


Write a program to get lcm of two numbers using php?

0 Answers  


What is the meaning of a persistent cookie?

0 Answers  






I have two radio button, i click one radio button display one dropdown box, one text field. and then click another radio button display one text field.so any one give me good idea plz.....i used <div id="" style=display:none> but not work..

4 Answers  


What is RSS?How to use it in Program?

3 Answers  


What is variable function php?

0 Answers  


Tell me how do I check if a given variable is empty?

0 Answers  


Is php 5 still supported?

0 Answers  


how to maintained the session from one page to another page based on the url and then entered into the first page is logging into instead of secondpage it goes to the another url.ie first login session togoes to the one url and next login session it goes to another url how is it possible in php please give me answer in that question

1 Answers   iCynergy,


What is implode() in php?

0 Answers  


Categories