How to set a PHP session variable through linux command prompt?
Posted
by
Sev
on Stack Overflow
See other posts from Stack Overflow
or by Sev
Published on 2011-01-02T00:18:00Z
Indexed on
2011/01/02
1:54 UTC
Read the original article
Hit count: 559
How to set a PHP session variable through linux command prompt?
Clarification
So, as you know we can set session variables in PHP using $_SESSION global variable when coding. I would like to know if there is a way to set this variable through php command prompt?
For example, in the code, if I can set $_SESSION['temp'] = "whatever"
Is there a way to set the same variable through command prompt PHP?
© Stack Overflow or respective owner