in reply to Re: FILE UPLOAD
in thread FILE UPLOAD

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^3: FILE UPLOAD
by erroneousBollock (Curate) on Oct 05, 2007 at 06:09 UTC
    Some web site do block access based on browser type, so don't jump to conclusion that it was written by fools.
    Firstly, the error message alone is enough to verify that the implementation is poor and that the implementor doesn't understand the libraries they've used, nor how to perform validation. Both are required in the construction of a simple server-side web-application.

    Secondly, blocking access based on browser type may be acceptable for a group of in-house consumers with SOEs interacting through some corporate portal... however, it's completely unacceptable for the public internet.

    -David

    Update: Actually, recent court decisions about website usability for the visually impaired have probably set the precedent (at least in the USA) that functional discrimination based on browser type is illegal.

    I don't really like where that argument concludes, but it's another example of laws catching up with Internet best practices.

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re^3: FILE UPLOAD
by Battle_Fury (Initiate) on Oct 08, 2007 at 03:28 UTC
    Well, can u temme if there's anything specifically wrong abt the script or anything else that I could add to bypass this browser type error ?
      I'd say your best bet is to do two things:
      1. Try to exactly replicate the request sent by Internet Explorer using LWP::UserAgent and HTTP::Request (just keep fiddling with the HTTP::Request object until it stringifies in a structurally identical manner to the request sent by Internet Explorer).

        You may need a plugin for IE to capture the headers it sends to the server (for comparison).

      2. Send a message explaining the error (and the conditions leading to it) to the server administrator for that upload script.

        Sometimes the administrator is listed in the error message. If not, look at the contact page on the site.

      -David