Notices

X5 Forums Talk about anything related to the X5.

Reply
 
LinkBack Thread Tools
Old 02-24-03, 09:43 AM   #1 (permalink)
Aximsite Rookie
 
Join Date: Jan 2003
Posts: 25
Thanked 0 Times in 0 Posts
Who's done some HTML programming for the Axim?

I'm developing this database application (hopefully) for the Axim and I've run into a slight snag with the HTML programming side. I'm getting an error:

Method Not Allowed
The requested method POST is not allowed for the URL

The website works fine from a normal PC and when I just try to navigate through the handheld locally. Anyone have any thoughts?
run_GMoney is offline   Reply With Quote
Sponsor Ads
Old 02-24-03, 11:30 AM   #2 (permalink)
Aximsite Prospect
 
Join Date: Jan 2003
Posts: 1
Thanked 0 Times in 0 Posts
I would recomend using something besides HTML, preferably ASP, PHP, or the like.
M900000000 is offline   Reply With Quote
Old 02-24-03, 11:35 AM   #3 (permalink)
Aximsite Rookie
 
Join Date: Jan 2003
Posts: 25
Thanked 0 Times in 0 Posts
Fair enough. Ultimately I'll be using PHP with MySQL. But I was just testing some things out initially to see how fast the connection was. Either way, thanks for the response.
run_GMoney is offline   Reply With Quote
Old 02-24-03, 11:41 AM   #4 (permalink)
cageyjames
Guest
 
Posts: n/a
Pocket IE doesn't support POST requests. The workaround I've seen is to use Flash Player for Pocket PC which adds HTTP-POST iinternally so both GET and POST are supported.

Changing to ASP or PHP won't help you if you need to use POST. That happens on the Server side.
  Reply With Quote
Old 02-24-03, 11:46 AM   #5 (permalink)
Aximsite Rookie
 
Join Date: Jan 2003
Posts: 25
Thanked 0 Times in 0 Posts
Anytime you need to send something to a database via an HTML form, you need to use POST though don't you? Where can I get Flash Player?
run_GMoney is offline   Reply With Quote
Old 02-24-03, 12:09 PM   #6 (permalink)
cageyjames
Guest
 
Posts: n/a
You can get the flash player at http://www.macromedia.com/software/f...tpc/2002.html.

I haven't tried this on Pocket IE yet so I'm not sure what the best "workaround" is. A good source might be here.

http://www.devbuzz.com/content/

I'll let you know if I find anything out.
  Reply With Quote
Old 02-24-03, 12:21 PM   #7 (permalink)
Aximsite Rookie
 
Join Date: Jan 2003
Posts: 25
Thanked 0 Times in 0 Posts
Outstanding. I appreciate your help, thus far.
run_GMoney is offline   Reply With Quote
Old 02-24-03, 12:51 PM   #8 (permalink)
Aximsite Rookie
 
Join Date: Feb 2003
Posts: 34
Thanked 0 Times in 0 Posts
Who said POST didn't work?

Somehow I disagree...

<FORM name="myform" METHOD="post">
Username: <input name="inusername" type="text"
value="username" </input>
Password: <input name="inpassword" type="password"></input>
<input type="submit" value="Go!">
</FORM>

This above code is used in my PPC enhanced site at:

http://www.hsvauto.com/

I've successfully used the above code and as you can see it uses POST.

Did I miss something?
__________________
--
*Mage
cybermage is offline   Reply With Quote
Old 02-24-03, 01:08 PM   #9 (permalink)
cageyjames
Guest
 
Posts: n/a
Quote:
Originally posted by cybermage
Who said POST didn't work?

Somehow I disagree...

<FORM name="myform" METHOD="post">
Username: <input name="inusername" type="text"
value="username" </input>
Password: <input name="inpassword" type="password"></input>
<input type="submit" value="Go!">
</FORM>

This above code is used in my PPC enhanced site at:

http://www.hsvauto.com/

I've successfully used the above code and as you can see it uses POST.

Did I miss something?
Actually POST does work, it just can't hold more than a couple bytes of information. So passwords work, but database queries might not.
  Reply With Quote
Old 02-24-03, 01:39 PM   #10 (permalink)
Aximsite Rookie
 
Join Date: Feb 2003
Posts: 34
Thanked 0 Times in 0 Posts
I see...

I've got some pretty intensive POST's on that site that so far have worked just fine that included posting 6 fields.

Do we know what the byte limit is?

Luckily I guess when I designed the site I did a few special things. You can upload a complete entry for vehicle specs, but it breaks it down into 3 separate pages and stores each page's data into the object using server side session variables, so the submissions are broken down into smaller segments.

Perhaps this would be a good alternative option, especially if you are going to use PHP4. Write it object oriented, and just store each page of the "query" into the object on the server, breaking the user input into smaller segments.

For instance on my site (which you can't get to this part because of the security settings I have active right now) when you submit a new vehicle listing, one page asks for what make/model/color/mileage and price - then it submits that, stores it in the vehicle object on the server in a session variable, and asks you what options your car has (leather, 4 doors, etc.)

I was hoping to allow submission of a photo though... and it looks like that may not work from what you're telling me.
__________________
--
*Mage
cybermage is offline   Reply With Quote
Old 02-24-03, 01:55 PM   #11 (permalink)
cageyjames
Guest
 
Posts: n/a
I wish it was that simple. I cannot figure out why one POST works and other doesn't. More complex POSTs seem to crap, while simple ones don't. I'm sending a very complex SQL statement back so I'm not sure if that has anything to do with it either.

A quick gander on the newsgroups microsoft.public.pocketpc.developer and microsoft.public.pocketpc seem to show people don't really know what causes it. This is very frustrating to me since I can get this to work on my Cell Phone, but not in Pocket IE.

http://groups.google.com/groups?hl=e...t%3D0%26sa%3DN
  Reply With Quote
Old 02-24-03, 03:49 PM   #12 (permalink)
Aximsite Rookie
 
Join Date: Jan 2003
Posts: 25
Thanked 0 Times in 0 Posts
I'm not sending anything complex with the POST method. I didn't think anyway. Just some simple text to a database, 20 characters at most. But are the SQL statements included in that or something? It seems weird. Would it be something between the server side and a handheld client?
run_GMoney is offline   Reply With Quote
Old 02-25-03, 02:10 AM   #13 (permalink)
Aximsite Prospect
 
Join Date: Feb 2003
Posts: 13
Thanked 0 Times in 0 Posts
Can't you do it without POST ?
sheri is offline   Reply With Quote
Old 02-25-03, 07:27 AM   #14 (permalink)
Aximsite Rookie
 
Join Date: Feb 2003
Posts: 37
Thanked 0 Times in 0 Posts
post your code
Fubak is offline   Reply With Quote
Reply

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slew of Noobish Axim Questions (I dare you to answer :D ) Pemolis PDA/AXIM Newbies 24 06-14-06 03:14 PM
CompactFlash Gap in Axim and first thoughts fibrizo X5 Forums 3 02-20-03 08:00 PM
My Dell Axim Adventure... ;) MiniM3 X5 Forums 3 02-18-03 04:53 PM
Axim Slow performer td3d X5 Forums 10 01-24-03 04:48 PM
My Axim experience... rocketscience X5 Forums 7 01-08-03 10:23 PM


All times are GMT -5. The time now is 06:43 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC