Author Archive

ASP中用正则替换相对URL为绝对URL

Posted by 妖刀 17 August, 2005 (0) Comment

<%
function replace_hrefs(strHtml, strRep)
Set objRegExpr = New regexp
objRegExpr.Pattern = "(<a.+?href=['""]?(?!http://)(?!mailto:))([^'"">]+?)(['""]?[^>]*?>)"
objRegExpr.IgnoreCase = True
objRegExpr.Global = True
replace_hrefs = objRegExpr.Replace(strHtml, strRep)
Set objRegExpr = Nothing
end function

strTest = "<a href=haha.asp>this is a test.</a><a href='tata.php'>this is test too.</a><a href=""test">http://tata.com"">test again.</a>"
%>
替换前:
<textarea rows=10 size=20><%=strTest%></textarea>
<%
strTest = replace_hrefs(strTest, "$1http://www.ccccc.com/$2$3" )
%>
替换后:
<textarea rows=10 size=20><%=strTest%></textarea>

Categories : 技术 / 设计 Tags :

zt。网上电影发布常用术语(二)

Posted by 妖刀 16 August, 2005 (0) Comment

Scene Tags
发布文件的标志

PROPER -
Due to scene rules, whoever releases the first Telesync has won that race (for example). But if the quality of that release is fairly poor, if another group has another telesync (or the same source in higher quality) then the tag PROPER is added to the folder to avoid being duped. PROPER is the most subjective tag in the scene, and a lot of people will generally argue whether the PROPER is better than the original release. A lot of groups release PROPERS just out of desperation due to losing the race. A reason for the PROPER should always be included in the NFO

.

根据发布规则,最先发布Telesync (TS)的组织赢得(TS发布的)比赛。但是,如果这个发布版本质量很差,同时另一组织有另一TS版本(或质量更好的同一片源),那么标记PROPER被加到目录上以避免重复。PROPER是一个最主观的标记,很多人会争论是否PROPER比原始发布版本好。很多发布组织只不过因为输掉了发布比赛而发布 PROPER。发布PROPER的原因因该总是包含在NFO文件里。

SUBBED -
In the case of a VCD, if a release is subbed, it usually means it has hard encoded subtitles burnt throughout the movie. These are generally in malaysian/chinese/thai etc, and sometimes there are two different languages, which can take up quite a large amount of the screen. SVCD supports switch able subtitles, so some DVDRips are released with switch able subs. This will be mentioned in the NFO file if included.

对于VCD发布而言,SUBBED通常表示字幕被压进了电影。它们通常是马来语/中文/泰文等,有时有两种语言。它们可能占据了很大一部分屏幕。SVCD支持外挂字幕,所以DVDRip用外挂字幕发布。这些信息可以在NFO文件中找到。

UNSUBBED -
When a film has had a subbed release in the past, an Unsubbed release may be released

当一部电影曾经发布过有字幕的SUBBED版本,没字幕的UNSUBBED版本也可能发布。

LIMITED -
A limited movie means it has had a limited theater run, generally opening in less than 250 theaters, generally smaller films (such as art house films) are released as limited.

LIMITED电影指该电影只在有限的电影院放映,通常少于250家。通常较小的电影(比如艺术电影)的发行是LIMETED。

INTERNAL -
An internal release is done for several reasons. Classic DVD groups do a lot of .INTERNAL. releases, as they wont be dupe'd on it. Also lower quality theater rips are done INTERNAL so not to lower the reputation of the group, or due to the amount of rips done already. An INTERNAL release is available as normal on the groups affiliate sites, but they can't be traded to other sites without request from the site ops. Some INTERNAL releases still trickle down to IRC/Newsgroups, it usually depends on the title and the popularity. Earlier in the year people referred to Centropy going "internal". This meant the group were only releasing the movies to their members and site ops. This is in a different context to the usual definition.

INTERNAL发布有几个原因。经典的DVD 组织有很多.INTERNAL.发布版本,这样不会引起混淆。同时,低质量的发布会加以INTERNAL标记,这样不会降低发布组织的声誉,或由于已经发布的数量。INTERNAL发布可以正常的在组织的会员网站上获取,但没有其他网站管理员的要求它们不可以被交换到其他网站。一些TERNAL发布仍然流到IRC/NEWSGROUP,这通常取决于电影及其流行度。今年早些时候,人们把CENTROPY做为INTERNAL。这表示发布组织只向其会员和网站管理员发布。这和其通常意思不同。

