Perhaps I'm making this too difficult. I'm trying to require() a php file in one of my scripts... no problem right? But I want to pass a variable along with it, much like you would in a URL.
I want to require a file called ver.php and give it a parameter.
So for example, if I were going to the page directly via my browser, I would go to ../ver.php?action=whatever
I want to say require 'ver.php?action=whatever' but doing so gives me a fatal error saying the file cannot be opened.
So my question is, how do I pass a variable into an included file?