上一页 1 ··· 8 9 10 11 12 13 下一页

2009年12月7日

将products文件夹的所有图片分离出来

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<?php$server='localhost';$link=mysql_connect($server,'root','');$result=mysql_query('showdatabase... 阅读全文

posted @ 2009-12-07 10:45 haven24 阅读(352) 评论(0) 推荐(0)

2009年11月28日

同步文件

摘要: rsync –avze ssh haven@192.168.1.1:/homg/zhihonghe/sql_bak /home 阅读全文

posted @ 2009-11-28 08:12 haven24 阅读(167) 评论(0) 推荐(0)

在Linux将某个文件copy到特定目录下的所有文件夹下的特定文件夹里

摘要: ls|grep com|awk -F. '{print "cp ips.php "$0"/includes/modules/payment/"}'|bash 阅读全文

posted @ 2009-11-28 08:10 haven24 阅读(764) 评论(0) 推荐(0)

2009年11月11日

通过程序来实现下载。。。最后的办法

摘要: <?phpini_set("max_execution_time",);$ftp_server = "192.168.1.1";$ftp_user = "haven";$ftp_pass = "haven";// set up a connection or die$conn_id = ftp_connect($ftp_server) or die("Couldn't connect to ... 阅读全文

posted @ 2009-11-11 17:43 haven24 阅读(185) 评论(0) 推荐(0)

2009年10月21日

将A文件夹指到另一个域名B.com

摘要: ln -s A/ B.com 阅读全文

posted @ 2009-10-21 11:38 haven24 阅读(140) 评论(0) 推荐(0)

2009年10月19日

linux 查找文件命令

摘要: find / -name "***.com"find 目录 -name sdflk*.so 模糊查找 阅读全文

posted @ 2009-10-19 14:59 haven24 阅读(169) 评论(0) 推荐(0)

2009年10月15日

Linux自动备份压缩MySQL数据库的实用方法

摘要: <?php$server = 'localhost';$link = mysql_connect($server, 'root', 'haven');$result = mysql_query('show databases');echo '<pre>';while ($row = mysql_fetch_array($result)) {@mysql_select_db($ro... 阅读全文

posted @ 2009-10-15 17:24 haven24 阅读(2565) 评论(0) 推荐(0)

2009年10月9日

在putty 中用命令把A换成B

摘要: 在Linux,先进入命令模式 Shift+:。所用的命令:%s/A/B/g /g表示全局替换。 阅读全文

posted @ 2009-10-09 15:26 haven24 阅读(206) 评论(0) 推荐(0)

php 取小数点后面几位

摘要: string number_format ( float $number [, int $decimals ] )string number_format ( float $number , int $decimals , string $dec_point , string $thousands_sep )decimals :小数点后面2位dec_point :小数点用什么符号thousands... 阅读全文

posted @ 2009-10-09 10:53 haven24 阅读(7989) 评论(0) 推荐(0)

2009年9月30日

php debug

摘要: debug_print_backtrace();<?phperror_log($_SERVER['PHP_SELF'],3,'a.log');?><?phperror_log($_SERVER['PHP_SELF'],3,'a.log');?>error_reporting(E_ALL);ini_set("display_errors","1"); 阅读全文

posted @ 2009-09-30 18:36 haven24 阅读(180) 评论(0) 推荐(0)

上一页 1 ··· 8 9 10 11 12 13 下一页

导航