STV -
Straight To Video. Was never released in theaters, and therefore a lot of sites do not allow these.

STV表示电影从未在电影院放映过就被发布,因此很多望网站不允许STV。

ASPECT RATIO TAGS -
These are *WS* for widescreen (letterbox) and *FS* for Fullscreen.

*ws*表示宽银幕,*FS*表示全屏幕。

RECODE -
A recode is a previously released version, usually filtered through TMPGenc to remove subtitles, fix color etc. Whilst they can look better, its not looked upon highly as groups are expected to obtain their own sources.

RECODE是以前已经发布过的版本,通常用TMPGenc编码过滤以去除字幕,纠正颜色等。虽然它们看起来好一些,但通常不认为这是好的行为因为发布组织应该去找他们自己的片源。

REPACK -
If a group releases a bad rip, they will release a Repack which will fix the problems.

如果发布组织发布了一个坏的版本,他们会发布REPACK来解决这些问题。

NUKED -
A film can be nuked for various reasons. Individual sites will nuke for breaking their rules (such as "No Telesyncs") but if the film has something extremely wrong with it (no soundtrack for 20mins, CD2 is incorrect film/game etc) then a global nuke will occur, and people trading it across sites will lose their credits. Nuked films can still reach other sources such as p2p/usenet, but its a good idea to check why it was nuked first in case. If a group realise there is something wrong, they can request a nuke.

一个发布可能因为多种原因被NUKE掉。有些网站会因为违犯他们的规则而NUKE发布(比如不允许发布TS版本)。但如果发布的版本有很大的问题(如20分钟没有声音,CD2是错误的电影或游戏),那么所有的网站都会 NUKE这个发布。在这些网站上交换NUKED版本的人会失掉他们的信誉。但NUKED发布仍然可以通过P2P/USENET传播,所以应该总是首先找到其被NUKE的原因以防万一。如果发布组织发觉他们的发布有问题,他们可以要求NUKE。

NUKE REASONS :: this is a list of common reasons a film can be nuked for (generally DVDRip)
常见的NUKE原因(通常是DVDRIP):

** BAD A/R ** :: bad aspect ratio, ie people appear too fat/thin
错误的高宽比,即画面太胖或太瘦。
** BAD IVTC ** :: bad inverse telecine. process of converting framerates was incorrect.
错误的反转电视电影TC。转换祯频不对。
** INTERLACED ** :: black lines on movement as the field order is incorrect.
移动的黑线,由于field order不正确。

DUPE -
Dupe is quite simply, if something exists already, then theres no reason for it to exist again without proper reason.

DUPE很简单。如果某个电影发布已有,那么没有合适的理由就不因该允许它的存在。

Categories : 电影 / 音乐 Tags :

zt。网上电影发布常用术语(一)

Posted by 妖刀 16 August, 2005 (0) Comment

关于DVDScr, Screener,TS, TC,INT等常见术语

从文件名"12.29.02.Lord.Of.The.Rings.The.Two.Towers.*SVCD*.*TS*.FTF"中可以知道什么信息呢?
12.29.02表示发布的日期。
Lord.Of.The.Rings.The.Two.Towers是电影的名字。
*SVCD*表示发布的格式是SVCD
*TS*表示影片的来源是TELESYNC (TS)。
有很多网友问及SCREENER,TS,TC,PDVD是什么意思,以及质量如何。也看见有网友发表关于电影发布版本术语的解释,我觉得有不确切的地方。比如PROPER并不代表质量完美,TS或Telesync并非指从放影机转制。其实Telesync和CAM都是用digital camera或camcorder在影院录制(俗称枪版),质量起伏很大。
下面是我从VCDQuality.com转摘的关于这些术语的解释。本人现在翻译了关于片源部分。中英文对照,因为错误总是难免的。

翻译者:huaye at TLF BBS
Source
来源

CAM -
A cam is a theater rip usually done with a digital video camera. A mini tripod is sometimes used, but a lot of the time this wont be possible, so the camera make shake. Also seating placement isn't always idle, and it might be filmed from an angle. If cropped properly, this is hard to tell unless there's text on the screen, but a lot of times these are left with triangular borders on the top and bottom of the screen. Sound is taken from the onboard microphone of the camera, and especially in comedies, laughter can often be heard during the film. Due to these factors picture and sound quality are usually quite poor, but sometimes we're lucky, and the theater will be fairly empty and a fairly clear signal will be heard.

