`
longzhe746
  • 浏览: 63627 次
  • 性别: Icon_minigender_1
  • 来自: 吉林省延吉市
社区版块
存档分类
最新评论
文章列表
grant create table to  用户名
文件位置:oracle\product\10.2.0\db_1\NETWORK\ADMIN   tnsnames.ora 配置服务器或本地数据库   EXTPROC_CONNECTION_DATA =    \\安装Oracle之后原有的配置   (DESCRIPTION =     (ADDRESS_LIST =       (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))     )     (CONNECT_DATA =       (SID = PLSExtProc)       (PRESENTATION = RO)    ...
函数说明: URLEncode:一般为地址栏中的中文字加密时使用,转换后,原明文的汉字将变成加密字符串,但可被浏览器识别。 URLDecode:转换为UTF-8字符串。GOOGLE 搜索引擎就是使用这种编码来搜索中文的。 HTMLEncode:几乎所有的论坛中都有用到的一种编码转换,转换后原有的HTML代码不被执行。以免造成安全隐患。 TrimHTML:转换后,将移除所有的HTML标识,只保留文字。 UTF-8字符还原:可将URLDecode转换后的字符串再次还原为文字。(感谢NB联盟---小竹提供转换函数)(注:UTF-8还原,支持长字符串,但不支持硬回车,即 ...
SELECT CONTENT from sentence where MATCH(CONTENT) AGAINST('good')  
<html> <body> <script> function aa(){ //alert(FCKeditorAPI.GetInstance('FCKeditor1').GetXHTML( true )); if(FCKeditorAPI.GetInstance('FCKeditor1').GetXHTML( true ) == "" || FCKeditorAPI.GetInstance('FCKeditor1').GetXHTML( true ) == null ){ ...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset ...

PHP 获取当前URL

    博客分类:
  • PHP
<?php $url_this = "http://".$_SERVER ['HTTP_HOST'].$_SERVER['PHP_SELF']; echo $url_this; ?>  
$(function(){ $('#element') .bind('keyup',function(event) { // aa(event); if(event.keyCode==13){ alert("nihoa"); } }); });
网上搜刮来的超强的判断输入日期 格式的正则表达式,允许输入的日期格式为yyyy-MM-dd,其中输入2006-1-1,2006-01-01这种格式都是有效的,而且包含了对不同 年份2月的天数,闰年的控制等等: ^((((1[6-9]|[2-9]\d)\d{2})-(0?[13578]|1[02])-(0?[1-9]|[12]\d|3[01]))|(((1[6-9]|[2-9]\d)\d{2})-(0?[1345 6789]|1[012])-(0?[1-9]|[12]\d|30))|(((1[6-9]|[2-9]\d)\d{2})-0?2-(0?[1-9]|1\d|2[0-8]))|((( ...
<html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>无标题页</title> <script src="jquery-1[1].3.2.min.js" type="text/javascript"></script> <script src="jquery.validate.js" ty ...
<?php $url = "http://www.php.net"; echo urlencode($url); //输出编码后的字符串 ?> <?php $url = "http://www.php.net"; $newurl = urlencode($url); //首先对$url进行编码 echo urldecode($ne ...
meta是用来在HTML文档中模拟HTTP协议的响应头报文。meta 标签用于网页的<head>与</head>中,meta 标签的用处很多。meta 的属性有两种:name和http-equiv。name属性主要用于描述网页,对应于content(网页内容),以便于搜索引擎机器人查找、分类(目 前几乎所有的搜索引擎都使用网上机器人自动查找meta值来给网页分类)。这其中最重要的是description(站点在搜索引擎上的描述)和 keywords(分类关键词),所以应该给每页加一个meta值。比较常用的有以下几个:   name 属性   1、< ...
function onlyNum(o) { o.value=o.value.replace(/[^\d]/g,''); } <s:textfield name="CATEGORY_SEQUENCE" id="CATEGORY_SEQUENCE" onkeyup="onlyNum(this);" ></s:textfield>   

checked maxLength

function isMaxLen(o){ var nMaxLen=o.getAttribute? parseInt(o.getAttribute("maxlength")):""; if(o.getAttribute && o.value.length>nMaxLen){ o.value=o.value.substring(0,nMaxLen) } } <input type="text" onkeyup="return i ...
window.onload = visibleCategoryList; function visibleCategoryList(){ document.getElementById("categoryList").style.display = "none"; } function categoryStatus(){ var category = document.getElementById("category").options[document.getElementById("categor ...
Global site tag (gtag.js) - Google Analytics