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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php