You can use the value to create 5 hidden fields, one for each form.
You can save the value in a session which makes it available for any php script which is run during that session
You can save it in a cookie
You can add the value to the url which calls the scripts.
BUT BEFORE looking at the solution, how are the 5 php scripts called?
That answer will probably give you the method you need straight off.