Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    308
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry Firefox will not download this url...

    After some experimenting, Firefox doesn't like the spaces at the end and thus refuses to download the file. Is there anything I can do besides removing the spaces? I like having the friendly name (pname).

    http://www.mydomain.com/Downloads/download.php?get=News_Content_Publisher.zip&pname=php News/Content Publisher

    I'm using a download tracker script, as you can see...IE has no problem with this.
    Last edited by AshleyQuick; 03-28-2005 at 04:49 AM.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    what if u try this?
    Code:
    http://www.mydomain.com/Downloads/download.php?get=News_Content_Publisher.zip&pname=php%20News/Content%20Publisher

  • #3
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    IE and Firefox handle things differently when it comes to HTML. I have found that firefox is best displaying XHTML compliant web pages, whereas IE has no regard for them whatsoever.....and I think that is why you need the %20 (html for a space) in the url.

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    USA
    Posts
    308
    Thanks
    0
    Thanked 0 Times in 0 Posts
    The %20 worked, thanks!
    Ash

  • #5
    Regular Coder
    Join Date
    Sep 2002
    Location
    Scotland
    Posts
    407
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by weazel
    IE and Firefox handle things differently when it comes to HTML. I have found that firefox is best displaying XHTML compliant web pages

    IE(6) does not support XHTML at all, which is why we have a 'pretendy' version of XHTML that is basically just HTML 4.0 except instead of closing tags with > you have to use />

    whether this will change in IE7 or not...
    My body's a temple... and like those ancient Greek ones it's a ruin
    sweenster.co.uk

  • #6
    Senior Coder
    Join Date
    Jul 2004
    Location
    New Zealand
    Posts
    1,315
    Thanks
    0
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by sweenster
    whether this will change in IE7 or not...
    It won't.
    Forget style. Code to semantics. Seperate style from structure, and structure from behaviour.
    I code to specs, and test only in Firefox (unless stated otherwise).


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •