home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 February
/
CHIP_2_98.iso
/
software
/
pelne
/
optionp
/
setup3.cab
/
pak210-x86.exe
/
RCDATA
/
CABINET
/
uploadx.asp
< prev
next >
Wrap
Text File
|
1997-10-23
|
1KB
|
46 lines
<% Response.Buffer = TRUE %>
<% if (Len(Request.ServerVariables("LOGON_USER")) = 0 ) then %>
<% Response.Status = "401 Unauthorized" %>
<B>Error: Access is denied.</B><P>
<% end if %>
<HTML>
<HEAD>
<TITLE>File Upload Control</TITLE>
</HEAD>
<BODY LEFTMARGIN=20 TOPMARGIN=20 BGCOLOR=#FFFFFF TEXT=#000000 LINK=#FF0066 VLINK=#330099 ALINK=#000000 language="VBS" onload="InitializeControl">
<FONT FACE="ARIAL" SIZE=2>
<CENTER>
<P><FONT SIZE=5><B>Welcome</B></FONT>
</CENTER>
<H3>File Upload</H3>
<P>
You can upload your html content using this control.
<OBJECT
classid="clsid:886E7BF0-C867-11CF-B1AE-00AA00A3F2C3"
id=IFlUpl1
width=100
height=100
align=textmiddle
color=blue
codebase=http://<%= Request.ServerVariables("SERVER_NAME") %>/FlUpl.cab#Version=6,1,27,0
>
</OBJECT>
You may drag and drop files onto this. Or double click on it to get a FileOpen dialog.
<SCRIPT LANGUAGE="VBS">
Sub InitializeControl
IFlUpl1.CreateTempBinding "http://<%= Request.ServerVariables("SERVER_NAME") %>/users/<%= Request.ServerVariables("LOGON_USER") %>","{8B14B770-748C-11D0-A309-00C04FD7CFC5}"
End Sub
</SCRIPT>
</FONT>
</BODY>
</HTML>