欢迎各位兄弟 发布技术文章
这里的技术是共享的
环境:
redhat 5.x、java 1.6.0、red5 0.9.1、apache-ant-1.8.2
在使用unset删除数组中的某些值时,我们有时需要重建数组索引。默认从0开始方法1;
方法1;
(PHP 4, PHP 5)
is_numeric — 检测变量是否为数字或数字字符串
preg_match — 执行一个正则表达式匹配
<?php
今天Drupal遇到了cache表崩溃问题,错误信息如下:
user warning: Table './tilt_db/cache' is marked as crashed and should be repaired query
这个问题似乎很多人都遇到了,参见 http://drupal.org/node/73297解决方法也比较简单,参见"Repairing a MySQL Database with phpMyAdmin"
详细步骤如下:
先1111是管理端口,就是fms2_console文件连接到server远程管理的时候需要用到的。首先明确关系:
博客分类:
linux
iptables
无论如何,iptables是一个需要特别谨慎设置的东西,万一服务器不在你身边,而你贸然设置导致无法SSH,那就等着被老板骂吧,呵呵。。。
系统 CENTOS 5.6 BASE 64位 LNMP 编译方式 一健包
运行pear install DB出现以下错误-bash: pear: command not found
百度以一下 原因为 pear模块没有安装 按照网上方法安装 pear 下载到go-pear 结果 运行 php go-pear时又提示
-bash: php: command not found
实在是无解了。求各位老大帮忙
强制修改mysql的root密码,在忘记mysql密码时有用
sh /www/wdlinux/tools/mysql_root_chg.sh
ftp配置文件检查,在FTP不能连接或登录时有用
sh /www/wdlinux/tools/pureftp_conf_check.sh
wdcp权限检查,在wdcp后台不正常或部分功能无法使用时有用
sh /www/wdlinux/tools/wdcp_perm_check.sh
wdcp数据库无法连接的修复,如登录后台提示"无法连接mysql,请检查mysql是否已启动及用户密码是否设置正确"
sh /www/wdlinux/tools/mysql_wdcp_chg.sh
wdcp后台登录密码忘记的修改方法
FileField and ImageField 3.0 have just been released and bring with them the ability to display an upload progress meter in the FileField widget while a file is being uploaded. As ImageField uses the FileField widget this works for ImageFields too.
The original article FileField and ImageField 3.0 for Drupal 6 Released points out: