<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>cherryphilip</title>
		<link>http://cherryphilip.365d.info/feed/?</link>
		<description>最新主題</description>
		<lastBuildDate>Fri, 22 May 2009 07:41:57 GMT</lastBuildDate>
		<ttl>10</ttl>
		<image>
			<title>cherryphilip</title>
			<url>http://illiweb.com/fa/prosilver/site_logo.gif</url>
			<link>http://cherryphilip.365d.info/feed/?</link>
		</image>
		<item>
			<title>解決亂碼問題-PHP mail() 寄出信件後，主旨的中文亂碼解決方法</title>
			<link>http://cherryphilip.365d.info/forum-f1/topic-t37.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>$EmailSubject = &quot;=?UTF-8?B?&quot; . base64_encode($EmailSubject) . &quot;?=&quot;;</description>
			<category>PHP</category>
			<pubDate>Fri, 22 May 2009 07:41:57 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f1/topic-t37.htm#37</comments>
			<guid>http://cherryphilip.365d.info/forum-f1/topic-t37.htm</guid>
		</item>
		<item>
			<title>PHP的新變數取得方式</title>
			<link>http://cherryphilip.365d.info/forum-f1/topic-t36.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>在PHP4.2之前，php以簡單方便的變數處理方式為人喜愛，這是什麼意思呢，也是php能夠自動將表單的欄位名稱轉換成相對應的變數名稱





我們來看一下這個例子



--------------------test.php-----------------------------------



&lt;?php

echo &#36;name;

?&gt;

 





&lt;HTML&gt;

&lt;HEAD&gt;

&lt;META http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=big5&quot;&gt;

&lt;TITLE&gt;無標題文件&lt;/TITLE&gt;

&lt;/HEAD&gt;



&lt;BODY&gt;

