聯(lián)系官方銷售客服
1835022288
028-61286886
鉤子名稱check_upload_auth用于上傳文件之前的驗證 使用舉例/config/hooks.php// appname指插件目錄,表示這個插件在調(diào)用,方便排查是哪個插件在調(diào)用這個鉤子\Php
dr_is_empty,dr_is_sys_301,dr_else_value,dr_safe_url,dr_diff,dr_array_keys,dr_array_value,dr_in_array,dr_array_intersect,dr_array_intersect_key,dr_strlen,dr_strpos,dr_stripos,dr_move_uploaded_file,dr_html2code,dr_code2html,dr_html_code,dr_oauth_list,dr_is_mobile,dr_is_admin_search_field,dr_get_array_key,dr_site_info,dr_site_value,dr_get_ftable,dr_get_ftable_array,dr_get_content_img,dr_get_content_url,dr_is_app,dr_is_module,dr_rp,dr_rp_view,dr_qrcode,dr_sec2time,dr_get_files,dr_get_image,dr_upload_temp_path,dr_star_level,dr_format_create_sql,dr_cms_domain_name,dr_lang,dr_client_data,dr_ueditor_html,dr_get_domain_name,dr_save_bfb_data,dr_avatar_dir,dr_avatar_path,dr_avatar,dr_member_info,dr_member_username_info,dr_list_function,dr_linkagepos,dr_linkage,dr_linkage_json,dr_linkage_list,dr_linkage_id,dr_linkage_cname,dr_linkage_level,dr_payform,dr_fieldform,dr_block,dr_var_value,dr_get_file,dr_down_file,dr_get_file_url,dr_field_options,dr_field_setting,dr_member_auth,dr_member_auth_id,dr_zhe_price,dr_price_value,dr_sku_value_name,dr_sku_price,dr_sku_name,dr_level_next_value,dr_html_auth,dr_pay_type_html,dr_pay_name,dr_pay_type,dr_pay_status,dr_pay_money_html,dr_clear_empty,dr_list_field_order,dr_array2array,dr_array22array,dr_is_use_module,dr_site_table_prefix,dr_module_table_prefix,dr_mform_table_prefix,dr_form_table_prefix,dr_icon,dr_file,dr_file_preview_html,dr_is_image,dr_format_option_array,dr_field_input,dr_dir_map,dr_file_map,dr_return_data,dr_form_hidden,dr_get_csrf_token,dr_form_search_hidden,dr_base64_encode,dr_base64_decode,dr_get_theme,dr_randcode,dr_dir_delete,dr_authcode,dr_now_url,dr_code,dr_sorting,dr_member_order,dr_show_stars,dr_ajax_template,dr_post_json_data,dr_catcher_data,dr_search_rewrite_encode,dr_search_rewrite_decode,dr_rewrite_encode,dr_rewrite_decode,dr_get_keyword,dr_safe_keyword,dr_safe_replace,dr_safe_filename,dr_safe_username,dr_safe_password,dr_rm_http,dr_safe_replace_path,dr_strcut,dr_wordcut,dr_random_color,dr_fdate,dr_date,dr_object2array,dr_arraycut,dr_string2array,dr_array2string,dr_mkdirs,dr_format_file_size,dr_keyword_highlight,dr_preg_html,_format_feed_content_url_length,dr_qrcode_url,dr_get_order_string,dr_discount,dr_distance,dr_square_point,dr_tpl_path,dr_array_rand,dr_array_sort,dr_get_form_post_value,dr_get_mform_post_value,dr_get_register_value,dr_tpl_file,dr_count,dr_http_prefix,dr_to_url,dr_mobile_url,dr_is_url,dr_url_prefix,dr_web_prefix,dr_url_full,dr_url_rel,dr_text_rel,dr_text_full,dr_member_group_etime,dr_member_group_dtype,dr_html2emoji,dr_clear_emoji,dr_text2py,dr_html2text,dr_htmlspecialchars,dr_is_root_path,dr_check_put_path,dr_debug,dr_code2utf8,dr_clearhtml,dr_filter_description,dr_get_description,dr_get_keywords,dr_redirect,dr_redirect_safe_check,remove_invisible_characters
收藏插件接口/index.php?appid=[APPID]&appsecret=[appsecret]&api_auth_code=[登錄appsecret]&api_auth_uid=[用戶id]
文件上傳也屬于數(shù)據(jù)提交接口的一種,我們可以利用數(shù)據(jù)提交接口的方法來完成。請求地址:/index.php?appid=[授權(quán)ID]&appsecret=[授權(quán)碼]&api_auth_code=[登錄授權(quán)碼]&api_auth_uid[用戶id]&s=api&c=file&m=upload_fil...
1、注冊登錄神馬站長平臺 https://zhanzhang.sm.cn/2、根據(jù)站長平臺要求新增你的網(wǎng)站,然后進行文件驗證3、根據(jù)下圖獲取Authkey和復(fù)制神馬的推送收錄接口
用于對字符串進行加密和解密操作,有效期24小時。加密操作:dr_authcode($string, 'ENCODE')解密操作:dr_authcode($string, 'DECODE')
內(nèi)頁頂部導(dǎo)航菜單,如下圖所示位置:在控制器中的定義方式:\Phpcmf\Service::V()->assign([ 'menu' => \Phpcmf\Service::M('auth')->_ad
后臺權(quán)限控制模型文件位于:/dayrui/Fcms/Model/Auth.php功能函數(shù)介紹:驗證操作其他用戶身份權(quán)限編輯時的獲取自定義面板獲取自定義面板判斷當前站點權(quán)限獲取當前管理員的角色組id存儲
應(yīng)用插件可以將自己的內(nèi)容權(quán)限頁面展示到系統(tǒng)框架自帶的權(quán)限設(shè)置界面中,如下手冊區(qū)域:http://m.223987.com/doc/801.html配置介紹部分配置文件:/dayrui/Ap
數(shù)據(jù)提交接口用于客戶端將數(shù)據(jù)提交至服務(wù)端,或者修改已有的服務(wù)端數(shù)據(jù)。一、需要登錄時請求地址:/index.php?appid=[授權(quán)ID]&appsecret=[授權(quán)碼]&api_auth_code=[登錄授權(quán)碼]&api_auth_uid[用戶id]&[任意頁面參數(shù)]...
什么是系統(tǒng)字段?系統(tǒng)字段是系統(tǒng)安裝時預(yù)置的內(nèi)置字段,用于業(yè)務(wù)邏輯處理的字段,這種字段例如:例如上圖中的title和author字段,系統(tǒng)選項打勾的字段。系統(tǒng)字段無法刪除操作,如果不想要這個字段的話,你
一、內(nèi)容批量替換替換任意表中的指定字符,例如把【PHP7】替換成【PHP8】等情況二、內(nèi)容批量修改按條件機批量設(shè)置內(nèi)容,例如把catid=1(欄目id=1)的author字段值,批量設(shè)置為【新名稱】執(zhí)
1、用于hy插件的關(guān)注接口index.php?appid=[授權(quán)ID]&appsecret=[授權(quán)碼]&api_auth_code=[登錄授權(quán)碼]&api_auth_uid=[
1、支持接口/index.php?appid=[授權(quán)ID]&appsecret=[授權(quán)碼]&api_auth_code=[登錄授權(quán)碼]&api_auth_uid=[用戶id]&...
一、函數(shù)名稱\Phpcmf\Service::C()->get_attachment($id)二、函數(shù)介紹獲取附件的基本信息,如作者、大小、地址、下載次數(shù)、文件類型等三、參數(shù)值參數(shù)介紹$id附件id號四、返回值返回文件信息數(shù)組Array ( [id] => 附件id [uid] => 作者id [author] => 作者名稱 [filesize] => 文件大?。▎?..
文件刪除需要驗證登錄賬號,只能刪除登錄賬號上傳的文件請求地址:/index.php?appid=[授權(quán)ID]&appsecret=[授權(quán)碼]&api_auth_code=[登錄授權(quán)碼]...
在php程序中對網(wǎng)站表單入庫插入的操作,首先要明白網(wǎng)站表單的數(shù)據(jù)表結(jié)構(gòu)一、表結(jié)構(gòu)1、主表:dr_1_form_網(wǎng)站表單名稱固定字段介紹id自增uid作者idauthor作者賬號名title標題主題in...
當后臺設(shè)置過以下選擇項時,需單獨對注冊頁面進行升級需要升級的模板為:template/pc/default/member/login_oauth.htmltemplate/mobile/default...
開啟第三方登錄配置:下面介紹申請授權(quán)流程一、QQ登錄https://connect.qq.com 登錄地址:http://你的網(wǎng)站/index.php?s=api&c=oauth&m=index&name=qq&type=login二、微信登錄https://open.weixin.qq.com/ 登錄地址:h...
判斷當前已經(jīng)登錄的賬號是否關(guān)注過微信公眾號1、PHP里面if ($this->uid) { if (\Phpcmf\Service::M()->table('member_oauth')->where('uid', $this->uid)->where('oauth', 'wechat')->counts()) { ...
當內(nèi)容發(fā)布者變化時系統(tǒng)會聯(lián)動變化默認的一些相關(guān)表,在二次開發(fā)時如果涉及到了欄目的自定義表需要重寫conten類http://help.phpcmf.net/461.html內(nèi)容變更作者聯(lián)動繼承類方法// 作者時的聯(lián)動繼承類protected function _edit_author_row($row) {}$row 是當前已變更后的內(nèi)容主表的記錄,其中$row['uid']是已經(jīng)...
當內(nèi)容發(fā)布者變化時系統(tǒng)會聯(lián)動變化默認的一些相關(guān)表,在二次開發(fā)時如果涉及到了欄目的自定義表需要重寫conten類http://help.phpcmf.net/461.html內(nèi)容變更作者聯(lián)動繼承類方法// 作者時的聯(lián)動繼承類protected function _edit_author_row($row) {}$row 是當前已變更后的內(nèi)容主表的記錄,其中$row['uid']是已經(jīng)...
用戶中心列表數(shù)據(jù)接口屬于任意頁面API接口的一種,那么方法參數(shù)可以參考任意頁面API接口。此接口需要用戶登錄,因此還需要使用[授權(quán)認證碼]。請求格式:/index.php?appid=[授權(quán)ID]&appsecret=[授權(quán)碼]&api_auth_code...
萬網(wǎng)虛擬主機無法連接數(shù)據(jù)時怎么辦?Warning: mysql_connect(): mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication.一般情況下,虛擬的空間服務(wù)商的數(shù)據(jù)庫都提供了phpMyAdmin的MySQL數(shù)據(jù)...