473,544 Members | 680 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="JavaS cript">

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.toSt ring();
while (movName.length != 3)
{
movName = "0" + movName;
}
movName = "movies/320/" + movName + ".mov";
spanMov.innerHT ML = "<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(newC hannel / 100);
input(k);
var c = Math.floor((new Channel % 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 3534
"jonezy" <jo****@donotma ilmejonezy.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.n il> wrote in message
news:3e******** **@nntp2.nac.ne t...
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
10170
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 a local php script to call the remote script and return my ip address. Any Ideas? Thanks! -bp
0
1333
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? --------------------------------------------------------------------- <form action="<?= $PHP_SELF ?>" method="POST"> URL: <input type="text" name="url" value="<?= $url ?>"/><br> <input...
3
2461
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 player 7 I need to load a remote xml rss feed. I am using load.xml( http://www....
5
2874
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 tedious and often broke. It was also very slow. What I do now is to pkzip the folder up, ftp the pkzip’ed data to remote, and then unzip it...
17
4866
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 10am-noon and Fri. afternoons between 2-4pm. So when someone clicks on the URL during those times a message pops up saying somthing like "sorry we're...
5
1747
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 have a remote server that runs our public Web server and mySQL database. I need to be able to run a script that will: Read the contents of a dir on...
7
3363
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 variable the hostname that the included script is being run on NOT the master url where it is hosted. Everything I try gives the url of where the...
4
1514
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 work properly - only one, everything else works great. It's an exact copy of what is on my local server. localserver is windows running apache and...
1
3155
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 a CSV file. 2. FTP the CSV file from local server to remote server using FTP program 3. Insert email addresses from CSV into MySql and send out an...
0
7429
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7368
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7713
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5301
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4922
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3420
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3414
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1844
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
990
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.