473,395 Members | 1,668 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Error messages while uploading files

hi, although i am not a complete dumb ass i don't know anything about JAVASCRIPT so wonder if anyone can help me? i want to upload some files but it keeps giving me error messages saying that it is to do with javascript. I am using a MAC os x 10.4 with safari browser, here is the offending piece of code......
Expand|Select|Wrap|Line Numbers
  1. var Timeout;var ZZ=null;var startdelay=1;var AbortCount=0;function bj(){if(typeof XMLHttpRequest!="undefined"){ZZ=new XMLHttpRequest();return 1;}else if(window.ActiveXObject){var bw=["MSXML2.XMLHttp.5.0","MSXML2.XMLHttp.4.0","MSXML2.XMLHttp.3.0","MSXML2.XMLHttp","Microsoft.XMLHttp"];for(var i=0;i<bw.length;i++){try{ZZ=new ActiveXObject(bw[i]);return 1;}catch(eI){}}}return 0;};function ei(){if(!ZZ){bj();}else if(ZZ.readyState!=0){ZZ.abort();}ZZ.onreadystatechange=function(){if(ZZ.readyState==4){if(ZZ.status==200){var dm=ZZ.responseText.split("||");parent.cf(dm[0],dm[1],'',dm[2]);}}};ZZ.open("get","dynamic/ulstatus.php?identifier="+parent.identifier+"&rand="+parent.cK(5),true);ZZ.send(null);};function fr(){if(bj()==1){Timeout=setInterval('bU()',3000);}};function bU(){if(parent.Uploading==true){ei();}}//-->
  2.  </script>
  3. </head>
  4. <body OnLoad="fr();">
Jul 5 '07 #1
3 1389
JosAH
11,448 Expert 8TB
Please try again: your post ended up as one big blob of unreadable stuff. And
please re-post your question in a JavaScript forum instead of this Java forum.
JavaScript is not Java.

kind regards,

Jos

ps. I'll move this to a JavaScript forum.
Jul 5 '07 #2
acoder
16,027 Expert Mod 8TB
Where did you get this code from? It's an AJAX request to "dynamic/ulstatus.php" using the GET method.

What error message do you get?
Jul 6 '07 #3
acoder
16,027 Expert Mod 8TB
If you have meaningful titles, there's more chance you'll get help and people will be able to find your problem more easily.

I've changed the thread title for you.
Jul 6 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Marc | last post by:
Hello, I have a page where i can upload binary file (using the HTML input type=file approach). This works fine for relatively small files (<6MB)) but when files get bigger (13MB) there is a...
2
by: Jeff Thies | last post by:
Hello, I (well someone else) need to upload large files. I had the Huge ASP upload installed (Pstruh). It came recommended here. Using the sample script I get this error when uploading: ...
6
by: mark | last post by:
I have an asp.net ecommerce web application on a remote web server. I'm using an Access database on the back end. I've notice a few strange things. When I mimic an multiple user environment by...
4
by: Matthew Louden | last post by:
My ASP.NET application runs ok locally, but after I upload all the files to IIS in Windows Server 2003 Standard Edition, and no longer works. This has the following error messages: Configuration...
2
by: GD | last post by:
Hi, An intranet application, with a SMTP mail function that lets users to attach files with emails by selecting files in their local computers (through a file browser component), works perfect on...
8
by: Brian Tkatch | last post by:
Server: DB2/SUN 8.1.6 Client: DB2 Connect Personal Edition (No 11) <URL:ftp://ftp.software.ibm.com/ps/products/db2/fixes2/english-us/db2winIA32v8/fixpak/FP11_WR21365/FP11_WR21365_CONPE.exe> ...
1
by: wenqiang7 | last post by:
I am encountering a very strang problem with file uploading in my ASP.Net page. When we try to upload certain file, we'll get an error msg of "Cannot find server or DNS Error". We are running...
0
by: PerumalSamy | last post by:
Hi, I am getting following error while uploading my project in web. Description: An error occurred during the processing of a configuration file required to service this request. Please review...
4
rahulephp
by: rahulephp | last post by:
i think i am missing something in the below script: It shows error an do not upload files to destination: Let me know how to solve this: <?php if (isset($_POST)) { $uploadArray=...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.