What ; mean in this case?

hi all

I found this URL have mystery point, http://vncwd.net/forums/index.php?kbb=thread;threadid=52 they use ; instead of &

How they did ? anybody know or have idea please join, thanks

From this we can use some strange character like $ or # … :D, it sound good huh ?

*Originally posted by OKtrust *
**hi all
I found this URL have mystery point, they use ; instead of &
From this we can use some strange character like $ or # … :D, it sound good huh ?
How they did ? anybody know or have idea please join, thanks:

http://vncwd.net/forums/index.php?kbb=thread;threadid=52 **

I think you missed a couple of words there Sparky… :smiley:

at least I can’t say as I understand your question…

Rev

hic, I mean that how they can use the ; “symbol” instead of & in their URL
you know, when we “transfer” variableS we usually use** & **to transfer both of them, but in this case they use ** ; **

I hope you will understand my poor English :d

& is the defualt in PHP, but you can change it to whatever you want if you have full control of the server. But the standard for parsing variables is &

& is the standard for an HTML query string (standard MIME format application/x-www-form-urlencoded), not necessarily PHP specifically ;). In the case of that link, you just get one variable equaling

thread;threadid=52

That variable can then be interpretted any way you wish - split by ‘;’ characters or however you want all depending on whatever backend you write to support it.

right !
I think they use explode then they use array to get each variable. and I test, it’s worked! congratualate me !

congrats :wink: