$data =array('website_id'=> $website_id,'website_page_id'=> $_POST['website_page_id'],'on_website'=>1,'uri'=> $_POST['uri']);foreach($seo_field_arrayas$type => $arr) {foreach($arras$field => $max) { $data['field'] = $field; $rs = aql::select("website_uri_...
define("MAX_DISPLAY_PAGES",21);/* === input validation === */input_validate_input_number(get_request_var_request("host_id")); input_validate_input_number(get_request_var_request("page")); input_validate_input_number(get_request_var_request("poller_action"));/* === *//* clean up...
We just wanted to provide protection for sites that cannot immediately fix their PHP-installation and that want to protect their server against script-kids that try around with GET and POST-vars. Our script does exactly that. It is not a fix but a workaround. Pingback:PHP Hangs On Numeric ...
*@returnbool */publicfunctionopen($savePath, $sessionName){if(!isset($this->_lifeTime)) {$this->_lifeTime = intval(ini_get("session.gc_maxlifetime")); }if(!isset($this->_refreshTime)) {$this->_refreshTime = ceil($this->_lifeTime /3); }$this->_initSessionData =null;$this-...
$type = SpoonFilter::getValue($type,array('error','custom'),'error');// file$file =self::getPath() .'/'. $type .'.log';// rename if neededif((int) @filesize($file) >=self::MAX_FILE_SIZE *1024) {// start new log fileSpoonDirectory::move($file, $file .'.'. date('Ym...
*/functionajaxRemove(array $form, FormStateInterface &$form_state){// Process user input. $form and $form_state are modified in the process.//\Drupal::formBuilder()->processForm($form['#form_id'], $form, $form_state);// Retrieve the element to be rendered.$trigger = $form_state-...
$iId = (int) $oForm->insert(array('module'=> BX_DOL_STUDIO_MODULE_CUSTOM,'name'=> $sName,'active'=>1,'order'=>$this->oDb->getItemOrderMax($this->sSet) +1));if($iId !=0) { $aRes =array('grid'=>$this->getCode(false),'blink'=> $iId); ...
publicfunctionget_results_data($form, $fields, $search_criteria = array(), $state_array = array(), $max_execution_time =15){//todo:add hooks to modify $max_execution_time and $page_size?$page_size =150; $time_start = microtime(true); ...
$ifilter = $clean_output ==1? JFilterInput::getInstance(null,null,1,1) : JFilterInput::getInstance(); }if(1) {// (* BECAUSE OF THIS, the value display loop expects unserialized values)foreach($valuesas&$value) {// Compatibility for unserialized values or for NULL values in a field...
$check_array = $db->fetch_array($check_query);if($check_array['total'] >=$this->max_ip_sessions) {return$result; }$this->id =tep_create_random_value(64);$this->new_id = $result =true; $http->set_cookie($this->name);//$http->set_cookie($this->name, $this->id, time()...