note 83200 deleted from reserved.variables.get by salathe

From: Date: Mon, 21 Sep 2020 14:47:41 +0000
Subject: note 83200 deleted from reserved.variables.get by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215312@lists.php.net to get a copy of this message
Note Submitter: timberspine _AT_ gmail _DOT_ com ---- Note that named anchors are not part of the query string and are never submitted by the browser to the server. Eg. http://www.xyz-abc.kz/index.php?title=apocalypse.php#doom echo $_GET['title']; // returns "apocalypse.php" and NOT "apocalypse.php#doom" you would be better off treating the named anchor as another query string variable like so: http://www.xyz-abc.kz/index.php?title=apocalypse.php&na=doom ...and then retrieve it using something like this: $url = $_GET['title']."#".$_GET['na']; Hope this helps someone...

« previous php.notes (#215312) next »