最新 分享

Publish our news and thoughts with all.

Popular Articles

Recent Stories

mysql列赋值列,将表1的某列的值赋给另一表的某列

There is no translation available.

update la6y3_content a,la6y3_k2_items b set b.alias=a.alias where b.title=a.title

PHP date()函数参数详解

There is no translation available.

time()函数在PHP中是得到一个数字,这个数字表示从1980-03-05到现在一共是多少秒,很奇怪,不过这样方便计算。 要找出前一天的时间就是 time()-60*60*24; 要找出前一年的时间就是 time()*60*60*24*365 那么如何把这个数字换成日期格式呢 ,就要用到date()函数了

mysql修改表、字段、库的字符集

There is no translation available.

修改数据库字符集:

ALTER DATABASE db_name DEFAULT CHARACTER SET character_name [COLLATE ...];

最近在捣鼓google map的开发

There is no translation available.

Code Playground ,好像里面有很多代码实例:

http://code.google.com/apis/ajax/playground/?exp=maps#map_simple

域名301跳转到另一个域名

There is no translation available.

<?php
$url="http://原域名".$_SERVER["REQUEST_URI"];
header("HTTP/1.1 301 Moved Permanently");
header ("Location:$url");
?>

linode ubuntu 删除access.log

There is no translation available.

貌似不能直接删除后重启apache的,

解决Ubuntu系统中phpmyadmin上传上限2M的限制

There is no translation available.

ubuntu中php.ini的路径和其他linux不一样,ubuntu的路径为:/etc/php5/apache2/php.ini,sudo vi /etc/php5/apache2/php.ini
1、查找 post_max_size,指通过表单POST给PHP的所能接收的最大值,包括表单里的所有值,默认为8M,看你自 己需要进行改变。

在ubuntu12.04上架设LAMP(Linode完整教程)

There is no translation available.

This guide provides step by step instructions for installing a full featured LAMP stack on an Ubuntu 12.04 (Oneiric) system.

In this guide, you will be instructed on setting up Apache, MySQL, and PHP. If you don't feel that you will need MySQL or PHP, please don't feel obligated to install them. Make sure you're logged into your Linode as the "root" user via SSH before proceeding with these instructions.