Discussion Board
Ampersand inURL
2004-06-16, 09:34
#1
Registered User
Hi,
I've 2 parameters in an URL - looks:
<a href="/ShowChart.pl?ContactID=728&ChartID=1">Soul Avengerz</a>
(WML 1.1) but with Nokia 6600, 7200 the second value (ChartID=1) will not sent to the server. It works brilliant with my Samsung or Sony (and Opera 7.5)
See the QueryString: QUERY_STRING: ContactID=588&
My program produces an error.
WHAT CAN I DO THAT THIS SHIT WORKS? It's wrong to change '&' to '&' or '&'.
Website is: 'wap.housemusic.at' - goto charts and select a name/dj.
THANKS A LOT FOR THE HELP,
Robert
Vienna, AUSTRIA
Here are the environment variables
Environment variables:
----------------------
HTTP_ACCEPT: text/css, application/vnd.wap.wmlscriptc, application/vnd.wap.wbxml, application/x-wap-prov.browser-settings, application/x-nokia.settings, application/vnd.wap.sic, application/vnd.wap.slc, text/x-vCard, text/x-vCalendar, application/vnd.wap.wtls-ca-certificate, application/vnd.wap.hashed-certificate, application/vnd.wap.signed-certificate, application/vnd.wap.cert-response, application/x-wap-prov.browser-bookmarks, text/html, application/vnd.wap.wmlc, application/xhtml+xml, application/vnd.wap.xhtml+xml, text/x-co-desc, application/vnd.oma.drm.message, image/gif, image/jpeg, image/jpg, image/bmp, image/png, image/vnd.wap.wbmp, image/vnd.nok-wallpaper, audio/midi, audio/mid, audio/x-midi, audio/x-mid, audio/sp-midi, application/vnd.nokia.ringing-tone, image/vnd-nok-camera-snap, image/vnd-nok-camera-snsp, text/vnd.sun.j2me.app-descriptor, application/java, image/vnd.nok-oplogo-color, application/java-archive, application/x-java-archive, application/vnd.wap.mms-me!
ssage, application/vnd.wap.sic,application/vnd.wap.mms-message, image/bmp,image/vnd.wap.wbmp,application/x-nokia.settings-xml,text/x-wap.wml,text/vnd.wap.wml,text/x-hdml,text/vnd.wap.wmlscript,text/vnd.wap.si,text/vnd.wap.sl, */*
HTTP_ACCEPT_CHARSET: iso-8859-1, utf-8;q=0.8, iso-10646-ucs-2;q=0.6, us-ascii;q=0.7, UTF-8, *
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION: close
HTTP_HOST: wap.housemusic.at:80
HTTP_PROFILE: http://nds1.nds.nokia.com/uaprof/N7250ir100.xml
HTTP_USER_AGENT: Nokia7250I/1.0 (4.22) Profile/MIDP-1.0 Configuration/CLDC-1.0 UP.Link/5.1.1a
HTTP_X_FORWARDED_FOR: 10.253.181.69
HTTP_X_UP_DEVCAP_CHARSET: iso-8859-1, utf-8;q=0.8, iso-10646-ucs-2;q=0.6, us-ascii;q=0.7
HTTP_X_UP_DEVCAP_MAX_PDU: 65535
HTTP_X_UP_FAX_ACCEPTS: none
HTTP_X_UP_FAX_LIMIT: 0
HTTP_X_UP_SUBNO: MMS-31337026_vcs-fmagdisp315.london.02.net
HTTP_X_UP_UPLINK: vcs-fmagdisp315.london.02.net
HTTP_X_UP_WAPPUSH_SECURE: bengal-fmagpap310.london.02.net:9003/pap
HTTP_X_UP_WAPPUSH_UNSECURE: bengal-fmagpap310.london.02.net:9002/pap
HTTP_X_UP_WTLS_INFO: off
HTTP_X_WAP_TOD: 00
MOD_PERL: mod_perl/1.26
QUERY_STRING: ContactID=588&
REMOTE_ADDR: 193.113.200.130
REMOTE_PORT: 38155
REQUEST_METHOD: GET
REQUEST_URI: /ShowChart.pl?ContactID=588&
SCRIPT_NAME: /ShowChart.pl
SERVER_ADDR: 66.84.11.223
SERVER_NAME: housemusic.at
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE:
UNIQUE_ID: QM-6zkJUC98AAHkzOsk
Registered User
Hi
You can try to do it so
<anchor title="Soul Avengerz">Soul Avengerz
<go href="/ShowChart.pl" method="get">
<postfield name="ContactID" value="728"/>
<postfield name="ChartID" value="1"/>
</go>
</anchor>
It has to work right.
Registered User
thx a lot - I'll try this later.
Robert
Try &
2004-10-21, 07:57
#4
Registered User
Try and use & this problem also exists for xhtml
Last edited by jmumby; 2004-10-21 at 11:02 .
Registered User
or use this code '&'
to represent the ampersand.
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules