首頁 美術繪圖 | 美術設計 | 熱門標籤 | 首選 | 首頁宣傳 | 近期作品 論壇: 發表 | 美術工作 | 美術比賽 | 展覽活動 | 美術相關 | 一般討論 | 美術同好 CG 討論 :: Photoshop | Painter | 3D 行動 | AMP

【 立即註冊 】 : 更改個人資料 : : 登入

會員名稱: 登入密碼: 保持登入
Type(Type) 所有的發表文章

前往頁面 ←上一頁  1 ... 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 ... 557  下一頁→

Type 寫到:
0. [News]: News Enhanced Phase-1, Top N News By Group WebPart==> 完成
1. [News]: News Enhanced Phase-2, Everyday New Photos
2. [Gallery]: Gallery Combine with OU of PHPBB2
3. [PaintBBS]: Archive Rules ( rule! )
4. [PaintBBS]: Archive Link Logo / Archive Link Page and OU Control
         ( unified visit scheme)
5. [PHPBB]: OU Control ( low priority )
  5.1 Gallery of Vovo
  5.2 Gallery ( wait for task-2 )
  5.2 About
  5.4 Who
  5.5 Talk
6. [LINKIA]: New Linkia Survey and Setup

7. [ALL]: Error Handling ==> 完成, 2003/08/02


7. 這項工作的主要目的,來自於想要統一化錯誤訊息(臨時起意),
原始碼可供下載和使用,參考

http://vovo2000.com/phpbb2/viewtopic.php?t=1288(2003-08-02 11:37)

他的效果如附件的圖~

以「403」為測試。

Page Not Found.(2003-08-02 11:33)

Goal: Customized Web Error Message

Exp. Env: Vovo2000.Com ( Apache 2 + PHP )

Method:

1. 在 httpd.conf 建立
ErrorDocument 404 "/my/handle/path/myError.php?error=404"
當然,也可以用靜態網頁或純文字。(這裡好像 error code 不能用 RegEx?)

2. 寫一個 myError.php / perl (CGI) 去接
3. 寫好了,完成!(很簡單吧?~ )

另外, 2. 這個 PHP 如附件,可以 download
代碼:

<?PHP

     if (trim($HTTP_GET_VARS["error"]) != '')
   {
      $e = intval($HTTP_GET_VARS["error"]);
      $msg = "";
      $error_msg_2 = "<h1>".$e." ";
      $google404 = 0;
         
        switch ( $e )
      {
         case 403: $msg .=  'Forbidden';   break;
         case 404: $msg .= 'Not Found';   break;
         case 400: $msg .=  "Bad Request"; break;
         case 401: $msg .=  "Unauthorized"; break;
         case 402: $msg .=  "Payment Required"; break;
         case 405: $msg .=  "Method Not Allowed"; break;
         case 406: $msg .=  "Not Acceptable"; break;
         case 407: $msg .=  "Proxy Authentication Required"; break;
         case 408: $msg .=  "Request Timeout"; break;
         case 409: $msg .=  "Conflict"; break;
         case 410: $msg .=  "Gone"; break;
         case 411: $msg .=  "Length Required"; break;
         case 412: $msg .=  "Precondition Failed"; break;
         case 413: $msg .=  "Request Entity Too Large"; break;
         case 414: $msg .=  "Request-URI Too Long"; break;
         case 415: $msg .=  "Unsupported Media Type"; break;
         case 416: $msg .=  "Requested Range Not Satisfiable"; break;
         case 417: $msg .=  "Expectation Failed"; break;
         case 500: $msg .=  "Internal Server Error"; break;
         case 501: $msg .=  "Not Implemented"; break;
         case 502: $msg .=  "Bad Gateway"; break;
         case 503: $msg .=  "Service Unavailable"; break;
         case 504: $msg .=  "Gateway Timeout"; break;
         case 505: $msg .=  "HTTP Version Not Supported"; break;
         default:
            $msg .= "Error";
            break;
        }

        $msg1 = $msg;
      $msg .= "</h1>";
      $error_msg_2 .= $msg;
     }

   $part_main = '<head><title>{ERROR_MSG_1}</title></head><body bgcolor=#E4C70F>{ERROR_MSG_2}<a href=/>Vovo2000.Com</a><hr>';
   $part_main = str_replace( "{ERROR_MSG_1}", ($e." ".$msg1), $part_main );
   $part_main = str_replace( "{ERROR_MSG_2}", $error_msg_2, $part_main );
   $part_main .= '</body>';

   echo $part_main;
   
?>


參考文件:
[1] RFC 2616 HTTP 1.1, http://www.w3.org/Protocols/rfc2616/rfc2616.html(2003-08-02 11:30)

小哈 寫到:
我把這首歌背起來了.....嗚嗚........

<Type看一下>

LOLI.swf - 本附件檔已經被下載或觀看 0 次
我今天看了N次這邊卻只有0次,這....這是bug喔
快給我改!啪!(鞭)

</Type看一下>


Harmless...暫不處理~ 😃(2003-08-01 13:20)

0. [News]: News Enhanced Phase-1, Top N News By Group WebPart==> 完成
1. [News]: News Enhanced Phase-2, Everyday New Photos
2. [Gallery]: Gallery Combine with OU of PHPBB2
3. [PaintBBS]: Archive Rules ( rule! )
4. [PaintBBS]: Archive Link Logo / Archive Link Page and OU Control
         ( unified visit scheme)
5. [PHPBB]: OU Control ( low priority )
  5.1 Gallery of Vovo
  5.2 Gallery ( wait for task-2 )
  5.2 About
  5.4 Who
  5.5 Talk
