View Full Version : what ; mean in this case ?
OKtrust
December 21st, 2003, 04:37 AM
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 ?
reverendflash
December 21st, 2003, 05:01 AM
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... :D
at least I can't say as I understand your question...
Revhttp://aulman.com/rev.gif
OKtrust
December 21st, 2003, 05:22 AM
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
norie
December 21st, 2003, 05:24 PM
& 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 &
senocular
December 21st, 2003, 05:33 PM
& 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.
OKtrust
December 23rd, 2003, 05:06 AM
right !
I think they use explode then they use array to get each variable. and I test, it's worked! congratualate me !
norie
December 23rd, 2003, 05:32 AM
congrats ;)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.