$ _GET [] Php, bu bir değişken örneğin arar? Id = değeri kullanarak
Yerine # değerini çağırmak için bir yolu var mı?
Hayır, url hash kısmı sadece istemci tarafı ve çünkü sunucuya gönderilmez.
When you enter an URL such as http://server.com/dir/file.php?a=1#something
in your browser's URL textbox, the browser opens a connection to the server.com
and then issues a HTTP command GET /dir/file.php?a=1 HTTP/1.1
. This is the only data sent to the server.
Hence, the server never gets the #something
part, and this means there is no script on server side you could write to read that value.
Benzer soru burada açıklanmıştır: http://stackoverflow.com/questions/317760/how-to-get-url-hash-from-server-side