473,386 Members | 1,883 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,386 software developers and data experts.

script works local, but not on remote

my test server is win2k server, the script works fine, loads the movie,
allows user selection etc. however when i access the same script on my
remote server none of the requesting files load. the files are there, and
they are accessible. ive tested them out by themselves so i know its not an
issue with the file. i also just moved to windows from a unix machine. i
have the exact same script and movies on the unix machine and i have NEVER
had a problem. IM PUZZLED.

<script language="JavaScript">

var curChannel=0;

function input(no)
{
chLed1.src = chLed2.src;
chLed2.src = chLed3.src;
chLed3.src = "interface/ch" + no + ".gif";
curChannel = ((curChannel * 10) + no) % 1000;
}

function chDisplay(x)
{
var movName = new String();
movName = curChannel.toString();
while (movName.length != 3)
{
movName = "0" + movName;
}
movName = "movies/320/" + movName + ".mov";
spanMov.innerHTML = "<embed width=320 height=255 src=" + movName +
"></embed>";
}

function jump(diff)
{
var newChannel = (curChannel + diff) % 1000;
if (newChannel == -1)
{
newChannel = 999;
}
var k = Math.floor(newChannel / 100);
input(k);
var c = Math.floor((newChannel % 100) / 10);
input(c);
var d = (newChannel % 100) % 10;
input(d);
chDisplay(0);
}

</script>

<body>
<embed width="320" height="255" src="movies/320/000.mov"></embed>
</body>

TIA!!!!
Jul 20 '05 #1
3 3523
"jonezy" <jo****@donotmailmejonezy.com> writes:
my test server is win2k server, the script works fine, loads the movie,
allows user selection etc. however when i access the same script on my
remote server none of the requesting files load. the files are there, and
they are accessible. ive tested them out by themselves so i know its not an
issue with the file. i also just moved to windows from a unix machine. i
have the exact same script and movies on the unix machine and i have NEVER
had a problem.


That suggests that it is not the case of the file names that is wrong.
Try checking the content-type that the server sends the files with.

/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #2
In article <vf************@corp.supernews.com>, jonezy wrote:
my test server is win2k server, the script works fine, loads the movie,
allows user selection etc. however when i access the same script on my
remote server none of the requesting files load. the files are there, and
they are accessible. ive tested them out by themselves so i know its not an
issue with the file. i also just moved to windows from a unix machine. i
have the exact same script and movies on the unix machine and i have NEVER
had a problem. IM PUZZLED.


Using what browsers?
Jul 20 '05 #3
In article <vf************@corp.supernews.com>, jonezy wrote:
ie6

"Spamless" <Sp******@Nil.nil> wrote in message
news:3e**********@nntp2.nac.net...
In article <vf************@corp.supernews.com>, jonezy wrote:
> my test server is win2k server, the script works fine, loads the movie,
> allows user selection etc. however when i access the same script on my
> remote server none of the requesting files load. the files are there, and > they are accessible. ive tested them out by themselves so i know its not an > issue with the file. i also just moved to windows from a unix machine. i > have the exact same script and movies on the unix machine and i have NEVER > had a problem. IM PUZZLED.


Using what browsers?


Well, it is not push. The browser sees the file location and, hopefully,
asks for the file. If you have windup (tcpdump clone for windows) you
can see if it is actually requesting the file (or if you use a web
proxy like Privoxy or something ...).

If it is requesting the file, it may be a connection problem.

If it is not requesting the file ... does it work using Netscape
on Windows?
Jul 20 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: miles111 | last post by:
Basically, can I execute a php script from within a php script? Heres some details: I'm using a remote script to get my local ip address using $HTTP_SERVER_VARS; This works. Now I want to run...
0
by: Kelly | last post by:
I wrote this script to work on local files is there a way I can change something here so that I can add a url and run that through the script aswell? ...
3
by: ARGENTINA | last post by:
How do I copy using a php or cgi script a remote xml rss feed into my server? I.E the rss feed: http://www.lanacion.com.ar/herramientas/rss/index.asp?origen=2 Due to restrictions in flash...
5
by: steve | last post by:
Hi, I finally figured out the best way to synch local and remote script folders, containing many php script files. What I used to do before was try to ftp all the changed files, etc. which was...
17
by: Mike A | last post by:
Hi, I'm hoping someone can help me with this. I have a URL for which I'd like to limit access to by time. For example,say I have a URL that I don't want accessable on Monday mornings between...
5
by: news | last post by:
I have a new situation I'm facing and could use a suggestion or two, as I don't seem to be able to think in the abstract very well. We have a local server which holds all of our image files. We...
7
by: Venturer | last post by:
I have a banner script that is included in php on a website but the actual script is hosted on a different site allowing me to only edit one file to update the script. I need to store in a...
4
by: Paul | last post by:
I have a script that uses some Pear (Flex template and Quickform) elements that are the same on both servers. The script works fine on my localserver but on the remote server, one page does not...
1
code green
by: code green | last post by:
I have had 3 seperate procedures running happily for a couple of years that I now wish to merge into one. 1. Collect list of email addresses from Access on local server. Write these addresses to...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...

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.