|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
|||
|
|||
|
Hi Friends,
I am new to WML and WAP stuff. I want to know whether I can send any text back to WAP server with the use of WML or I need additional script for this. I have to save that text into a file in WAP server. Have a great day. |
|
#2
|
||||
|
||||
|
Hi ajay,
Welcome to Dev Shed. You can process using wmlscript, but you will need some server-side stuff to create the text files.. ASP example. What server-side technologies do you have at your disposal?
__________________
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. __________________ |
|
#3
|
|||
|
|||
|
Hi jabba,
I have the PHP technology at my disposal and the information to be send should go to database having ORACLE. Actually, I am in the need of sending information to the WAP server first and then to add this information in the database. So my first task is to send some text to the text file on WAP Server as a sample program. One more thing is I want to send information related to mobile to the server like Mobile's MIDP/ScreenSize etc. Do I have to use JAVA technology alone to complete the task ? Note that the mobile information is my secondary target. What I am currently looking for, is creation of simple text file to WAP server and writing it with some junkie.... Regards |
|
#4
|
||||
|
||||
|
You can use php's filesystem functions to create a file, if it is not stored in the database. Otherwise, you can just use oracle functions as you would in a page for a normal web browser.
Things you need to take into account are that input on a mobile device is a pain in the butt, and you can't use textarea in the form - only input type text. As to screen size detection et al, again PHP should be able to pick out some stuff from the headers the device sends, but really you need to check the browsers phone profile. Check out WURFL, sure there will be some examples there - it uses Java and comes well recommended. |
|
#5
|
|||
|
|||
|
Hi,
I have everything ready the PHP installed, apache HTTP installed and even written many succesful sample programs in PHP on PC. Now I want to switch now to wml embeding PHP. What should I do next. One problem I had was if I write simple Hello world in php embedded in WML I got nothing on the phone. (That is Nokia 7210 Emulator) Secondly, I want to know whether it is possible to use external php file or not for the same. Regards Ajay |
|
#6
|
||||
|
||||
|
Does the emulator support wml or mhtml?
PHP sometimes has a problem parsing the xml declaration, if there are parse errors the page will not load. Simple PHP / WML page PHP Code:
wml_test.php
Quote:
![]() |
|
#7
|
|||
|
|||
|
Hi Jabba
Actually, today I was been told that what my basic task is to get Phone Type and its MIDP and Screen size to the txt file from whatever means possible. Here the point is user will be clicking on some link and what the server should get in the form of a text file the parameters mentioned above. My problem is that I don't know where to start and which technology to use and ( what output to show to my seniors ... ) Please, help me about what procedure and resources I should utilise to achieve this task. Regards Ajay |
|
#9
|
||||
|
||||
|
Indeed it can.
http://laacz.lv/dev/Wall/
__________________
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 |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > WAP Programming > Back to WAP |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|