当前位置: 首页>>代码示例>>PHP>>正文


PHP Clean::txt_note方法代码示例

本文整理汇总了PHP中Clean::txt_note方法的典型用法代码示例。如果您正苦于以下问题:PHP Clean::txt_note方法的具体用法?PHP Clean::txt_note怎么用?PHP Clean::txt_note使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Clean的用法示例。


在下文中一共展示了Clean::txt_note方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: isset

$note_image_V = isset($_POST['note_image_V']) ? Clean::txt_note($_POST['note_image_V']) : '';
$note_image_VV = isset($_POST['note_image_VV']) ? Clean::txt_note($_POST['note_image_VV']) : '';
$note_texte_RR = isset($_POST['note_texte_RR']) ? Clean::txt_note($_POST['note_texte_RR']) : '';
$note_texte_R = isset($_POST['note_texte_R']) ? Clean::txt_note($_POST['note_texte_R']) : '';
$note_texte_V = isset($_POST['note_texte_V']) ? Clean::txt_note($_POST['note_texte_V']) : '';
$note_texte_VV = isset($_POST['note_texte_VV']) ? Clean::txt_note($_POST['note_texte_VV']) : '';
$note_legende_RR = isset($_POST['note_legende_RR']) ? Clean::txt_note($_POST['note_legende_RR']) : '';
$note_legende_R = isset($_POST['note_legende_R']) ? Clean::txt_note($_POST['note_legende_R']) : '';
$note_legende_V = isset($_POST['note_legende_V']) ? Clean::txt_note($_POST['note_legende_V']) : '';
$note_legende_VV = isset($_POST['note_legende_VV']) ? Clean::txt_note($_POST['note_legende_VV']) : '';
$acquis_texte_NA = isset($_POST['acquis_texte_NA']) ? Clean::txt_note($_POST['acquis_texte_NA']) : '';
$acquis_texte_VA = isset($_POST['acquis_texte_VA']) ? Clean::txt_note($_POST['acquis_texte_VA']) : '';
$acquis_texte_A = isset($_POST['acquis_texte_A']) ? Clean::txt_note($_POST['acquis_texte_A']) : '';
$acquis_legende_NA = isset($_POST['acquis_legende_NA']) ? Clean::txt_note($_POST['acquis_legende_NA']) : '';
$acquis_legende_VA = isset($_POST['acquis_legende_VA']) ? Clean::txt_note($_POST['acquis_legende_VA']) : '';
$acquis_legende_A = isset($_POST['acquis_legende_A']) ? Clean::txt_note($_POST['acquis_legende_A']) : '';
$acquis_color_NA = isset($_POST['acquis_color_NA']) ? Clean::texte($_POST['acquis_color_NA']) : '';
$acquis_color_VA = isset($_POST['acquis_color_VA']) ? Clean::texte($_POST['acquis_color_VA']) : '';
$acquis_color_A = isset($_POST['acquis_color_A']) ? Clean::texte($_POST['acquis_color_A']) : '';
$chemin_dossier = CHEMIN_DOSSIER_IMG . 'note' . DS . 'choix' . DS . 'h' . DS;
$test_image_RR = preg_match("/^[0-9a-z_-]+\$/i", $note_image_RR) && is_file($chemin_dossier . $note_image_RR . '.gif');
$test_image_R = preg_match("/^[0-9a-z_-]+\$/i", $note_image_R) && is_file($chemin_dossier . $note_image_R . '.gif');
$test_image_V = preg_match("/^[0-9a-z_-]+\$/i", $note_image_V) && is_file($chemin_dossier . $note_image_V . '.gif');
$test_image_VV = preg_match("/^[0-9a-z_-]+\$/i", $note_image_VV) && is_file($chemin_dossier . $note_image_VV . '.gif');
$longueur_NA = mb_strlen($acquis_color_NA);
$longueur_VA = mb_strlen($acquis_color_VA);
$longueur_A = mb_strlen($acquis_color_A);
$test_color_NA = preg_match("/^\\#[0-9a-f]{3,6}\$/i", $acquis_color_NA) && $longueur_NA != 5 && $longueur_NA != 6;
$test_color_VA = preg_match("/^\\#[0-9a-f]{3,6}\$/i", $acquis_color_VA) && $longueur_VA != 5 && $longueur_VA != 6;
$test_color_A = preg_match("/^\\#[0-9a-f]{3,6}\$/i", $acquis_color_A) && $longueur_A != 5 && $longueur_A != 6;
// ////////////////////////////////////////////////////////////////////////////////////////////////////
开发者ID:Qwaseur,项目名称:SACoche,代码行数:31,代码来源:administrateur_codes_couleurs.ajax.php


注:本文中的Clean::txt_note方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。