Why am i asking this ? I'm trying hard to fathom php's superglobal concept ... array data/variables for $_POST are only available to the file to which the form posts back.
They are not available to any of the other files in the Website or Application.
Then why /how is $_POST a superglobal which by it's intutive meaning should mean any variable that is available anywhere / everywhere including all files in a website/ Application where it was not defined.
Can someone please explain me the logic behind this ?
I'm particularly looking to find a direct approach (i.e simply calling/declaring the variable and not indirect approaches like inclding the file containing the variable etc.)to share variables throughout all files in the Website/ Application.