Tag Archives: PHP CLASS

[YAHOO知識+]mysql兩次排序如做何

以下是原文

 id是主鍵,而且會自動增加

用order by id desc
那就會從最後開始列
不過在我的資料表內有個欄位是top
top的數字一定會先列出
如果top是1那就會在第一個,是2就會在第二個
那這樣sql語法要怎麼寫?
才可以做兩次排序

Continue reading “[YAHOO知識+]mysql兩次排序如做何” »

[PHP] php class 好站

發現了一個PHP Scripts 網站,裡面有大量的 Scripts ,而且分類相當的詳細!!!

Free PHP Scripts

網址http://scripts.ringsworld.com/

[原創] googleSiteMap 產生器 Ver 2.0

更新Cache 系統,避免檔案和Load memory 過大

可以設定Cache 時間,預設7天

原始版本:http://blog.phptw.idv.tw/read-21.html

下載位址:
下載點一:http://www.phpclasses.org/browse/package/4288.html

[原創] php uploadfile class

php class 檔案上傳
支援自動重新命名
支援 圖片上傳
支援 副檔名檢查

下載:http://www.phpclasses.org/browse/package/4348.html
下載:下載檔案classuploadfile.rar (8.2 KB , 下載:349次)

Continue reading “[原創] php uploadfile class” »

[原創] googleSiteMap 產生器 Fix Bug

經德國網友 「Ulrich Zdebel 」表示

所寫的CLASS 不支援 parameter strings !

所以做了點程式修正

 
下載位址:
下載點一:http://www.phpclasses.org/browse/package/4288.html

原始內容可以參照:

http://blog.phptw.idv.tw/read-3.html 

以下是  「Ulrich Zdebel 」所來函的Email 內容

Hello Wenchi,

thank you for your class. It's very helpful.

But I get an error like:

XML ERROR: NOT properly formed

  <loc>http://www.setral.net/index.php?p=0.0&setlang=de</loc>

Does snoopy or your class does not support parameter strings ???
Links that are composed by pure html documents area written fine
to the sitemap.xml !

Friendly Regars from Germany,
Ulrich

 

 

googleSiteMap 產生器

Google Site Map 產生器
適用任何網站

使用範例如下:

Continue reading “googleSiteMap 產生器” »