The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
When redirect, GET value disappeared
#8
It doesn't seem to have a problem if you have a & in front of the first get variable, so this works too...
if(file_exists($abs_us_root.$us_url_root.'usersc/'.$currentPage)){
if(currentFolder()!= 'usersc'){
$url = $us_url_root.'usersc/'.$currentPage;
if(isset($_GET)){
$url .= '?'; //add initial ?
foreach ($_GET as $key=>$value){
$url .= '&'.$key.'='.$value;
}
}
}
Redirect::to($url);
}
  Reply


Messages In This Thread
When redirect, GET value disappeared - by Whaxion - 02-19-2017, 10:29 AM
When redirect, GET value disappeared - by mudmin - 02-19-2017, 03:06 PM
When redirect, GET value disappeared - by Whaxion - 02-19-2017, 03:14 PM
When redirect, GET value disappeared - by mudmin - 02-19-2017, 06:00 PM
When redirect, GET value disappeared - by Whaxion - 02-19-2017, 07:16 PM
When redirect, GET value disappeared - by mudmin - 02-19-2017, 07:17 PM
When redirect, GET value disappeared - by Whaxion - 02-19-2017, 07:19 PM
When redirect, GET value disappeared - by mudmin - 02-19-2017, 07:23 PM
When redirect, GET value disappeared - by Whaxion - 02-19-2017, 07:25 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)