CAM通常是用数码摄像机从电影院盗录。有时会使用小三角架,但大多数时候不可能使用,所以摄像机会抖动。同时由于放摄像机的座位并非总是空的,使得有时拍摄不是水平的。如果后期剪裁很好,这很难看出,除非屏幕下方有字幕。由
于声音是从摄像机自带的话筒录制,所以经常会录到观众的笑声等声音,尤其是喜剧片。因为这些因素,图象和声音质量通常都很差。但有时很幸运电影院相当空,这样会录到好一些的声音。

TELESYNC (TS) -
A telesync is the same spec as a CAM except it uses an external audio source (most likely an audio jack in the chair for hard of hearing people). A direct audio source does not ensure a good quality audio source, as a lot of background noise can interfere. A lot of the times a telesync is filmed in an empty cinema or from the projection booth with a professional camera, giving a better picture quality. Quality ranges drastically, check the sample before downloading the full release. A high percentage of Telesyncs are CAMs that have been mislabeled.

除了使用外置的音源(一般是影院座椅上为听力不好的人设的耳机孔),TELESYSNC(TS) 和CAM的标准是相同的。这个直接的音源并不能保证是好的音源,这是它因为受到很多背景噪音的干扰。很多时候TS是在空的影院录制,或是用专业摄像机在投影室录制,所以图象质量可能比CAM好。质量的起伏可能很大,在下载前最好查看SAMPLE。很大比例的TS是从CAM错误标记成。

TELECINE (TC) -
A telecine machine copies the film digitally from the reels. Sound and picture should be very good, but due to the equipment involved and cost telecines are fairly uncommon. Generally the film will be in
correct aspect ratio, although 4:3 telecines have existed. A great example is the JURASSIC PARK 3 TC done last year. TC should not be confused with TimeCode , which is a visible counter on screen throughout the film.

TELECINE (TC) 使用电视电影机从胶片直接数字拷贝,其图象和声音质量应该很好。但由于使用的设备和费用很高,TC很少见。通常会使用正确的高宽比,但有时也有4:3的 TC。去年的侏罗纪公园III是一个很好的例子。不应将TC和TimeCode(时间码)混淆,时间码是一个在屏幕上可见的计数器。

SCREENER (SCR) -
A pre VHS tape, sent to rental stores, and various other places for promotional use. A screener is supplied on a VHS tape, and is usually in a 4:3 (full screen) a/r, although letterboxed screeners are sometimes found. The main draw back is a "ticker" (a message that scrolls past at the bottom of the screen, with the copyright and anti-copy telephone number). Also, if the tape contains any serial numbers, or any other markings that could lead to the source of the tape, these will have to be blocked, usually with a black mark over the section. This is sometimes only for a few seconds, but unfortunately on some copies this will last for the entire film, and some can be quite big. Depending on the equipment used, screener quality can range from excellent if done from a MASTER copy, to very poor if done on an old VHS recorder thru poor capture equipment on a copied tape. Most screeners are transferred to VCD, but a few attempts at SVCD have occurred, some looking better than others.

SCREENER(SCR)是在电影发行VHS 录象带之前送到录象出租店及其他地方用做促销目的。SCREENER使用VHS录象带,通常使用4:3(全屏)的高宽比,但有时也会有 LETTERBOXED(1.85:1宽银幕) SCREENER. 主要的缺点是有“TICKER”(在屏幕下
方滚动的消息,包含版权和反盗版电话号码)。同时,如果录象带包含任何序列号或可以导致查出录象带来源的记号,这些记号必须被遮掉,通常使用一个黑斑遮住上述部位。有时这些记号只出现几秒钟,有时也可能不幸在怎个电影中出现,而且有时会很大。根据使用的设备,SCREENER的质量可能是极好,如果是从原版拷贝;也可能很差,如果是从翻录的拷贝录制,同时又使用很烂的捕捉设备和录象机。大多数的SCREENER被转制成VCD,现在也出现了SVCD;有些看起来比
另一些好。

DVD-SCREENER (DVDscr) -
Same premise as a screener, but transferred off a DVD. Usually letterbox , but without the extras that a DVD retail would contain. The ticker is not usually in the black bars, and will disrupt the viewing. If the ripper has any skill, a DVDscr should be very good. Usually transferred to SVCD or DivX/XviD.

DVD-SCREENER(DVDscr)和SCREENER相似,但是从DVD转制。通常是1.85:1宽银幕,但是不包括零售版会有的花絮。TICKER经常不在黑边里,所以会影响观看。如果转制者稍有技术,DVDScr应该很好。通常被转制成SVCD或DivX/XviD。

DVDRip -
A copy of the final released DVD. If possible this is released PRE retail (for example, Star Wars episode 2) again, should be excellent quality. DVDrips are released in SVCD and DivX/XviD.

DVDRip是从最终版的DVD转制。如果可能,应该是使用预售版(比如,星球大战2)。质量应该很好。通常被发布成SVCD或DivX/XviD

VHSRip -
Transferred off a retail VHS, mainly skating/sports videos and XXX releases.

VHSRip是从零售版VHS录象带转制,主要是滑冰/体育内容和XXX发布。

TVRip -
TV episode that is either from Network (capped using digital cable/satellite boxes are preferable) or PRE-AIR from satellite feeds sending the program around to networks a few days earlier (do not contain "dogs" but sometimes have flickers etc) Some programs such as WWF Raw Is War contain extra parts, and the "dark matches" and camera/commentary tests are included on the rips. PDTV is capped from a digital TV PCI card, generally giving the best results, and groups tend to release in SVCD for these. VCD/SVCD/DivX/XviD rips are all supported by the TV scene.

从电视(最好是从数码有线电视/卫星电视捕捉)转制的电视剧,或接收由卫星提前几天向电视网传送的预播节目(不包含加密但有时有雪花)。有些节目,比如WWF RAW IS WAR包含多余的部分;"DARK MATCHES"和CAMERA/COMMENTARY测试被包含在TVRip里。PDTV是从PCI数码电视卡捕捉,通常效果最好;破解组织倾向于使用 SVCD来发布。VCD/SVCD/DivX/XviD rips也都被用于发布TVRip。

WORKPRINT (WP) -
A workprint is a copy of the film that has not been finished. It can be missing scenes, music, and quality can range from excellent to very poor. Some WPs are very different from the final print (Men In Black is missing all the aliens, and has actors in their places) and others can contain extra scenes (Jay and Silent Bob) . WPs can be nice additions to the collection once a good quality final has been obtained.

WORKPRITN (WP)是从未完成的电影拷贝转制而成,可能会缺失镜头和音乐。质量可能从最好到很差。有些WP可能和最终版本相差很远。(MEN IN BLACK的WP丢失了所有的外星人,代之以演员);另一些则包括多余的镜头(Jay and Silent Bob). WPs可以作为有了好质量的最终版本后的附加收藏。

DivX Re-Enc -
A DivX re-enc is a film that has been taken from its original VCD source, and re-encoded into a small DivX file. Most commonly found on file sharers, these are usually labeled something like Film.Name.Group(1of2) etc. Common groups are SMR and TND. These aren't really worth downloading, unless you're that unsure about a film u only want a 200mb copy of it. Generally avoid.

DivXRe-Enc是从原始VCD发布用DivX编码成的小一些的文件。通常可在文件共享网络找到。它们通常以Film.Name.Group(1of2)等形式命名。常见的发布组织有SMR和TND。这些版本通常不值得下载,除非你不清楚某部电影,只想要200MB的版本。一般应避免。

Watermarks -
A lot of films come from Asian Silvers/PDVD (see below) and these are tagged by the people responsible. Usually with a letter/initials or a little logo, generally in one of the corners. Most famous are the "Z" "A" and "Globe" watermarks.

很多从Asian Silvers/PDVD (参看下面)来的电影带有制作人的标记。通常是一个字母,名字缩写或图标,位于屏幕一角。最有名的是"Z","A"和"Globe".

Asian Silvers / PDVD -
These are films put out by eastern bootleggers, and these are usually bought by some groups to put out as their own. Silvers are very cheap and easily available in a lot of countries, and its easy to put out a release, which is why there are so many in the scene at the moment, mainly from smaller groups who don't last more than a few releases. PDVDs are the same thing pressed onto a DVD. They have removable subtitles, and the quality is usually better than the silvers. These are ripped like a normal DVD, but usually released as VCD.

