this is the problem-
my program is linked to another website. we arranged that the website would have a link to my program and pass along a parameter that holds an X value. I have many scripts and some of them need to use that value and some don't..so I'm looking for a way to save the parameter that is passed from the website somehow that any of my scripts can access it.
I thought of creating a file that defines it at first and then add require_once to all my scripts but then the file would be redefined each time a script calls it and plus it won't get the parameter sent from the website to use in the definition..
the website will have something like this-
<form method="post" action="myurl.php"> <input type="hidden" name="x" value="1"> <input type="submit" name="submit" value="to my site" /> </form>