which scripting language in the url part use : and ? to request or get info from the server side?
familiar with the example below?
eg:
http://www.example001.com/browse:tags?word=red
elaborate further using the : and ? and =
:xxxx?xxxx=xxxx
and suggestions on scripting language that can c开发者_运维问答ombine together with regular expressions and tag with @ or hash etc
thanks
It might be a link that is processed by a PHP script: http://php.net/manual/de/reserved.variables.get.php
?
usually indicates the beginning of the arguments.
=
means that argument word
gets red
as value. This can then be read in PHP via $_GET['word']
I'm not sure what the :
is. Maybe it gets converted internally via modrewrite
or something.
It is not a scripting language, it is a URL. The HTTP server at www.example001.com will see this query: GET /browse:tags?word=red
It is up to that server to interpret this string and build its response accordingly.
精彩评论