You are here: The pound # in $_SERVER variables « PHP Programming Language « IT news, forums, messages
The pound # in $_SERVER variables

Posted by Jim Carlock on 06/30/07 16:57

(1) test.php?test_key=test_value

$_SERVER['SCRIPT_NAME'] returns /test/test.php
$_SERVER['REQUEST_URI'] returns /test/test.php?test_key=test+value
$_SERVER['QUERY_STRING'] returns test_key=test+value

(2) test.php?test_key=test_value#test_internal_sublink

$_SERVER['SCRIPT_NAME'] returns /test/test.php
$_SERVER['REQUEST_URI'] returns /test/test.php?test_key=test+value
$_SERVER['QUERY_STRING'] returns test_key=test+value

Questions
(1) What do you call a sublink with the pound (#) symbol?
(2) How do I get to the #test_internal_sublink?

--
Jim Carlock

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация