Why use of session name and session id in the get variables does not work?
- by Roman
I have the following code:
$location .= 'red=no&'.session_name() . "=". session_id();
$content = file_get_contents($location);
echo $content;
If I run it, noting is displayed in my browser. However, if I modify it in the following way:
$location .= 'red=no';
$content = file_get_contents($location);
echo $content;
everything works fine (I…