Can include files access global variables from the rest of the script?
Can include files access global variables from the rest of the script?
Yes. The file is included into the main script verbatim, you don't even need to.Code:global $var;
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks