Hey, im kinda new to php, i have some experience programming with it, but i was wondering if there are such things as Global Variables with php, like the $session variables with ASP? a variable i can pass to another page to make something with it, but without the need to put it in the address bar like this : hxxp://www.something.com/login.php?var1=value&var2=value. I want this two variables for example to be "global" so that i can use them in anothere php page. Thanks.
you need to call session_start() on each page you want to access session variables. To put variables into the session try: $_SESSION['foo'] = 'bar'; PHP:
you need one session variables or global application varialbes. I think the last variant could be solved using shared memory