global $QUERY_STRING; $url =$modx->config['site_url']; $file=$url."/assets/modules/board/add.php?".$QUERY_STRING; ob_start();//Start the buffer include ("$file"); //include $ob_contents = ob_get_contents();//get contents from the buffer ob_end_clean();//and kill/delete the buffer return $ob_contents;//return
Все равно не получается. Через get работает, а через ПОСТ не хочет. Приходят пустые поляПробывал посмотреть, что приходит из формы?