I am trying to record in a session the current URL - does anyone know what the $_session would equal in this?
_Thanks allPHP Code:<?php
session_start();
$_SESSION['url'] = // store current URL in session
?>
I am trying to record in a session the current URL - does anyone know what the $_session would equal in this?
_Thanks allPHP Code:<?php
session_start();
$_SESSION['url'] = // store current URL in session
?>
OK .. so I found out about 20 seconds after posting >
This is for future reference of anyone that might need it..PHP Code:<?php
session_start();
$_SESSION['url'] = $_SERVER['REQUEST_URI']; // store current URL in session
?>
Thanks for posting the update on what worked for you ...![]()
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!