Upload script
Hej,Jeg har nedenstående script der kan uploade flere filer på en gang.
Det virker som det skal hvis jeg åbner det fra c:\apache\htdocs\upload.htm
men hvis jeg prøver at åbne det fra min server (hhtp://localhost/upload.htm) er der bare en helt blank side.
Jeg har fundet frem til at det er Norton Internet Security der blokerer for det. Er der nogen måde at komme uden om dette på?
<!-- jClientUpload Applet : Begin copy/paste -->
<SCRIPT LANGUAGE="JavaScript"><!--
var _info = navigator.userAgent;
var _ns = false;
var _ns6 = false;
var _ie = (_info.indexOf("MSIE") > 0 && _info.indexOf("Win") > 0 && _info.indexOf("Windows 3.1") < 0);
if (_info.indexOf("Opera") > 0) _ie = false;
//--></SCRIPT>
<COMMENT>
<SCRIPT LANGUAGE="JavaScript1.1"><!--
var _ns = (navigator.appName.indexOf("Netscape") >= 0 && ((_info.indexOf("Win") > 0 && _info.indexOf("Win16") < 0 && java.lang.System.getProperty("os.version").indexOf("3.5") < 0) || (_info.indexOf("Sun") > 0) || (_info.indexOf("Linux") > 0) || (_info.indexOf("AIX") > 0) || (_info.indexOf("OS/2") > 0) || (_info.indexOf("IRIX") > 0)));
var _ns6 = ((_ns == true) && (_info.indexOf("Mozilla/5") >= 0));
//--></SCRIPT>
</COMMENT>
<SCRIPT LANGUAGE="JavaScript"><!--
if (_ie == true) document.writeln('<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = "250" HEIGHT = "250" NAME = "clientupload" codebase="http://java.sun.com/update/1.4.2/jinstall-1_4-windows-i586.cab#Version=1,4,0,0"><NOEMBED><XMP>');
else if (_ns == true && _ns6 == false) document.writeln('<EMBED \
type="application/x-java-applet;version=1.4" \
CODE = "javazoom.upload.client.MApplet.class" \
JAVA_CODEBASE = "./" \
ARCHIVE = "jclientupload.jar,httpimpl.jar,chttpclient.jar,clogging.jar" \
NAME = "clientupload" \
WIDTH = "250" \
HEIGHT = "250" \
url ="http://sjovert.dk/f97x/upload2/process.php" \
paramfile = "uploadfile" \
param1 = "todo" \
value1 = "upload" \
mode ="http" \
scriptable=true \
pluginspage="http://java.sun.com/products/plugin/index.html#download"><NOEMBED><XMP>');
//--></SCRIPT>
<APPLET CODE =" javazoom.upload.client.MApplet.class" JAVA_CODEBASE =" ./" ARCHIVE =" jclientupload.jar,httpimpl.jar,chttpclient.jar,clogging.jar" WIDTH =" 250" HEIGHT =" 250" NAME =" clientupload"></XMP>
<PARAM NAME = CODE VALUE =" javazoom.upload.client.MApplet.class" >
<PARAM NAME = CODEBASE VALUE =" ./" >
<PARAM NAME = ARCHIVE VALUE =" jclientupload.jar,httpimpl.jar,chttpclient.jar,clogging.jar" >
<PARAM NAME = NAME VALUE =" clientupload" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
<PARAM NAME="scriptable" VALUE="true">
<PARAM NAME =" url" VALUE="http://sjovert.dk/f97x/upload2/process.php">
<PARAM NAME =" paramfile" VALUE="uploadfile">
<PARAM NAME =" param1" VALUE="todo">
<PARAM NAME =" value1" VALUE="upload">
<PARAM NAME =" mode" VALUE="http">
</APPLET>
</NOEMBED>
</EMBED>
</OBJECT>
<!-- jClientUpload Applet : End copy/paste -->
