Pocket Internet Explorer and PHP - General Topics

Hi All,
I've produced a web form for one of my clients. This is a simple fill in the details and press 'submit' type of affair written in PHP, but is a HTM document hosted on our server.
This works fine on my Touch, but the 'submit' button does not work on the clients Orange m3100. I know that the m3100 is WM5 and the Touch is WM6 but i never knew PIE was different.
Is this a security issue with PIE or do I need to update it? If so, how do I do this without changing the ROM?
BTW my client is miles away, so I can't get my hands on the handset.
Help?!
Steve

Surely it can't be the broswer as PHP is a server-side script??
When you say "Is an HTML file" - is it actually a .html ? Maybe it would work if the file was .php ? I still wouldn't have thought it though, surely the web server should parse the HTML file for any server side script first though?

gumballsteve said:
Hi All,
This works fine on my Touch, but the 'submit' button does not work on the clients Orange m3100.
Click to expand...
Click to collapse
In what way doesn't it work? The outgoing HTTP request to the server isn't happening (probably caused by unhandled HTML/javascript in PIE)? Or an unexpected/no response (probably caused by a broken PHP script)?
How about posting the relevant section of the generated HTML that PIE sees in this thread.
If your button is using javascript, rather than a plain FORM submit button, that could cause problems, as different versions of PIE have varying levels of javascript support.

arghness said:
In what way doesn't it work? The outgoing HTTP request to the server isn't happening (probably caused by unhandled HTML/javascript in PIE)? Or an unexpected/no response (probably caused by a broken PHP script)?
How about posting the relevant section of the generated HTML that PIE sees in this thread.
If your button is using javascript, rather than a plain FORM submit button, that could cause problems, as different versions of PIE have varying levels of javascript support.
Click to expand...
Click to collapse
Yes, the form uses javascript to submit and make sure certain feilds are completed.
Can I update the PIE to a newer version or add the extra support?

gumballsteve said:
Hi All,
I've produced a web form for one of my clients. This is a simple fill in the details and press 'submit' type of affair written in PHP, but is a HTM document hosted on our server.
This works fine on my Touch, but the 'submit' button does not work on the clients Orange m3100. I know that the m3100 is WM5 and the Touch is WM6 but i never knew PIE was different.
Click to expand...
Click to collapse
PIE in WM6 is supposed to have better JS support.

gumballsteve said:
Can I update the PIE to a newer version or add the extra support?
Click to expand...
Click to collapse
Nope, only by flashing to WM6.
Get a browser with better scripting support - Opera Mobile, for example.

Menneisyys said:
Nope, only by flashing to WM6.
Get a browser with better scripting support - Opera Mobile, for example.
Click to expand...
Click to collapse
I'm not much good with this mobile ROM stuff, but is it possible to remove the PIE part from a WM6 ROM and make it into a CAB file that would update a earlier device?

gumballsteve said:
Hi All,
I've produced a web form for one of my clients. This is a simple fill in the details and press 'submit' type of affair written in PHP, but is a HTM document hosted on our server.
This works fine on my Touch, but the 'submit' button does not work on the clients Orange m3100. I know that the m3100 is WM5 and the Touch is WM6 but i never knew PIE was different.
Is this a security issue with PIE or do I need to update it? If so, how do I do this without changing the ROM?
BTW my client is miles away, so I can't get my hands on the handset.
Help?!
Steve
Click to expand...
Click to collapse
IMHO,
It is perhaps fine, to request the customer to upgrade his/her mobile-device/browser to support your php/client-side-javascript document.
But my suggestion is to provide an alternative document, without any javascript, that does all validation on the server-side instead.
Well, an expensive solution will be air-delivering your most compatible mobile-device onto the customer's hand.
~My 2 cents~

