看板 Web_Design 關於我們 聯絡資訊
使用 activeperl 可以很方便裝 GD 模組喔 剛剛"完"了一下 還滿好玩的..... (因為下午要考可怕的演算法 完了) 以下節錄自網頁 http://aspn.activestate.com/ASPN/Downloads/ActivePerl/PPM/Repository GD The GD module currently isn't available in the ActiveState PPM repository. Thi s is because it is very difficult to build and is not suitable for ActiveState 's automated build system, as it requires quite a external libraries. PPMs for the GD module can be found in other repositories and installed as follows: ppm install http://theoryx5.uwinnipeg.ca/ppms/GD.ppd This will install the GD PPM from the University of Winnipeg's version 5.8 PPM repository. For the 5.6 PPM repository, use: ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/GD.ppd ※ 引述《charto (你一直走卻碰到我)》之銘言: : ※ 引述《miaudele (喵的勒)》之銘言: : : 我想問一下各位大大 : : 想要直接做從網頁上傳圖形檔的介面 而不用ftp : : 所以想問一下上傳圖檔要怎麼寫?? 伺服端用perl或其他CGI要怎麼做啊?? : : 有什麼地方可以找到它的源碼 ??? : 我會perl的 不過我沒有實作過..... : 基本上 就是你要先取得該檔案的 mime-type 或是 附檔名 : 這樣才可以存檔, 以後要讀取也方便, 除非你另有需求 : 之後抓取使用者上傳的圖檔資料 : 給他一個適合的名字 開始 output : 在perl要注意 要使用 binary mode 才可以正確留下資料 : 這樣就行了 : 如果還要修改圖的大小 檔案格式等 通常要利用 GD library : 可是這我想裝 可是都裝失敗了 也沒用過 : 但可以提供你相關資訊 : GD library : http://www.boutell.com/gd/ : GD pm : http://stein.cshl.org/WWW/software/GD/ : : 我現在毫無頭緒 哪位高手能稍微提點一下小弟?????^^ : : 還有繪圖留言板要怎麼寫 相關技術要去哪找啊 ????? : 這... 不會 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.94