Esato

Forum > Sony Ericsson / Sony > Technical > Johnex's Official Wml/Xhtml/Php Help Thread

Author Johnex's Official Wml/Xhtml/Php Help Thread
Johnex
P990
Joined: Nov 26, 2002
Posts: > 500
From: Stockholm/Sweden
PM, WWW
Posted: 2006-03-06 07:42
Reply with quoteEdit/Delete This PostPrint this post
Yes, thats what you heard. Having trouble with your wap site or need some coding help? Just post it here and i'll give you a hand (or an arm if it's necessary :-D). PS don't ask me to make a site for you, i am just here to help and lead you in the right way.

This message was posted from a Z1010

Pistolprins
K750
Joined: Jan 13, 2006
Posts: 89
From: Denmark
PM, WWW
Posted: 2006-03-06 08:10
Reply with quoteEdit/Delete This PostPrint this post
I've made a WAP-page with links to my .JAR-files, so I can download and install them while on the move, if I need to use/play one of them.

I don't like to have too much installed at anyone time, since it clutter up my software list, because you cannot make folders/groups in the installed software list on my K750i.

BUT! It doesn't work!!!
I vist the page with the browser in the phone, and it works OK.
When I then select a link to a .JAR-file the phone doesn't recogninze the .JAR-file and install it upon downloading.

I suspect it to have to do with MIME-types, and that I need to tell my hosting provider to create MIME-types for .JAD and .JAR.

Or, am I missing something???
Johnex
P990
Joined: Nov 26, 2002
Posts: > 500
From: Stockholm/Sweden
PM, WWW
Posted: 2006-03-06 08:36
Reply with quoteEdit/Delete This PostPrint this post
Yes, that's totally true, let me get on a computer in 30mins and i'll post all the mime types you will ever need.

This message was posted from a Z1010

Johnex
P990
Joined: Nov 26, 2002
Posts: > 500
From: Stockholm/Sweden
PM, WWW
Posted: 2006-03-06 10:04
Reply with quoteEdit/Delete This PostPrint this post
Here comes my .htaccess file:

AddType application/x-httpd-php3 .php3 .php .phtml .wml
AddType text/html xhtml
AddType text/vnd.wap.wml wml
AddType text/vnd.wap.wmlscript wmls
AddType text/vnd.wap.wmlscript wmlsc
AddType application/vnd.wap.wmlscriptc wmlscriptc
AddType application/vnd.sonyericsson.mms-template .tpl
AddType text/vnd.sun.j2me.app-descriptor jad
AddType text/vnd.wap.si si
AddType text/vnd.wap.sl sl
AddType text/x-vCalendar vcs
AddType text/v-vCard vcf
AddType text/x-vCalendar cal
AddType text/x-vNote .vnt
AddType text/x-co-desc cod
AddType text/calendar ics
AddType text/x-vmel mel
AddType text/x-imelody imy
AddType text/x-emelody emy
AddType application/java-archive jar
AddType application/vnd.mophun.application mpn
AddType application/vnd.mophun.certificate mpc
AddType application/vnd.Nokie.ringing-tone rng
AddType application/vnd.symbian.install sis
AddType application/vnd.wap.wmlscriptc wmlsc
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.sic sic
AddType application/vnd.wap.slc slc
AddType application/vnd.eri.thm thm
AddType application/vnd.nokia.gamedata nqd
AddType application/x-nokiagamedata ngd
AddType application/vnd.smaf mmf
AddType application/x-pmd .pmd
AddType application/vnd.wap.mms-message mms
AddType audio/amr amr
AddType audio/midi mid
AddType audio/midi midi
AddType audio/midi kar
AddType audio/rmf rmf
AddType audio/x-wav wav
AddType audio/vnd.qcelp qcp
AddType audio/mpeg mp3
AddType audio/x-ms-wma wma
AddType image/vnd.wap.wmbp wbmp
AddType image/x-bmp bmp
AddType image/x-epoc-mbm mbm
AddType image/vnd.nok-3dscreensaver n3a
AddType image/vnd.nok-oplogo-colornokia-op-logo nok
AddType image/jpeg jpg
AddType image/jpeg jpeg
AddType image/gif gif
AddType image/png png
AddType image/bmp bmp
AddType video/3gpp mp4
AddType video/3gpp 3gp
AddType application/zip zip
AddType application/x-compressed rar ace cab hme

Ask your server space provider if you are allowed to upload htaccess files. If so, then just copy that into notepad and save the file as ".htaccess" and upload, then it should all work to download.
JK
W995 Red
Joined: Feb 24, 2005
Posts: > 500
From: S. Africa - JOZI
PM
Posted: 2006-03-06 10:36
Reply with quoteEdit/Delete This PostPrint this post
Hey john i downloaded freejack app but its expired, can u add a newer one????
Pistolprins
K750
Joined: Jan 13, 2006
Posts: 89
From: Denmark
PM, WWW
Posted: 2006-03-06 12:07
Reply with quoteEdit/Delete This PostPrint this post
Thanks man :-)

I didn't know it needed to be included in the .htaccess-file!
I do have access to changing that file myself - I'll try it right away :-)
Pistolprins
K750
Joined: Jan 13, 2006
Posts: 89
From: Denmark
PM, WWW
Posted: 2006-03-06 12:26
Reply with quoteEdit/Delete This PostPrint this post
BINGO!

It works :-)

Once again: Thank you for you kind help :-)
Pistolprins
K750
Joined: Jan 13, 2006
Posts: 89
From: Denmark
PM, WWW
Posted: 2006-03-06 12:34
Reply with quoteEdit/Delete This PostPrint this post
BTW: There's one important one missing in your list:

AddType application/x-nokia-9000-communicator-add-on-software aos

Well at least for me who still loves those old GEOS programs :-)
The MIME type also works for N9110(i) software :-)
Johnex
P990
Joined: Nov 26, 2002
Posts: > 500
From: Stockholm/Sweden
PM, WWW
Posted: 2006-03-06 14:02
Reply with quoteEdit/Delete This PostPrint this post
@786: where can i get a new one? :-). @pistols: i'm glad it worked, and thanks for the communicator one ;-).

This message was posted from a Z1010

Pistolprins
K750
Joined: Jan 13, 2006
Posts: 89
From: Denmark
PM, WWW
Posted: 2006-03-06 16:10
Reply with quoteEdit/Delete This PostPrint this post
Just a quick one:

Is it possible to make some kind på 'REMARK' linie in the .htaccess-file, so I can write some comments to the more obscure lines?
Johnex
P990
Joined: Nov 26, 2002
Posts: > 500
From: Stockholm/Sweden
PM, WWW
Posted: 2006-03-06 17:30
Reply with quoteEdit/Delete This PostPrint this post
I don't think so. I would have to look it up in the apache docs.

This message was posted from a Z1010

Access the forum with a mobile phone via esato.mobi