mangokun said:
IMHO,
..
But my suggestion is to provide an alternative document, without any javascript, that does all validation on the server-side instead.
..
~My 2 cents~
Click to expand...
Click to collapse
I'm with mango' on this, as you will get better functionality by doing validation server-side, plus anyone who knows about htmlview.dll will tell you that it's not the most forward/backward compatible library that MS have ever written (wm6 htmlview.dll has had several html tag attribute changes/removals).
Other than checking the actual html you're outputting for "wellformedness", you could investigate using the PHP to deliver different html depending upon the version of WM that is calling the PHP. Remember if you do, wm6 shows up as version 5, subversion 2 - and not version 6, subversion x.
So much for MS marketing picking the name Windows Mobile 5 because it bound it together with the CE version.
Dsc.

Related

Problem accessing site with XDA Exec...

Hi All,
i'm trying to access the following site with my XDA Exec (HTC Universal):
http://www.sikhitothemax.com/new/Larree.asp?PageNo=1
ignore the fact that it is another language. as you'll notice, when you hover over the text, a broken up version of the sentence being hovered over appears towards the top of the window. when you hover over the arrows, the text will move up and down you can also enter a page number and jump foward. apart from going up and down pages, there is no clicking involved.
the problem is when i try to access this site on my XDA Exec, all i get are the two arrows and no text. i do get the page up and down buttons though which are active. i don't think it's a font issue because if it was i'm sure i'd get the text mangled-up but there nonetheless anyway...
as a shot in the dark, i installed Macromedia Flash Player (i think 6 0r 7) and this works fine with sites that use flash but no joy with the site concerned - so i guess it maynot be a flash problem...
any thoughts - i'd really appreciate them...
thanks.
jagroop singh - newbie!
I think the problem is that Pocket IE can't run the java script which comprises the entire page. There is no flash and no plain text on it (right click in regular IE then select view source).
Sorry, but I don't know any fix for that.
At least they are building a site version specifically designed for PDAs, when they are done you will probably be redirected there automatically once you access the site from your device.
thanks levenum.
i think they opriginally planned to make the site more pda-friendly but its been a few years now - i guess they gave up on the idea...
any more thoughts anyone?
use another and real browser
pocket IE is a joke

mobile.southwest.com

