91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 5.66MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-11-14
  • 語言: Java
  • 標(biāo)簽: 個人網(wǎng)站??

資源簡介

用JSP和Servelet技術(shù)實現(xiàn)的個人網(wǎng)站,sqlserver2005數(shù)據(jù)庫

資源截圖

代碼片段和文件信息

#!/usr/bin/env?python

“““
FCKeditor?-?The?text?editor?for?Internet?-?http://www.fckeditor.net
Copyright?(C)?2003-2007?Frederico?Caldeira?Knabben

==?BEGIN?LICENSE?==

Licensed?under?the?terms?of?any?of?the?following?licenses?at?your
choice:

?-?GNU?General?Public?License?Version?2?or?later?(the?“GPL“)
???http://www.gnu.org/licenses/gpl.html

?-?GNU?Lesser?General?Public?License?Version?2.1?or?later?(the?“LGPL“)
???http://www.gnu.org/licenses/lgpl.html

?-?Mozilla?Public?License?Version?1.1?or?later?(the?“MPL“)
???http://www.mozilla.org/MPL/MPL-1.1.html

==?END?LICENSE?==

Connector?for?Python.

Tested?With:
Standard:
Python?2.3.3
Zope:
Zope?Version:?(Zope?2.8.1-final?python?2.3.5?linux2)
Python?Version:?2.3.5?(#4?Mar?10?2005?01:40:25)
[GCC?3.3.3?20040412?(Red?Hat?Linux?3.3.3-7)]
System?Platform:?linux2
“““

“““
Author?Notes?(04?December?2005):
This?module?has?gone?through?quite?a?few?phases?of?change.??Obviously
I?am?only?supporting?that?part?of?the?code?that?I?use.??Initially
I?had?the?upload?directory?as?a?part?of?zope?(ie.?uploading?files
directly?into?Zope)?before?realising?that?there?were?too?many
complex?intricacies?within?Zope?to?deal?with.??Zope?is?one?ugly?piece
of?code.??So?I?decided?to?complement?Zope?by?an?Apache?server?(which
I?had?running?anyway?and?doing?nothing).??So?I?mapped?all?uploads
from?an?arbitrary?server?directory?to?an?arbitrary?web?directory.
All?the?FCKeditor?uploading?occurred?this?way?and?I?didn‘t?have?to
stuff?around?with?fiddling?with?Zope?objects?and?the?like?(which?are
terribly?complex?and?something?you?don‘t?want?to?do?-?trust?me).

Maybe?a?Zope?expert?can?touch?up?the?Zope?components.??In?the?end
I?had?FCKeditor?loaded?in?Zope?(probably?a?bad?idea?as?well)?and
I?replaced?the?connector.py?with?an?alias?to?a?server?module.
Right?now?all?Zope?components?will?simple?remain?as?is?because
I‘ve?had?enough?of?Zope.

See?notes?right?at?the?end?of?this?file?for?how?I?aliased?out?of?Zope.

Anyway?most?of?you?probably?wont?use?Zope?so?things?are?pretty
simple?in?that?regard.

Typically?SERVER_DIR?is?the?root?of?WEB_DIR?(not?necessarily).
Most?definitely?SERVER_USERFILES_DIR?points?to?WEB_USERFILES_DIR.
“““

import?cgi
import?re
import?os
import?string

“““
escape

Converts?the?special?characters?‘<‘?‘>‘?and?‘&‘.

RFC?1866?specifies?that?these?characters?be?represented
in?HTML?as?<?>?and?&?respectively.?In?Python
1.5?we?use?the?new?string.replace()?function?for?speed.
“““
def?escape(text?replace=string.replace):
????text?=?replace(text?‘&‘?‘&‘)?#?must?be?done?1st
????text?=?replace(text?‘<‘?‘<‘)
????text?=?replace(text?‘>‘?‘>‘)
????text?=?replace(text?‘“‘?‘"‘)
????return?text

“““
getFCKeditorConnector

Creates?a?new?instance?of?an?FCKeditorConnector?and?runs?it
“““
def?getFCKeditorConnector(context=None):
#?Called?from?Zope.??Passes?the?context?through
connector?=?FCKeditorC

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????3925556??2010-02-19?12:13??JSP個人門戶網(wǎng)站錄像.exe

-----------?---------??----------?-----??----

??????????????3925556????????????????????1


評論

共有 條評論