Results 1 to 6 of 6
  1.    #1  
    I've discovered that the WebOS browser does not do a good job at following PHP commands in web pages. This makes it impossible to download files from sites using PHP code, including lots of web-based desktops, file server sites, and online storage sites. Here's a demo of such a site (don't need an account, just use user="demo" and pw="demo"):
    OOdesk Virtual desktop Login Manager
    If you're on a PC and try to download a file from the site, it works fine, but not if you're on your Palm Pre.

    Any hope of getting the browser to better follow the PHP download commands?
  2. #2  
    Beautiful application.

    Anyway, I'm not sure how a PHP patch will fix the problem; PHP is handled by the server, not the client. The code that the client sees is the final HTML with its CSS and whatever links or scripts need to be called. The Pre is not processing any PHP at all; it's likely some AJAX at work causing the Pre to have issues, but really, that's what needs to be identified and what needs to be fixed.
  3. #3  
    php isn't executed by the browser. Its a server side tool. Like embedded perl or asp, or any number of other languages one cares to pipe to and from through their web server.

    client side perl sure would be groovy, though. I hate javascript.
  4.    #4  
    I'm just speaking from ignorance here, but if the WebOS browser on the client-side can screw up PHP, then couldn't a client-side hack correct it?
  5. #5  
    Quote Originally Posted by canderoc View Post
    I'm just speaking from ignorance here, but if the WebOS browser on the client-side can screw up PHP, then couldn't a client-side hack correct it?
    Well, like what the other people where saying... PHP is never handled by the Pre, it doesn't know about it and could care less. PHP is a technology which provides the ability to dynamically generate HTML and javascript to the client (the Pre).

    The reasons the Pre has trouble is not because of PHP related problems, but possibly from javascript or badly formed html (from badly formed PHP), which can many times be ignored by a browser.

    You might try hitting the page with multiple browsers and see if you can reproduce the problem the Pre is having (IE6, IE7, IE8, Firefox, and Chrome are good testing browsers), if you can reproduce then the problem is in the PHP and the generated code. If you cannot then there might be a problem with the Pre, but chances are slim.

    Also there's alot of rendering the inside code does which is out of the hands of the patchers, so even if there was a problem you wouldn't see a patch for it unless it was very minor or UI-related.
  6. #6  
    Quote Originally Posted by alex.dobeck View Post
    Well, like what the other people where saying... PHP is never handled by the Pre, it doesn't know about it and could care less. PHP is a technology which provides the ability to dynamically generate HTML and javascript to the client (the Pre).

    The reasons the Pre has trouble is not because of PHP related problems, but possibly from javascript or badly formed html (from badly formed PHP), which can many times be ignored by a browser.

    You might try hitting the page with multiple browsers and see if you can reproduce the problem the Pre is having (IE6, IE7, IE8, Firefox, and Chrome are good testing browsers), if you can reproduce then the problem is in the PHP and the generated code. If you cannot then there might be a problem with the Pre, but chances are slim.

    Also there's alot of rendering the inside code does which is out of the hands of the patchers, so even if there was a problem you wouldn't see a patch for it unless it was very minor or UI-related.
    Exactly. PHP is server side. That means that the problem lies in the browser engine most likely, so test the site in Chrome of Safari (both are based off of webkit, what webOS uses). Even use an iPhone (go to an Apple store) and you will probably see the same problem. Either that, or the site intentionally refuses to allow mobile devices to download.
    Arthur Thornton

    Former webOS DevRel Engineer at Palm, HP, and LG
    Former webOS app developer (built Voice Memos, Sparrow, and several homebrew apps and patches)
    Former blogger for webOS Nation and webOS Roundup

Posting Permissions