English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

for example i have this url :
www.aryaxt.com/index.php?topic = asd asd
but in the next page that im getting the value of the topic it shows:
asd%2520asd
how can i get rid of those extra letters that replace the space.
And is asd%2520asd = asd asd

2006-07-02 07:09:27 · 3 answers · asked by aryaxt 3 in Computers & Internet Programming & Design

3 answers

use the urldecode() command, it will return the string with the %xx changed into the ascii characters

2006-07-02 07:14:48 · answer #1 · answered by John J 6 · 0 1

That's because "asd asd" is a string and you forgot to put the quotes(").....but why do you use "get trick" let the browser do his job....and an extra advice: For a more secure web page use post method with XHTML.....if you want to chat with somebody about Web design and programming lauriry_1991 is my messenger id!

2006-07-02 14:17:30 · answer #2 · answered by Yoda 2 · 0 0

Try no to use spaces in urls:
index.php?topic=asd_asd

2006-07-06 05:19:05 · answer #3 · answered by Nixon 2 · 0 0

fedest.com, questions and answers