Does anyone know how to reach the site mobile.southwest.com? This site detects my phone as being a PC and transfers me to the regular site, which has different functionality (can't establish your boarding group without a printer) and is slow besides.
It is not a browser issue. I have now tried PIE, Opera mini, Minimo, and Netforce 3.3, and can't reach mobile.southwest.com on any of them. So it must be that they detect the type of device and I need to fool it, probably by changing the registry that tells it how to respond. I found these settings in the wiki but don't know what I should change it to.
I am sorry for repeating this -- I posted the same question in the wizard forum without a useful response.
Wiki settings location (search user agent on the page)
http://wiki.xda-developers.com/index.php?pagename=WM5_Tweaks_Other&version=70
Wap browser
So I tried installing winwap, and it found mobile.southwest.com without a problem. So that is a solution, albeit a $50 one!
Klondike has a $23 wap browser.
Why are wap browsers so expensive? Isn't it easier to render a wap image? In any event, since my only known use of a wap browser is southwest, does anyone know of a less expensive solution?
Klondike works well
Klondike is actually pretty nice. It seems useful enough to own, at least for traveling in Europe on $15/MB GPRS. The trial version is fully functional, just with a "why don't you buy?" screen periodically. It runs off the sd card. It is lightning fast, since so little data is moved.
What agent setting does your registry list right now? Make sure that it is "Windows CE". You could also try using Tweaks 2k2 to enable Blazer support (the demo is run limited, but fully functional).
Ninja
you might want to email southwest and ask them to add PocketIE to the list of browsers that will not redirect to the "full" site.
I had this re-direction problem with another website, and one quick email got them to reconfigure things from their end. problem solved & no expensive (and un-necessary) program purchases (so more $$$ for games!!!)
Thanks
The agent is set to Windows CE; that isn't the reason, alas.
I went to email Southwest, but they don't take email. Coming soon, the site says.
Hmm...
I use this site often with PIE without any issues....I really prefer Opera Mini, but can't get it to go to the mobile.southwest site properly.
FYI
Device
Jellyroll said:
Hmm...
I use this site often with PIE without any issues....I really prefer Opera Mini, but can't get it to go to the mobile.southwest site properly.
FYI
Click to expand...
Click to collapse
Are you using a wizard?

Anyone knows n0p's accessibility OR how Tower Toppler can be run?

Has anyone EVER managed to make n0p’s free (!) Tower Toppler ( http://toppler.sourceforge.net/ ) port (available at http://n0p.tonych.info/?Tower_Toppler ) work on his / her WM device?
It wouldn't work on mine - it just displays "null" instead of the name of the map. Tested on several of my devices, with both the older XScale only and the new ARM (02.12.2006) build.
Alternatively, does anyone know n0p's accessibility? I'd need this info on my forthcoming article on all Nebulus clones for Windows Mobile.
Hmm, I wanted to check it out but when I tried downloading from http://n0p.tonych.info/?Tower_Toppler I got a "leach alert" page saying something about no referrals and turning off download accelerators.
Found this odd since I have no download managers installed.
Tried it with Firefox 2.0.0.3 and Explorer 6.0 and nothing...
levenum said:
Hmm, I wanted to check it out but when I tried downloading from http://n0p.tonych.info/?Tower_Toppler I got a "leach alert" page saying something about no referrals and turning off download accelerators.
Found this odd since I have no download managers installed.
Tried it with Firefox 2.0.0.3 and Explorer 6.0 and nothing...
Click to expand...
Click to collapse
Directly (left) click the links, do NOT do a right-click + Save link as.
No luck. Tried it directly with both browsers.
Even ran Spybot just in case.
Played with the desktop version for a bit - nice little game.
Interesting thing is I did not see an email address anywhere on the developers site (and I even checked the Russian version - yes I read Russian).
Oh well, it was just curiosity any way. I have about 20 games on my Jamin as it is and in order to get some respect I need to at least pretend to use it for work stuff
Good luck with your article.
levenum said:
No luck. Tried it directly with both browsers.
Even ran Spybot just in case.
Played with the desktop version for a bit - nice little game.
Interesting thing is I did not see an email address anywhere on the developers site (and I even checked the Russian version - yes I read Russian).
Oh well, it was just curiosity any way. I have about 20 games on my Jamin as it is and in order to get some respect I need to at least pretend to use it for work stuff
Good luck with your article.
Click to expand...
Click to collapse
Strange it didn't work. I can put it on my database back-end so that the entire world can access it there without problems tomorrow morning; I'll give you the URL as soon as it's up.
In the meantime, I was able to make the game work (see http://forum.xda-developers.com:80/showthread.php?t=304230 if interested). Guys, you MUST give this game a try - it REALLY rocks! n0p has again presented us something REALLY cool, thanks!
ANYWAY, if anyone does know n0p's accessibility, let me know. I, as the Windows Mobile Best Software Awards 2007 Nomination Manager, want to nominate some of his stuff for this year's awards and, for this, I also need to contact him.
See http://www.winmobiletech.com/sekalaiset/TopplerARM.7z for the mirrored file
Thanks a lot for mirroring the file. (You relay shouldn't have bothered)
Keep the excellent articles coming.
levenum said:
Thanks a lot for mirroring the file. (You relay shouldn't have bothered)
Keep the excellent articles coming.
Click to expand...
Click to collapse
You're welcome, and thanks

WordPress Program for WM?

Is there a program for Wordpress blog owners to put on a WM phone to write new blog articles, etc?
I use PocketSharp MT. It's designed for Moveable Type but supports Wordpress
Find it here
gregorypleau said:
I use PocketSharp MT. It's designed for Moveable Type but supports Wordpress
Find it here
Click to expand...
Click to collapse
Thanks, but from reading everything I just dont think it is WordPress compatable. Can anyone else tell me what WM program there is for people with WP blogs who want to write articles on their mobile phone - please!
I use moBlog http://www.jungama.com/moblog
http://darrenjohnstone.net/2007/06/29/travelling-blogger-for-windows-mobile/
traveling blogger is what I use. It is made for wordpress and is free. Click on download in the top right to download the program after checking out the screenshots.
thank you. I am going to check that one out now!
blah123456 said:
http://darrenjohnstone.net/2007/06/29/travelling-blogger-for-windows-mobile/
traveling blogger is what I use. It is made for wordpress and is free. Click on download in the top right to download the program after checking out the screenshots.
Click to expand...
Click to collapse
blah - I am having some problems setting it up. I am trying to install this great program on my new HTC Fuze (same as the htc touch pro).
My blog is http://www.politicaldisgust.com and when I try to add a new blog I get a bunch of errors including:
1) Could not synchronize blog: System error: No such host is known
Maybe I have the RPC URL incorrect. What should go in that line?
Any help would be greatly appreciated as I would love this to work with my blog.
‘RPC URL’ is your blog’s URL plus a ‘/xmlrpc.php’
so it would be http://www.politicaldisgust.com/xmlrpc.php most likely. Homeurl would be just the base url like http://www.politicaldisgust.com
I have used it with my wizard and windows mobile 6.1 It worked fine for me but maybe there is something keeping it from working on a newer phone. Hopefully it will be something easy to figure out and you can get it going.

Best Practise Android <-> Webservice

I'm planning to build an app which has a client and a service part. but i have no plan how i should realize the communication. (should be as standardconform as possible).
I looked a bit around and found for now two ways, where each one has pros and contras.
kSOAP
Pro:
Standardconform
Servicedescription
Class Generation
Contra:
External Library
Slow
JSON
Pro:
Lightweight and fast
Buildin Library
Works in combination with a MVC (symfony)
Contra:
No Standard
No Servicedescription
No Class Generation
Kind regards
Ghost
I would use JSON. Most social networks use JSON for communication with apps. Just have a small HTTP server running and send the commands through POST methods and let the server return the JSON objects.
First off, JSON is a open standard, as defined in RFC 4627
Second off, the comparsion doesn't really hold imo, (k)SOAP is a structured information exchange protocol, JSON is merely a data serializer, like YAML. What they try to accomplish are to very different things. As for the added code that you'd have to write, unlike class generation handling JSON/YAML messages can be done very easily in one factory design-pattern setup. Hand the factory a message, it produces an instance of a specific class, if your messages are properly abstracted, this shouldn't be hard.
with JSON i meant to build such an information exchange around JSON. but this would be something selfmade and not a standard. while the information exchange with soap is a standard and each programmer would be able to build easily without much docu an client for that service. after i want to release that software under the gpl and plan the service as something open like jabber, it would make sense to design the data exchange between service and client as easy as possible.
GhostOfTheNet said:
with JSON i meant to build such an information exchange around JSON. but this would be something selfmade and not a standard. while the information exchange with soap is a standard and each programmer would be able to build easily without much docu an client for that service. after i want to release that software under the gpl and plan the service as something open like jabber, it would make sense to design the data exchange between service and client as easy as possible.
Click to expand...
Click to collapse
Go with JSON. Just describe your API / exchanged JSON-Objects and every programmer would be fine with that.
so it seems, that noone thinks that soap is a googd thing... so i'll use json, thanks
if soap is too heavy, try xml-rpc, its like a simple version of soap
Is it already implemented in the android libs? Or is there somewhere an androitd lib for that out?
Regards
Sent from my HTC Desire using XDA App
GhostOfTheNet said:
Is it already implemented in the android libs? Or is there somewhere an androitd lib for that out?
Regards
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
No, but the xml-rpc protocol is very simple you could easily write a small class to generate the required xml and send it over http
http://en.wikipedia.org/wiki/XML-RPC
Edit:
theres java classes linked to on that wikipedia page, that should work on android

Categories

Resources