原创 過濾url 裏參數

之前網上找到的一個函數,可以過濾掉url裏的參數 public function unsetParam(param, url) { return preg_replace( array(“/{