104的小美工作家-找工作也可以試試喔!

顯示具有 PHP 標籤的文章。 顯示所有文章
顯示具有 PHP 標籤的文章。 顯示所有文章

2010年7月5日 星期一

Apache Mod_rewrite 開啟方式

<body ONDRAGSTART="window.event.returnValue=false" onSelectStart="event.returnValue=false" ONCONTEXTMENU="window.event.returnValue=false" >

修改Apache 設定檔

將底下模組的#拿掉
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c

修改.htaccess 設定值,將其設定為 All
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride All

2009年6月2日 星期二

PHP 表單文字(textarea)內容斷行

使用 nl2br() 函式

參考手冊