By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,216 Members | 1,023 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,216 IT Pros & Developers. It's quick & easy.

FLASHVARS visible in Firefox but not in IE

P: 14
Greetings all:
I'm using an off the shelf uploader called MultipowUpload (see 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:
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
  7. &progressUploadingText=Uploading...
  8. &progressUploadCanceledText=Next files upload canceled. Wait...
  9. -->
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
Share this Question
Share on Google+
2 Replies

Expert 5K+
P: 5,821
Heya, Harry.

Try using urlencode() to encode illegal characters (

If that doesn't work, consider using str_replace() to replace only the characters that you need (
Oct 19 '08 #2

P: 14
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

Post your reply

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