Asian Silvers / PDVD是亚洲盗版商发行影片的,通常被一些发布组织购买来当做他们自己的发布。Silvers很便宜,在很多国家都很容易找到。发布Silvers很容易,所以现在有很多发布,主要是由一些小的组织发布;这些组织通常发布几个RELEASE后就不见了。PDVD和Silver一样,不过是压在DVD上。 PDVD通常有外挂字幕,质量也比Silver好。PDVD象普通的DVD一样转制,但通常用VCD的格式发布。

Categories : 电影 / 音乐 Tags :

net2ftp修改

Posted by 妖刀 16 August, 2005 (0) Comment

可以使用net2ftp来作为网站的上传工具,可以使用的上传方法有:

1)使用jupload。

使用jupload时,程序的执行流程是:

用户自定义form --> index.php --> index.php 根据 $state 来作dispatch --> manage 函数将被调用 --> manage函数将根据$state2作dispatch --> 因为$state2现在是javaupload,所以调用javaupload函数 --> 该函数将显示jupload客户端applet。

当用户从applet提交文件以后,jupload.php 将接收控制,将上传的文件move到正确的位置。

2)使用表单上传

这个方法可以上传多个文件,也可以上传zip类压缩文件,并能自动解压。

程序的执行的流程是:

用户自定义form --> index.php --> index.php 根据 $state 来作dispatch --> manage 函数将被调用 --> manage函数将根据$state2作dispatch --> 因为$state2现在是uploadfile,所以调用uploadfile函数 --> 该函数将显示上传的表单,可以通过修改printUploadForm来改变该表单。

当用户从表单提交文件以后,index.php仍然接收控制,并dispatch到uploadfile,在这里作文件的移动和解压缩。

Categories : 技术 / 设计 Tags :

net2ftp自定义

Posted by 妖刀 12 August, 2005 (0) Comment

net2ftp是一款优秀的web ftp工具,具有zip上传,目录上传等强大的功能。这里介绍一些使用心得。

1)自定义Login Form

form就是form,只要上传的变量都有,外观想怎么变都行。这个例子就只有一个“上传”button,其他都隐藏了。

<form target="_blank" name="LoginForm" id="LoginForm" action="index.php" method="post">
<input type="hidden" name="ftpserver" value="ftpserver" />
<input type="hidden" name="ftpserverport" value="21" />
<input type="hidden" name="username" value="uid"/>
<input type="hidden" name="password" value="pwd" />
<input type="hidden" name="skin" value="1" />
<input type="hidden" name="state" value="browse" />
<input type="hidden" name="state2" value="main" />
<input type="hidden" name="cookiesetonlogin" value="yes" />
<input type="hidden" name="ftpmode" value="automatic" />
<input type="submit" name="submit" value="上传" />
</form>

2)登陆后直接转到某页面

转到浏览页面:

<input type="hidden" name="state" value="browse" />
<input type="hidden" name="state2" value="main" />

转到文件上传页面:

<input type="hidden" name="state" value="manage" />
<input type="hidden" name="state2" value="uploadfile" />

转到Applet上传页面:
<input type="hidden" name="state" value="manage" />
<input type="hidden" name="state2" value="javaupload" />

3)限制用户在某个目录:

修改 index.php的

HtmlBegin($state, $state2, $screen, $directory, $entry);

改为:
$directory = "/plog";
HtmlBegin($state, $state2, $screen, $directory, $entry);

Categories : 技术 / 设计 Tags :

十句大实话

Posted by 妖刀 27 July, 2005 (0) Comment

