Skip to main content
  • 博客
    • div+css 博客
    • javascript 博客
      • vue 博客
    • php 博客
      • 微信 博客
  • php
    • drupal
    • composer
    • thinkphp
    • onethink
    • laravel
    • Swoole
    • dedecms
    • magento
    • smarty
    • ecshop
    • zencart
    • joomla
    • discuz
    • wordpress
    • yii
    • 微信
    • 抖音
    • ci
    • weiphp
    • destoon
  • python
    • plone
  • apache
  • nginx
  • cache
    • memcache
    • redis
  • div+css
  • javascript
    • jquery
    • typescript
    • Vue.js
    • Amaze
    • zepto
    • react
    • underscore
    • backbone
    • angular
    • lodash
    • layui
    • js特效
  • vbscript
  • photoshop ai
  • sql
    • mysql
    • mssql
    • oracle
  • regular
  • node.js
  • 腾讯开放平台
  • dreamweaver
  • linux
  • seo
  • app
  • asp及asp.net
  • flash
  • iis
  • java
  • mac
  • wap
  • windows
    • dos
    • 打印机
  • 其它
  • 浏览器
  • 网络
  • AD域 (exchange)
  • 虚拟机
  • AC
  • ai
  • 简写翻译

欢迎各位兄弟 发布技术文章

这里的技术是共享的

个人技术网_前端_后台_php_div_css_linux_javascript_seo 个人技术网_前端_后台_php_div_css_linux_javascript_seo

搜索表单

用户登录

  • 重设密码
shiping1 的头像

PHP stristr strstr 函数的忽略大小写版本

星期六, 2016-04-09 13:10 — shiping1

普通分类: 
php
  • Read more about PHP stristr strstr 函数的忽略大小写版本
shiping1 的头像

body div + css 让层自适应屏幕高度(height)有大用

星期六, 2016-04-09 10:52 — shiping1
想让自己的网站自动判断电脑屏幕的高度,然后让层自动铺满屏幕。
普通分类: 
div+css
  • Read more about body div + css 让层自适应屏幕高度(height)有大用
shiping1 的头像

抓取qq的代码 可能 需要用到的 转换 img的src代码

