とても良いです、自分で応用できます。 <%
'//データ処理部分
dim コンテンツ、Num、I、strCodea
I=リクエスト(私)
len(I)=0 の場合、I=0
Response.write <br><div align=center>プログラムは現在 &I& データをループで処理しています</div><br>
strCodea=UploadFiles/News '//文字列が含まれているかどうかをクエリする必要があります
strCodeb=/UploadFiles/News '//置換された文字列
strCodec=http://www.vevb.com/uploadfiles/news '//文字列を置換
rs = サーバー.CreateObject(adodb.recordset) を設定します。
rs.open コンテンツを選択 id=&I& および siteid=1 のニュースから ID desc,conn,1,1 で並べ替えます
そうでない場合 (rs.eof または rs.bof)
コンテンツ=rs(コンテンツ)
Num=instr(コンテンツ,strCodea)
Num>0 の場合
right(left(content,Num),2)=/ の場合、
content=replace(content,strCodeb,strCodec)
終了する場合
終了する場合
終了する場合
閉じる
II=I+1
response.write(<meta http-equiv=refresh content=0;url=?I=&I>)
Setrs=なし
%>