FLASHVARS visible in Firefox but not in IE

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • harryusa
    New Member
    • Oct 2008
    • 14

    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.digitalphot oonline.com/upload/cameraoneonline 1224430078/upload.html
    Code:
    <!-- Replace symbols " with the " at all parameters values and 
    		symbols "&" with the "%26" at URL values or &amp; at other values!
    		The same parameters values should be set for EMBED object below. 
    &progressMainText=<PERCENT>% Uploaded (<FILESNUM> files)<PART2DIV><BR>Transfer rate: <RATEVALUE>/sec<BR>Time left: <LEFTMIN> min <LEFTSEC> sec
    &progressUploadCompleteText=Upload complete
    
    &progressUploadingText=Uploading...
    &progressUploadCanceledText=Next files upload canceled. Wait...
    -->
    You see the first &progressMainTe xt=<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!
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    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).

    Comment

    • harryusa
      New Member
      • Oct 2008
      • 14

      #3
      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.
      Code:
      <! &progressMainText=<PERCENT><! % Uploaded (<FILESNUM><!  files)<PART2DIV><BR><! Transfer rate: <RATEVALUE><! /sec<BR><! Time left: <LEFTMIN><!  min <LEFTSEC> <! sec 
      &progressUploadCompleteText=Upload complete &progressUploadingText=Uploading...

      Comment

      Working...