星期五, 2016-04-08 17:22 — shiping1
<script>
    (function($){
     
普通分类: 
php
  • Read more about 抓取qq的代码 可能 需要用到的 转换 img的src代码
shiping1 的头像

smarty post

星期五, 2016-04-08 13:54 — shiping1
<form id="loginForm" method="post" action="#">
<table id="loginareacenter" cellpadding="0" cellspacing="0" border="0">
{if $emailErr}<tr><th></th><td><font color=red>.{$emailErr}</font></td></tr>{/if}
{if $passwordErr}<tr><th></th><td><font color=red>.{$passwordErr}</font></td></tr>{/if}
<tr><th>{$smarty.const.EMAIL}:</th><td><input type="text" id="email" name="email" value="{$email}"  
普通分类: 
smarty
  • Read more about smarty post
shiping1 的头像

分页代码 有大用

星期五, 2016-04-08 10:52 — shiping1
1)把下面的内容保存为 Page.class.php
普通分类: 
php
  • Read more about 分页代码 有大用
shiping1 的头像

CSS的绝对定位(absolute)与相对定位(relative)

星期五, 2016-04-08 09:38 — shiping1
这是一个困扰了我许久的问题,这几天做个人主页的模板,网页头部的东西显示的位置老是错位,例如主标题,副标题,导航等……

导航总是向右偏移了很多,可是当时我还没有给导航加定位,所以就开始找原因了。把CSS一行一行的往上加,看加到哪才出的错。最后找到了问题的根源,是由于主标题写了 float:left 属性。

普通分类: 
div+css
  • Read more about CSS的绝对定位(absolute)与相对定位(relative)
shiping1 的头像

javascript中top、clientTop、scrollTop、offsetTop的讲解

星期五, 2016-04-08 09:36 — shiping1
http://www.zhangxinxu.com/study/201109/clientleft-clienttop.html   clientLeft和clientTop的测试 有大用
普通分类: 
javascript
  • Read more about javascript中top、clientTop、scrollTop、offsetTop的讲解
shiping1 的头像

linux下查找文件并按时间顺序排序的方法分享 有大用

星期四, 2016-04-07 19:08 — shiping1
本文介绍下,在linux系统中,查找文件的命令用法,以及按时间排序找到的目标文件的方法。有需要的朋友,作个参考吧。
普通分类: 
linux
  • Read more about linux下查找文件并按时间顺序排序的方法分享 有大用
shiping1 的头像

如何设置外网打印机共享

星期四, 2016-04-07 17:14 — shiping1
    普通分类: 
    网络
    • Read more about 如何设置外网打印机共享
    shiping1 的头像

    不同外网网络的打印机共享

    星期四, 2016-04-07 17:13 — shiping1

    有A和B两家公司,A公司用远程桌面连接到B公司的服务器上操作软件,软件上的表单要在A公司打印,打印机在A公司,问如何实现?求教,求教,很着急

    普通分类: 
    打印机
    • Read more about 不同外网网络的打印机共享
    shiping1 的头像

    Jquery 在submit方法中返回false以后无法提交表单的解决方法。

    星期四, 2016-04-07 16:55 — shiping1
    今天,在做练习时,使用到了jquery做前台的错误判断。

    其中,就有需要在检查到有错误的逻辑时,阻止用户提交表单。这么一个需求。

    当时,因为不想使用

    普通分类: 
    jquery
    • Read more about Jquery 在submit方法中返回false以后无法提交表单的解决方法。
    shiping1 的头像

    php面向对象 静态属性为什么能用对象访问

    星期四, 2016-04-07 15:57 — shiping1
    class Sta{
                   static $name = '123456';
    	var $age;
    	static function fun(){
    		return self::
    普通分类: 
    php
    • Read more about php面向对象 静态属性为什么能用对象访问
    shiping1 的头像

    foreach 迭代序号常量等

    星期四, 2016-04-07 15:10 — shiping1
       iteration 见 http://www.hbcms.com/main/smarty/foreach.property.iteration.html       
    iteration 用于显示当前循环的执行次数[待考] 
    普通分类: 
    smarty
    • Read more about foreach 迭代序号常量等
    shiping1 的头像

    smarty与js的交互问题

    星期四, 2016-04-07 13:01 — shiping1
    我使用SMARTY传值给了JS。。JS也收到了内容。。var abc = <{$row_array}>;alert(abc[0]['id']);这样书写的话是可以在PHP页面正常输出值的。。这是写在HTML页面的。。我如果写在外部的JS的文件中。。将JS文件调用在HTML中。。这程序就一点反应都没有了。。是为什么呢??<script type="text/javascript" language="javascript" src="test.js"></script>js里的内容和上面的一摸一样。。路劲什么的都正确啊。。
    普通分类: 
    smarty
    • Read more about smarty与js的交互问题
    shiping1 的头像

    javascript调用smarty变量的方法

    星期四, 2016-04-07 12:58 — shiping1
    1.方法1:
    普通分类: 
    smarty
    • Read more about javascript调用smarty变量的方法
    shiping1 的头像

    关于eclipse环境下的The User Operation is waiting for background work to complete

    星期四, 2016-04-07 08:39 — shiping1
    关于eclipse环境下的The User Operation is waiting for background work to complete

    原因:

    普通分类: 
    其它
    • Read more about 关于eclipse环境下的The User Operation is waiting for background work to complete
    shiping1 的头像

    关于eclipse保存代码很慢,提示the user operation is waiting的有关问题

    星期四, 2016-04-07 08:38 — shiping1
    关于eclipse保存代码很慢,提示the user operation is waiting的问题

     

    首先 去掉 project - build Automaticlly 

    普通分类: 
    其它
    • Read more about 关于eclipse保存代码很慢,提示the user operation is waiting的有关问题
    shiping1 的头像

    彻底解决 Eclipse出现the user operation is waiting的问题

    星期四, 2016-04-07 08:37 — shiping1
    这两天又开始做项目了,但是没开始多久就发现了这个问题:只要文件被修改过,不论多小的修改,保存的时候都会跳出一个框框,里面写着the user operation is wating。。。。下面紧跟两个红色进度条。
    普通分类: 
    其它
    • Read more about 彻底解决 Eclipse出现the user operation is waiting的问题
    shiping1 的头像

    保存文件

    星期三, 2016-04-06 12:34 — shiping1
     function SaveTo($filename)
        {
            $fp = @fopen($filename,"w") or die("DedeTag Engine Create File False");
            fwrite($fp,$this->GetResult());
            fclose($fp);
        }
    普通分类: 
    php
    • Read more about 保存文件
    shiping1 的头像

    php利用mkdir创建多级目录 父目录 子目录 有大用

    星期三, 2016-04-06 11:36 — shiping1

     

    普通分类: 
    php
    • Read more about php利用mkdir创建多级目录 父目录 子目录 有大用
    shiping1 的头像

    关闭显卡快捷键 CTRL+ALT+方向键

    星期六, 2016-04-02 04:28 — shiping1

     

    普通分类: 
    windows
    • Read more about 关闭显卡快捷键 CTRL+ALT+方向键
    shiping1 的头像

    计算时间差 微秒 有大用

    星期六, 2016-04-02 04:05 — shiping1
    <?php
    
    /*
     * Created on 2016-4-2
     *
     * To change the template for this generated file go to
    
    普通分类: 
    php
    • Read more about 计算时间差 微秒 有大用
    shiping1 的头像

    php程序编写:返回某字符串在另一个字符串中,第5次出现的位置 第二次出现的位置 有大用

    星期五, 2016-04-01 16:55 — shiping1
    $s = "sabcdefdadsdcasdfdasdsa";
    $a = "a";
    普通分类: 
    php
    • Read more about php程序编写:返回某字符串在另一个字符串中,第5次出现的位置 第二次出现的位置 有大用
    shiping1 的头像

    post get 等过滤

    星期五, 2016-04-01 16:20 — shiping1
    <?php
     
    function safe_func_array($arr)
    {
    foreach ( $arr as $key => $value ) {
           $arr[$key] = safe_func($value);
    }
    return $arr;
    }
     
     
    function safe_func($str){
    $vowels = array("\\","$","%","^","&","*",'<','>');
    $str = str_replace($vowels, "", $str);
    empty($str) && $str='';
    return $str;
    }
    function safe_func_path($str){
    $vowels = array("\\", "'", "\"");
    普通分类: 
    php
    • Read more about post get 等过滤
    shiping1 的头像

    PHP中如何截取从开头到某一位置的字符串

    星期五, 2016-04-01 16:07 — shiping1
    专业回答
    普通分类: 
    php
    • Read more about PHP中如何截取从开头到某一位置的字符串
    shiping1 的头像

    称除回车tab键 去掉首尾的中英文空格 (中文英文空格) 有大用

    星期五, 2016-04-01 15:03 — shiping1
    //称除回车tab键
    function removeEnterTab($str)
    {
    
    普通分类: 
    php
    • Read more about 称除回车tab键 去掉首尾的中英文空格 (中文英文空格) 有大用
    shiping1 的头像

    二维数组变一维,第一个参是二维数组,第二个是数组里的字段名

    星期五, 2016-04-01 15:01 — shiping1
    function twoArrayToOne($rows,
    普通分类: 
    php
    • Read more about 二维数组变一维,第一个参是二维数组,第二个是数组里的字段名
    shiping1 的头像

    php 文件上传类 下载 自己亲自做的 有大用

    星期五, 2016-04-01 14:18 — shiping1

    https://github.com/aivis/PHP-file-upload-class (没有使用)
    http://www.verot.net/php_class_upload.htm (没有使用)
    https://github.com/verot/class.upload.php (没有使用)

    下面是自己亲自做的方法

    普通分类: 
    php
    • Read more about php 文件上传类 下载 自己亲自做的 有大用
    shiping1 的头像

    <input type="file" />浏览时只显示指定文件类型 自己亲自做的 有大用

    星期五, 2016-04-01 13:40 — shiping1

    下面是自己亲自做的  

    普通分类: 
    div+css
    • Read more about 浏览时只显示指定文件类型 自己亲自做的 有大用
    shiping1 的头像

    mysql 中 character set 与 collation 的点滴理解

    星期五, 2016-04-01 13:13 — shiping1

     

    普通分类: 
    mysql
    • Read more about mysql 中 character set 与 collation 的点滴理解

    页面

    • « 第一页
    • ‹ 前一页
    • …
    • 519
    • 520
    • 521
    • 522
    • 523
    • 524
    • 525
    • 526
    • 527
    • …
    • 下一页 ›
    • 末页 »
    Subscribe to 个人技术网_前端_后台_php_div_css_linux_javascript_seo RSS
    Powered by Drupal

    友情链接

    校园好文网

     www.shipingzhong.cn  个人技术网_前端_后台    备案号:苏ICP备18010659号-2