0
Guys, first hello everyone!! I have a question,
I need to put a variable with the URL of the specific page in Session, to be used in several later pages. The code I’m using to get the URL is this
$URL_PAG = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
But I couldn’t get it into Session without it changing on the back page. Could someone shed some light on how I should proceed?
How do you change it? It takes the url from the other page?
– Woton Sampaio
http://php.net/manual/en/sessionhandler.write.php
– thiagoalessio
Look at my answer, here it worked
– Woton Sampaio
In short, I upload an image and I want to use its URL in Sesssion, I wasn’t able to use the URL in Sesssion, but dear Woton Sampaio helped a lot.
– Jonata Santos