HTML encoding ?
- Started
- Last post
- 13 Responses
- versa
quick question - sorry if i should know this ...
is there a way to not have the value of an option element encode itself when passed to the query string for use as a relative path ?
someting like this :
[option value="shops/usa/AL"]Alabama[/op...
becomes this:
?dlr=shops%2Fusa%2FAL
any advice as to how to pass the value unencoded ?
- BZZZP0
just decode it back. what's the problem?
- versa0
? not sure what you mean
- BZZZP0
i think you need tto be clearer about why you would want it passed unencoded.
then the question is what uses it on the receiving end?
then the answer becomes, use something in the middle to decode it.
but yeah, deets.
- sparker0
mod_rewrite
http://httpd.apache.org/docs/mod…
- BZZZP0
or anything else.
we know nothing about his server environment.
- versa0
to be honest, i was just trying to keep a potential bookmark url the same coming out of a drop menu as the hardcoded link on the same page with the var appended
essentially i am passing the value of whatever option element i have selected to the query string, and equating it ( my php auto globals is on ) to the 'name' of the select element it is sitting in
- versa0
sorry , thx guys - most of these issues are a bit confusing to me
apache - php 4.3 i think
- BZZZP0
then use php to decode the url in thee qstr?
- cereals0
php ->
http://uk.php.net/manual/en/func…
http://uk.php.net/manual/en/func…javascript ->
http://www.devguru.com/Technolog…
either way works...
- versa0
thx alot !
- versa0
shoot - can't seem to get it working
could i email this file to someone and see if you could help me for a sec ?
thx
- versa0
bump
anyone ?
- BZZZP0
! fine.