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

FLASHVARS visible in Firefox but not in IE

Greetings all:
I'm using an off the shelf uploader called MultipowUpload (see http://www.element-it.com/MultiPowUpload.aspx) a nice Flash FTP uploader. I have used it for a few years but I only recently saw it using Firefox 3.03 and I see the Flashvars in the browser. If you use FF check it out:
http://www.digitalphotoonline.com/upload/cameraoneonline1224430078/upload.html
Expand|Select|Wrap|Line Numbers
  1. <!-- Replace symbols " with the " at all parameters values and 
  2.         symbols "&" with the "%26" at URL values or &amp; at other values!
  3.         The same parameters values should be set for EMBED object below. 
  4. &progressMainText=<PERCENT>% Uploaded (<FILESNUM> files)<PART2DIV><BR>Transfer rate: <RATEVALUE>/sec<BR>Time left: <LEFTMIN> min <LEFTSEC> sec
  5. &progressUploadCompleteText=Upload complete
  6.  
  7. &progressUploadingText=Uploading...
  8. &progressUploadCanceledText=Next files upload canceled. Wait...
  9. -->
  10.  
You see the first &progressMainText=<PERCENT> does not show, but everything there after does. The uploader still works but I just don't know how to escape these variables.
Thanks for taking the time!
Oct 19 '08 #1
2 2758
pbmods
5,821 Expert 4TB
Heya, Harry.

Try using urlencode() to encode illegal characters (http://php.net/urlencode).

If that doesn't work, consider using str_replace() to replace only the characters that you need (http://php.net/str_replace).
Oct 19 '08 #2
Quick and dirty possibly but I simply used <! on the first line and it killed all the other misinterpreted & signs.I think the problem was that particular line has some HTML brackets in it < > and the browser didn't know when to stop sending characters to the screen. If anyone has the right answer please let me know.
Expand|Select|Wrap|Line Numbers
  1. <! &progressMainText=<PERCENT><! % Uploaded (<FILESNUM><!  files)<PART2DIV><BR><! Transfer rate: <RATEVALUE><! /sec<BR><! Time left: <LEFTMIN><!  min <LEFTSEC> <! sec 
  2. &progressUploadCompleteText=Upload complete &progressUploadingText=Uploading... 
Oct 19 '08 #3

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

Similar topics

7
by: fernandoronci | last post by:
Hi, I've been given the task of mantaining and fixing a website which I didn't design. I'm using Internet Explorer 5.5 and 6.x. Specifically, the problem is that navigation menues (written in...
12
by: DEN | last post by:
Hello, I need to remove toolbar and menubar from my current window (not opened with window.open, it would be too easy!!!). I've tried to use the window.toolbar.visible=false property, but it has...
1
by: Dominic Myers | last post by:
Hi there. First off I'm not sure that this is a javascript problem, if not then please forgive me and have a wee squint anyway ;-) I've a strange problem with an image on a site I've...
2
by: TheHobbit | last post by:
Hi there I am a real newbie to CSS so please excuse any daft questions! I am trying to create a page with a header that contains a small square logo in top left corner with 2 longer divs to the rigt...
1
by: lexx | last post by:
Hello, I was wondering if this is possible. Can I change the value of the FlashVars parameter of an embeded swf file using a button with a javascript onClick event handler. I want a button to...
1
by: bkaneweb | last post by:
Hi, I'm working on a site that has a drop-down navigation bar on the top of the screen (in a separate php file), but whenever the menu drops down, the #header div expands over the body content....
16
by: Cov | last post by:
Hi, I have the following code: <script> LeftCurtain=new Image(midPoint,ht); LeftCurtain.src="images/black.gif"; LeftCurtain.left="0px"; LeftCurtain.top="0px";...
0
colinod
by: colinod | last post by:
I have a flash file setup to play an mp3, just a simple player at the moment. the followinf code tells it what the file to play is s = new Sound(); s.loadSound("test.mp3",true);...
7
by: Anil Gupte/iCinema.com | last post by:
I am trying to create a simple FlashPlayer in VB. I used the following: Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

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.