Ūewebeditorġ·

webhttp://localhost/xxx/view.asp
xxxκεĿ¼磺
1xxx=web--------->http://localhost/web/view.asp
2xxx=pc/web--------->http://localhost/pc/web/view.asp
Ŀ¼ĳĿ¼xx½ṹ
[.\]
ĩview.asp

ĩ[ewebeditor]

ewebeditor.asp

ĩ[admin]

edit.asp

ĩ[uploadfile]

Ŀ¼ʾļview.asp༭Ŀ¼ewebeditorĿ¼adminͼƬĿ¼uploadfile
adminĿ¼йedit.aspڱ༭Ҫʾݡ

ewebeditor·£
-----ã˵
·ģʽ·
ϴ·../uploadfile/ ;·ewebeditor.asp·
ʾ·/xxx/ ;·uploadļλ·http://localhost·
·uploadfile/ ;·view.asp·

========================
˺öʱŸ㶨ġ^_^
ڵxxxļĿ¼仯ֻewebeditoruploadfileadminλò䣬ֻҪ޸ġʾ·Ϳˡ
[uploadfile]Ŀ¼ı䣬Բˣֻ޸ݿдͼƬλãҲ򵥣һһ㶨replace("uploadfile/","xxx/uploadfile/")ѭһ¿ǵñݿˡ