WAP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreWAP Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old February 9th, 2005, 07:44 AM
G00SE's Avatar
G00SE G00SE is offline
.... escape ....
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 448 G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 19 h 42 m 8 sec
Reputation Power: 11
User Input

I'm just wondering if there is a safe limit to how big a user input can be, i.e. maxlength="??"

At the moment I'm thinking of setting it to 3000, would most phones be able to send that sort of data?

Reply With Quote
  #2  
Old February 9th, 2005, 01:07 PM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
check the http headers and profiles for info like this
__________________
Andy Moore << oh no it's got a blog.....
Word Press WAP Plugin with Ad Mob Advertising revenue
PHP developer
deploying ringtones, mp3 downloads and realtones
I'm a geek who's obsessed with stats and gadgets

Reply With Quote
  #3  
Old February 9th, 2005, 04:10 PM
G00SE's Avatar
G00SE G00SE is offline
.... escape ....
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 448 G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 19 h 42 m 8 sec
Reputation Power: 11
What profiless?

Reply With Quote
  #4  
Old February 10th, 2005, 07:37 AM
andymoo's Avatar
andymoo andymoo is offline
Timelord
Dev Shed Novice (500 - 999 posts)
 
Join Date: Oct 2003
Location: Loughborough, Leicestershire
Posts: 605 andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level)andymoo User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 4 Days 5 h 53 m 46 sec
Reputation Power: 63
a link to the profile is often sent through the http headers the phone gives the server / application it is viewing

it's just xml with all the info on the phone you could ever need and then some....... i'd fish some links out but there are some on the forum and i'm pushed today as i got into work a few hours late and am playing catch-up....

Reply With Quote
  #5  
Old February 10th, 2005, 03:02 PM
G00SE's Avatar
G00SE G00SE is offline
.... escape ....
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 448 G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 19 h 42 m 8 sec
Reputation Power: 11
No I don't want to do anything like that I just want to know if there's a max limit a phone can send in a text field, old and new?

Also is there a limit of card size?

Reply With Quote
  #6  
Old February 10th, 2005, 05:21 PM
G00SE's Avatar
G00SE G00SE is offline
.... escape ....
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 448 G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 19 h 42 m 8 sec
Reputation Power: 11
No I don't want to do anything like that I just want to know if there's a max limit a phone can send in a text field, old and new?

Also is there a limit of card size?

Reply With Quote
  #7  
Old February 11th, 2005, 01:04 AM
jabba_29's Avatar
jabba_29 jabba_29 is offline
Back in HEL
Dev Shed God 8th Plane (8500 - 8999 posts)
 
Join Date: Feb 2002
Location: Finland
Posts: 8,670 jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)jabba_29 User rank is General 10th Grade (Above 100000 Reputation Level)  Folding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner FolderFolding Points: 57777 Folding Title: Beginner Folder
Time spent in forums: 3 Months 3 Weeks 4 Days 6 h 10 m 50 sec
Reputation Power: 1618
Send a message via ICQ to jabba_29 Send a message via AIM to jabba_29 Send a message via MSN to jabba_29 Send a message via Yahoo to jabba_29 Send a message via Google Talk to jabba_29 Send a message via Skype to jabba_29
Facebook
The size limit used to be about 1.5 KB, not sure now. If you are serving MP xmtl, I suppose the limitation would be dependant on your connection and phone memory (perhaps operators may have some transfer limit too).
__________________
Cheers,

Jamie


# skiFFie | Home of the 'accessibility module' for Drupal
# Jamie Burns [me] Accessibility Module [drupal]
# guidelines | search | wap resources | not getting help | fold to cure

# Any form of employment is strictly prohibited ......


__________________

Let the might of your compassion arise to bring a quick end
to the flowing stream of the blood and tears .....
Please hear my anguished words of truth.

__________________

Reply With Quote
  #8  
Old February 13th, 2005, 08:57 AM
flyinghigh flyinghigh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 47 flyinghigh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 12 sec
Reputation Power: 4
The maximum length of input field text that can be posted to the server depends on whether the HTTP GET method or the HTTP POST method is used. If the HTTP GET method is used, the input field text is posted to the server by appending to the URL, like this: http://somedomain.com/proc.jsp?inputFieldText=xxxxxx. As the URL length has a size limit, the number of characters that can be sent to the server is limited. If the HTTP POST method is used, the input field text is embedded in the HTTP message and in this case there is no size limit. However, in practice, whether this is true depends on factors such as the phone model. The rule is that the HTTP POST method should better be used if the input field text is of large size.

There is a card size limit for many mobile phones and the actual size limit depends on the phone model.

Hope that helps.

Reply With Quote
  #9  
Old February 14th, 2005, 11:59 AM
G00SE's Avatar
G00SE G00SE is offline
.... escape ....
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 448 G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 19 h 42 m 8 sec
Reputation Power: 11
Thanks for that jabba I've reduced the sending to a 1kb limit now.

Thanks flyinghigh I hadn't thought about the post and get problems, I probably should change it to a post method, the only problem is I can't get a post method to work with out the user having to go to the options on the there phone, that's why I've been using get, since I want to use a link. If that makes any sense, is there away to use post with a link?

Reply With Quote
  #10  
Old February 15th, 2005, 03:00 AM
flyinghigh flyinghigh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 47 flyinghigh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 12 sec
Reputation Power: 4
Quote:
Originally Posted by G00SE
If that makes any sense, is there away to use post with a link?

Hello, hope the following helps you:

For WML:
<anchor>
<go method="post" href="somepage.asp">
<postfield ... />
</go>
Submit with HTTP POST
</anchor>

For XHTML MP:
<form method="post" action="somepage.asp">
...
</form>

Reply With Quote
  #11  
Old February 17th, 2005, 10:47 AM
G00SE's Avatar
G00SE G00SE is offline
.... escape ....
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 448 G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level)G00SE User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 3 Days 19 h 42 m 8 sec
Reputation Power: 11
Thanks flyinghigh, I've got it working well kinda, it works on my mobile, but in the emulator it fails, instead of putting it as a post it turns the links in to GET and sends it in the URL. This is quite strange, this lead me to wondering if any mobiles have problems with POST. Do you know or does anyone else know?

Last edited by G00SE : February 17th, 2005 at 11:36 AM.

Reply With Quote
  #12  
Old February 22nd, 2005, 09:54 AM
flyinghigh flyinghigh is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Posts: 47 flyinghigh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 15 m 12 sec
Reputation Power: 4
Hello,

The mobiles that I have worked with support POST.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreWAP Programming > User Input


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support |