希望也是一棵种子,能在大家心里发芽

  1. 遇到乞讨者:遇到要钱的就给他(她)点饭,遇到要饭的就给他(她)点钱。
  2. 上车遇到老弱病残、孕妇:让座的时候别动声色,也别大张旗鼓。站起来用身体挡住其他人留出空位子给需要的人,然后装作下车走远点。人太多实在走不远,人家向你表示谢意的时候微笑一下。
  3. 雨雪的时候、天冷的傍晚或者是雪天的傍晚,遇到卖菜的、卖水果的、卖报纸的剩的不多了又不能回家,能全买就全买,不能全买就买一份,反正吃什么也是吃,看什么也是看,买下来让人早点回家。
  4. 遇到迷路的小孩和老头老太太,能送回家送回家,不能送回家的送上车、送到派出所也行,如果有电话的替老人或小孩打个电话就走,反正你也不缺那两个电话费。
  5. 遇到迷路的人打听某个地址,碰巧你又知道,就主动告诉一声。别不好意思,没有人笑话你。
  6. 捡到钱包就找找失主,如果你实在缺钱就把现金留下。打电话告诉失主就说你在厕所里捡到的。把信用卡、身份证、驾驶执照还给人家,一般人家也不会在乎钱了。把人家的地址记在你的笔记本上,以后发达了去找人家道个谦,把钱还给人家。
  7. 遇到学生出来打工的、勤工俭学的,特别是中学生、小姑娘。她卖什么你就买点,如果她不是家庭困难,出来打工也需要勇气的,鼓励鼓励她吧。
  8. 遇到夜里摆地摊的,能买就多买一些,别还价,东西都不贵。家境哪怕好一点,谁会大冷天夜里摆地摊。
  9. 如果钱还宽裕,别养二奶,偷偷养几个贫困山区的学生。别让人家知道你是谁,要不然见面了多尴尬,多不好意思。但是你心里一定会觉得舒坦,比包二奶提心吊胆的要好得多。如果真想包也可以包一个,好事坏事一起做。人吗,本来就复杂。
  10. 如果时间还宽裕,而且碰巧觉得我这个人还顺眼,那就顶一下我的贴子,总比去顶看了觉得上当的贴子舒服。时间宽裕不少就请把这几句话多转几个地方,毕竟好人多了咱们心里也舒坦。

Categories : 片语 / 情绪 Tags :

JavaScript中, 使用getElementById代替a.b

Posted by 妖刀 26 July, 2005 (0) Comment

JavaScript中引用一个对象的一般方法是使用document.a.b,比如form_a中有个叫input_b的对象, 那么可以使用document.form_a.input_b来引用这个对象。但是这种引用方法在有的时候就总是出错。

这个时候可以使用document.getElementById("input_a")来引用该方法即可。

至于为什么一开始的写法错误,如果有高人知道,望告知。

Categories : 技术 / 设计 Tags :

JavaScript实现网页隔行变色和鼠标移入变色的代码

Posted by 妖刀 25 July, 2005 (0) Comment

<script type="text/javascript">
var stripe = function()
{
var tables = document.getElementsByTagName("table");

for(var x=0;x!=tables.length;x++)
{
var table = tables[x];
if (! table)
{
return;
}

var tbodies = table.getElementsByTagName("tbody");

for (var h = 0; h < tbodies.length; h++)
{
var even = true;
var trs = tbodies[h].getElementsByTagName("tr");

for (var i = 0; i < trs.length; i++)
{
trs[i].onmouseover=function()
{
this.className += " ruled";
return false
}
trs[i].onmouseout=function()
{
this.className = this.className.replace(" ruled", "");
return false
}

if(even)
trs[i].className = "t1";
else
trs[i].className = "t2";

even = !even;
}
}
}
}
window.onload = stripe;
</script>

<style type="text/css">
tr.t1 {background:#eeeeee}
tr.t2 {background:#ffffff}
tr.ruled { CURSOR: default; COLOR: #ffffff; BACKGROUND-COLOR: #006699}
</style>

Categories : 技术 / 设计 Tags :

Plog添加模板的方法

Posted by 妖刀 25 July, 2005 (0) Comment

比较好的方法是:

将压缩包解压后上传至服务器的blog安装目录下的“template”文件夹下,然后
进入后台管理界面--点“管理设置”--“创建摸版”--“扫描摸版”

即可自动添加

Categories : 技术 / 设计 Tags :

plog迁移成功,方法总结

Posted by 妖刀 25 July, 2005 (0) Comment

在host1安装(安装方法见plog说明)的plog要想转移到host2,遵循如下步骤:

(1)使用phpmyadmin导出数据库,存为sql文件;

(2)在host2的phpmyadmin中,导入该sql文件;

(3)将所有的plog程序文件传到host2上;

(4)如果数据库设置不同,则修改config/config.properties.php文件,文件内容很简单,一目了然;

(5)登陆admin界面,修改url_base为新的url。

www.plogworld.net介绍如下:

1) backup your database
2) restore your database backup in the new host
3) upload the plog source code to the new host, but don’t run the wizard… it is not necessary since the database already exists
4) see if you need to make any changes to config/config.properties.php (database user and pass, database name, etc)
5) if everything went fine, go to admin->site admin->global settings and change base_url to the new base url

另外,数据库的备份和plog的整体备份,亦可遵循以上步骤。

Categories : 技术 / 设计 Tags :