Code Comments
Programming Forum and web based access to our favorite programming groups.I'm trying to capture a sql query and save it to the
database. Not as a stored procedure , more a URL
parameter string , to be called up at will.
I have this code that I believe will take the URL,
just not sure how to go about grabbing it. I think
maybe a hidden form with POST.
I'm open to any ideas or help. :)
$ReturnPage = isset($_SERVER["REQUEST_URI"]) ?
$_SERVER["REQUEST_URI"] : "";
if(!strlen($ReturnPage)) {
$ReturnPage = isset($_SERVER["SCRIPT_NAME"]) ?
$_SERVER["SCRIPT_NAME"] : "";
$QueryString = CCGetQueryString("QueryString", "");
if($QueryString !== "")
$ReturnPage .= "?" . $QueryString;
Thank you,
Stuart
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.