&lt;FORM  ...</description>
			<category>PHP</category>
			<pubDate>Tue, 19 May 2009 03:47:02 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f1/topic-t36.htm#36</comments>
			<guid>http://cherryphilip.365d.info/forum-f1/topic-t36.htm</guid>
		</item>
		<item>
			<title>按鈕變成圖片 image</title>
			<link>http://cherryphilip.365d.info/forum-f7/topic-t34.htm</link>
			<dc:creator>Admin</dc:creator>
			<description><![CDATA[送出         &lt;input type=&quot;image&quot; src=&quot;icon_join3.jpg&quot; &gt;  (自動送出)
<br />
回上一頁&lt;input type=&quot;image&quot; src=&quot;icon_join4.jpg&quot; &#111;nClick=&quot;<u>history.go(-1);return false</u>;&quot;&gt;
<br />
清除         &lt;input type=&quot;image&quot; src=&quot;icon_join5.jpg&quot; &#111;nclick=&quot;<u>this.form.reset();return false</u>;&quot;&gt;]]></description>
			<category>HTML</category>
			<pubDate>Fri, 08 May 2009 01:47:52 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f7/topic-t34.htm#34</comments>
			<guid>http://cherryphilip.365d.info/forum-f7/topic-t34.htm</guid>
		</item>
		<item>
			<title>寫HTML的標準語法!!</title>
			<link>http://cherryphilip.365d.info/forum-f7/topic-t33.htm</link>
			<dc:creator>Admin</dc:creator>
			<description><![CDATA[如果版面跑掉   記得加上這語法:
<br />

<br />
&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
<br />
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;]]></description>
			<category>HTML</category>
			<pubDate>Wed, 06 May 2009 06:30:06 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f7/topic-t33.htm#33</comments>
			<guid>http://cherryphilip.365d.info/forum-f7/topic-t33.htm</guid>
		</item>
		<item>
			<title>上傳檔案2</title>
			<link>http://cherryphilip.365d.info/forum-f1/topic-t32.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>PHP 檔案上傳運作原理

PHP 上傳檔案時會先將檔案移到暫存目錄，上傳成功後再將檔案送往上傳目錄並自動清除暫存檔



php.ini 檔案上傳相關設定



; Whether to allow HTTP file uploads. 檔案上傳，預設為開啟

file_uploads = On



; Temporary directory for HTTP uploaded files (will use system default if not

; specified). PHP 暫存目錄設定，預設為系統暫存目錄，若需設定請將前置分號移除

;upload_tmp_dir  ...</description>
			<category>PHP</category>
			<pubDate>Wed, 29 Apr 2009 15:46:44 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f1/topic-t32.htm#32</comments>
			<guid>http://cherryphilip.365d.info/forum-f1/topic-t32.htm</guid>
		</item>
		<item>
			<title>上傳檔案</title>
			<link>http://cherryphilip.365d.info/forum-f1/topic-t31.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>http://chensh.loxa.edu.tw/php/D_9.php

基本語法:

　File 不是一個獨立的元件，它是 Input 元件的一種使用型態。其基本語法如下： 

　&lt;input type=&quot;file&quot; name=&quot;名稱&quot;&gt; 



參數說明 

　name 係指該元件的名稱，例如：MyPhoto。在事件處理程序中，您可以用 document.FormName.MyPhoto 來稱呼它。 

　假如您希望限制使用者上傳的檔案大小，請在 form 中加上 &lt;input type=&quot;hidden&quot;  ...</description>
			<category>PHP</category>
			<pubDate>Tue, 28 Apr 2009 15:46:55 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f1/topic-t31.htm#31</comments>
			<guid>http://cherryphilip.365d.info/forum-f1/topic-t31.htm</guid>
		</item>
		<item>
			<title>PHP 100例</title>
			<link>http://cherryphilip.365d.info/forum-f1/topic-t30.htm</link>
			<dc:creator>Admin</dc:creator>
			<description><![CDATA[<a href="http://blog.phptw.idv.tw/category-32.html" target="_blank">http://blog.phptw.idv.tw/category-32.html</a>]]></description>
			<category>PHP</category>
			<pubDate>Sun, 12 Apr 2009 10:21:01 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f1/topic-t30.htm#30</comments>
			<guid>http://cherryphilip.365d.info/forum-f1/topic-t30.htm</guid>
		</item>
		<item>
			<title>PHP 程式設計標準</title>
			<link>http://cherryphilip.365d.info/forum-f1/topic-t29.htm</link>
			<dc:creator>Admin</dc:creator>
			<description><![CDATA[<a href="http://twpug.net/docs/php_coding_standard.html" target="_blank">http://twpug.net/docs/php_coding_standard.html</a>]]></description>
			<category>PHP</category>
			<pubDate>Sun, 12 Apr 2009 10:18:13 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f1/topic-t29.htm#29</comments>
			<guid>http://cherryphilip.365d.info/forum-f1/topic-t29.htm</guid>
		</item>
		<item>
			<title>美觀、免費的 CSS 模板</title>
			<link>http://cherryphilip.365d.info/forum-f4/topic-t26.htm</link>
			<dc:creator>Admin</dc:creator>
			<description><![CDATA[<a href="http://www.freecsstemplates.org/css-templates/7" target="_blank">http://www.freecsstemplates.org/css-templates/7</a>]]></description>
			<category>CSS</category>
			<pubDate>Tue, 25 Nov 2008 06:08:44 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f4/topic-t26.htm#26</comments>
			<guid>http://cherryphilip.365d.info/forum-f4/topic-t26.htm</guid>
		</item>
		<item>
			<title>CSS捲軸產生器</title>
			<link>http://cherryphilip.365d.info/forum-f4/topic-t25.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>http://www.moninet.com.tw/easypage/css.php

&lt;STYLE&gt;

&lt;!--

BODY

{

 SCROLLBAR-FACE-COLOR: #fcfcfc;  /*左立體邊顏色*/

 SCROLLBAR-3DLIGHT-COLOR: #d8d8fc; /*箭頭顏色*/

 SCROLLBAR-ARROW-COLOR: #4800b4; /*整體顏色*/

 SCROLLBAR-TRACK-COLOR: #fcfcfc; /*軸面顏色*/

 SCROLLBAR-BASE-COLOR: #b4d8d8 /*軸軌顏色*/

}

--&gt;

&lt;/STYLE&gt; </description>
			<category>CSS</category>
			<pubDate>Sun, 23 Nov 2008 15:32:00 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f4/topic-t25.htm#25</comments>
			<guid>http://cherryphilip.365d.info/forum-f4/topic-t25.htm</guid>
		</item>
		<item>
			<title>230個，常用網頁使用的JS技巧收集 220</title>
			<link>http://cherryphilip.365d.info/forum-f3/topic-t21.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>220.彈出新頁面，關閉舊頁面，不彈出提示框

var w=screen.availWidth-10;



   var h=screen.availHeight-10;

   var swin=window.open(&quot;/message_management.jsp&quot;,&quot;BGSMbest&quot;,&quot;scrollbars=yes,status,location=0,menubar=0,toolbar=0,resizable=no,top=0,left=0,height=&quot;+h+&quot;,width=&quot;+w);

   window.opener=null;

   window.close();



221.能輸入的下拉框

&lt;span&gt;

&lt;input name=&quot;Department1&quot; id=&quot;Department1&quot; style=&quot;  ...</description>
			<category>JavaScript</category>
			<pubDate>Sun, 09 Nov 2008 16:16:56 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f3/topic-t21.htm#21</comments>
			<guid>http://cherryphilip.365d.info/forum-f3/topic-t21.htm</guid>
		</item>
		<item>
			<title>230個，常用網頁使用的JS技巧收集 201</title>
			<link>http://cherryphilip.365d.info/forum-f3/topic-t20.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>201.將url轉化為16進制形式

var ret = '';

for(var i=0; i &lt; str.length; i++)

{

  var ch = str.charAt(i);

  var code = str.charCodeAt(i);



  if(code &lt; 128 &amp;&amp; ch != '[' &amp;&amp; ch != '\'' &amp;&amp; ch != '=')

  {

   ret += ch;

  }

  else 

  {

   ret += &quot;[&quot; + code.toString(16) + &quot;]&quot;;

  }

}

return ret;



202.打開新的窗口並將新打開的窗口設置為活動窗口

var newWin=window.open(&quot;xxxx&quot;);

newWin.focus();



203.容錯腳本

JS中遇到腳本錯誤時不做任何操作:window.&#111;nerr&#111;r  ...</description>
			<category>JavaScript</category>
			<pubDate>Sun, 09 Nov 2008 16:16:38 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f3/topic-t20.htm#20</comments>
			<guid>http://cherryphilip.365d.info/forum-f3/topic-t20.htm</guid>
		</item>
		<item>
			<title>230個，常用網頁使用的JS技巧收集 191</title>
			<link>http://cherryphilip.365d.info/forum-f3/topic-t19.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>191.加注音

&lt;RUBY&gt;

基準文本

&lt;RT&gt;注音文本

&lt;/RUBY&gt;//



192.加刪除線

&lt;S&gt;此文本將帶刪除線顯示。&lt;/S&gt;



193.取frame中的event事件

document.frames(&quot;workspace&quot;).event.keyCode



194.是彈出方法的定義

String.prototype.trim=function()

{

return this.replace(/(^\s*)|(\s*&#36;)/g、&quot;&quot;);

}

alert(&quot;  &quot;.trim)



195.防止網頁被包含

if (window != window.top)

top.location.href  ...</description>
			<category>JavaScript</category>
			<pubDate>Sun, 09 Nov 2008 16:16:03 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f3/topic-t19.htm#19</comments>
			<guid>http://cherryphilip.365d.info/forum-f3/topic-t19.htm</guid>
		</item>
		<item>
			<title>230個，常用網頁使用的JS技巧收集 171</title>
			<link>http://cherryphilip.365d.info/forum-f3/topic-t18.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>171.設置和使用cookie

&lt;HTML&gt;

&lt;BODY&gt;

設置與讀取 cookies...&lt;BR&gt;

寫入cookie的值&lt;input type=text name=gg&gt;

&lt;INPUT TYPE = BUTTON Value = &quot;設置cookie&quot; &#111;nClick = &quot;Set()&quot;&gt;

&lt;INPUT TYPE = BUTTON Value = &quot;讀取cookie&quot; &#111;nClick = &quot;Get()&quot;&gt;&lt;BR&gt;

&lt;INPUT TYPE = TEXT NAME = Textbox&gt;

&lt;/BODY&gt;

&lt;SCR&#73;PT LANGUAGE=&quot;JavaScr&#105;pt&quot;&gt;

function Set()

{

var Then  ...</description>
			<category>JavaScript</category>
			<pubDate>Sun, 09 Nov 2008 16:15:13 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f3/topic-t18.htm#18</comments>
			<guid>http://cherryphilip.365d.info/forum-f3/topic-t18.htm</guid>
		</item>
		<item>
			<title>230個，常用網頁使用的JS技巧收集 101</title>
			<link>http://cherryphilip.365d.info/forum-f3/topic-t17.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>101.餅圖

&lt;style&gt;

v\:*     { behavior: url(#default#VML) }

o\:*     { behavior: url(#default#VML) }

.shape    { behavior: url(#default#VML) }

&lt;/style&gt;

&lt;scr&#105;pt language=&quot;javascr&#105;pt&quot;&gt;

function show(pie)

{

pie.strokecolor=pie.fillcolor;

pie.strokeweight=10;

div1.innerHTML=&quot;&lt;font size=2 color=red&gt; &quot; + pie.id +&quot;&lt;/font&gt; &lt;font size=2&gt;&quot; + pie.title + &quot;&lt;/font&gt;&quot;;

}

function hide(pie)

{

pie.strokecolor=&quot;white&quot;;

pie.strokeweight=1;

div1.innerHTML=&quot;&quot;;

}

&lt;/scr&#105;pt&gt;

&lt;/head&gt;

&lt;body&gt;

&lt;v:group  ...</description>
			<category>JavaScript</category>
			<pubDate>Sun, 09 Nov 2008 16:14:27 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f3/topic-t17.htm#17</comments>
			<guid>http://cherryphilip.365d.info/forum-f3/topic-t17.htm</guid>
		</item>
		<item>
			<title>230個，常用網頁使用的JS技巧收集 51</title>
			<link>http://cherryphilip.365d.info/forum-f3/topic-t16.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>51.向檔案中寫內容

&lt;%@ page import=&quot;java.io.*&quot; %&gt;

&lt;%

String str = &quot;print me&quot;;

//always give the path from root. This way it almost always works.

String nameOfTextFile = &quot;/usr/anil/imp.txt&quot;;

try

{ 

  PrintWriter pw = new PrintWriter(new FileOutputStream(nameOfTextFile));

  pw.println(str);

  //clean up

  pw.close();

}

catch(IOException e)

{

  out.println(e.getMessage());

}

%&gt;



52.先讀檔案再寫檔案

&lt;%@  ...</description>
			<category>JavaScript</category>
			<pubDate>Sun, 09 Nov 2008 16:12:07 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f3/topic-t16.htm#16</comments>
			<guid>http://cherryphilip.365d.info/forum-f3/topic-t16.htm</guid>
		</item>
		<item>
			<title>230個，常用網頁使用的JS技巧收集</title>
			<link>http://cherryphilip.365d.info/forum-f3/topic-t15.htm</link>
			<dc:creator>Admin</dc:creator>
			<description>東西很多慢慢看！請多善用 GOOGLE 的查詢功能！



1.文本框焦點問題

&#111;nBlur:當失去輸入焦點後產生該事件

&#111;nF&#111;cus:當輸入獲得焦點後，產生該檔案

&#79;nchange:當文字值改變時，產生該事件

&#79;nselect:當文字加亮後，產生該檔案

&lt;input type=&quot;text&quot; value=&quot;可酷啦&quot; &#111;nf&#111;cus=&quot;if(value=='可酷啦') {value=''}&quot; &#111;nblur=&quot;if 

(value=='') {value='可酷啦'}&quot;&gt;點擊時文字消失，失去焦點時文字再出現



2.網頁按鈕的特殊顏色

&lt;input  ...</description>
			<category>JavaScript</category>
			<pubDate>Sun, 09 Nov 2008 16:10:12 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f3/topic-t15.htm#15</comments>
			<guid>http://cherryphilip.365d.info/forum-f3/topic-t15.htm</guid>
		</item>
		<item>
			<title>http://csstxt.com/好用的CSS產生器</title>
			<link>http://cherryphilip.365d.info/forum-f4/topic-t2.htm</link>
			<dc:creator>Admin</dc:creator>
			<description><![CDATA[<a href="http://csstxt.com/" target="_blank">http://csstxt.com/</a>]]></description>
			<category>CSS</category>
			<pubDate>Thu, 16 Oct 2008 16:31:01 GMT</pubDate>
			<comments>http://cherryphilip.365d.info/forum-f4/topic-t2.htm#2</comments>
			<guid>http://cherryphilip.365d.info/forum-f4/topic-t2.htm</guid>
		</item>
	</channel>
</rss>