i have a script that i am trying to password protect when i put a call to my authentification class at the top of this script i get errors such as:
Fatal error: Call to undefined function: build_main_page()
without the call to the authentification class the script works fine, though the functions in question are referenced before they are declared.
what could be going on to prevent the function from being found?
thanks,
ben