6. [LINKIA]: New Linkia Survey and Setup(2003-08-01 13:02)

SEI 寫到:
泰普爺... :(
麻煩你看一下了 😐


謝謝,2003/08/01 12:57 處理完畢。(2003-08-01 12:53)

已經打電話到台北 SEED NET 請人處理,
稍安勿躁~ ^_^

<我猜的>

1. SeedNet 菜鳥工程師第一天上班,下錯 SQL 指令 (60%)
2. SeedNet 被入侵~ (20%)
3. SeedNet 鬼月辦 Party,結果一堆都來參加~ yo~ (20%)

</我猜的>(2003-07-31 14:24)

推推推~ 8)(2003-07-30 21:30)

公告測試:
本版為發表測試使用
將會不定期進行刪除。

允許

宏碁
1234(2003-07-30 12:01)

<口虛...>

阿芬芬,你很久沒出現了,我一點都不想你~ 哼~ 😈

</口虛...>(2003-07-30 10:56)

Welcome, Rita~

Vovo2000.Com-->PaintBBS-->Promo Link 建立完成~

歡迎~ 😃 你的小朋友好可愛~(2003-07-30 10:38)

「仝」人...前一陣子為了這個字的發音忙了一個下午~ 😅

推推~(2003-07-30 10:31)

讚! 推這篇討論~(2003-07-29 16:38)

==> THYMO <==

您留的 e-mail 是
lss????????@pc.home.com.tw

不過我猜他應該是:
lss????????@pchome.com.tw

請用正確的 e-mail 重新註冊~ 謝謝~(2003-07-29 00:25)

與 [pbbs/pchat]-No. 37 工作有關係~ 😃

1. 第一個位元(F):Signature UI8 Signature byte always “F”
2. 第二個位元(W):Signature UI8 Signature byte always “W”
3. 第三個位元(壓):Signature UI8 Signature byte: “S” indicates
         uncompressed “C” indicates compressed (SWF 6+ only)
4. 第四個位元(版):Version UI8 Single byte file version (e.g. 0x06 for SWF 6)
5. 第五~八個位元(大):FileLength UI32 Length of entire file in bytes
6. RECT Frame Size 資訊:FrameSize RECT Frame size in twips
7. 兩個位元(延):FrameRate UI16 Frame delay in 8.8 fixed number of frames per second
8. 兩個位元(格):FrameCount UI16 Total number of frames in movie


參考資訊:
[1] Flash (SWF) File Format Specification, 2003, Macromedia
[2] http://www.openswf.org/, 2003, OpenSWF.Org(2003-07-29 00:13)

<多國語言、多国语言、多国の言語、다 나라 언어 >

~ 🤩
~ 😊
~ 😃
~ 8)
~ 😅

這真是太棒啦~ ❤️
歡迎多帶你的朋友過來玩唷~

這個版子和繪圖留言~
通通支援「多國語言」(多国语言)
(簡、繁、日、韓都可以通啦~^_^)

</多國語言、多国语言、多国の言語、다 나라 언어 >(2003-07-28 23:45)

歡迎~
(這個 Flash 有沒有密技~ ❤️ )(2003-07-28 23:37)

SANA 寫到:


喔喔........是把v01~~v14都放上來讓大家看嗎??
好期待呀.............


To 貳柒:接近~ 😃
To 莎娜:非常接近~ 8)(2003-07-28 23:04)

<歹灣喇定挪~>

*comfort*
el Javascript es muy fácil ^_^

<歹灣喇定挪~>(2003-07-28 23:02)

Type 寫到:
13. PaintChat: 第二階段安心補強(orig: 貳柒:"會員" eq "Login")
23. PaintChat: 徵求管理員 / 清版人 / Threads Cleaner
25. PaintBBS: 工作 4. 的 What-To-Say 補為 25.
29. PaintBBS: 原作者通知,『Author Notification』

___2003/06/25 經討論過後產生四個工作想法___

30. PaintBBS: PCHViewer in Win32 APP ( w/ VovoUptime )
31. PaintBBS: 過程上傳: Survey Stage ( OC and PCH )
32. PaintBBS/Chat: Local端 PBB Win32 APP 包裹: Survey Stage
      (從近端利用 PBBS 系列繪圖,不用上網 to gen pCH)
33. PaintChat: 圖聊過程自動展示與備份 ( wait for being stable )

34. PaintBBS: sPainter v0.929 加入~ (v3 interface) ==> 完成!

35. PaintBBS: sPainter 過程 (v3 InterFace)==>完成!
36. PaintBBS: Macromedia Flash 上傳功能
37. PaintChat: PaintChat V3 JS 工具列嵌入==>完成
38. PaintBBS: sPainter, Layer 設定與讀取。==>完成!

39. PaintChat: 3.34/35 --> 3.32 ...( 🐷 )==>完成!

New Task 想做的東西: PaintBBS Old Version Archiving!
==================================

40. PaintBBS: 把舊的 PaintBBS 放到 Vovo2000.Com (V01~V14)==>完成啦!
41. PaintBBS: sPainter 強化套繪 ==> 完成!


42. PaintBBS: sPainter 續繪1.03 更新 ==> 完成! 續繪沒問題了!07/23
43. PaintBBS: 遠端套繪也嵌入 SPainter! ==> 完成!07/24




花了一天,終於把 40 完成了!

40 這項工作的目的在於:...過一陣子就會知道了!~
可參考附件~

(事情慢慢的都被做完~ 嗯~^_^)(2003-07-28 00:50)

前往頁面 ←上一頁  1 ... 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 ... 557  下一頁→