What is VARS.INC in php?

what does vars.inc do in a php include line? what should be the content of vars.inc? is it a config file in php? i'm a newbie and i am trying out some php scripts with include vars.inc lines... can you help me understand?

2 Answers

Relevance
  • 10 years ago
    Favorite Answer

    As far as I know, there is no standard include file in PHP like stdio.h and iostream.h in C/C++. The best way to check it would be to locate the file in your system, and open it to view the code.

    • Login to reply the answers
  • Jim
    Lv 7
    10 years ago

    it's a bad attempt it making an include file. I should think that for security reasons, include files should end in .php not .inc or some other extension, and contents of the include file should have <?php ?> in its entirety.

    • Login to reply the answers
Still have questions? Get your answers by asking now.