0

how it`s possible to include a file (include();) from the root folder to a files from different subfolders ?

coolboycsaba
  • 183
  • 6
  • 14

1 Answers1

-1

Use relative path from your script with ../ or use absolute path with the help of $_SERVER['DOCUMENT_ROOT] as Col. Shrapnel suggested.

István Ujj-Mészáros
  • 3,228
  • 1
  • 27
  • 46