Is there a way to query the query to determine how to navigate?
(using LAMP configuration, PHP)
In other words ... I would like to know if the entry was entered manually in the address bar or the link / bookmark was used.
You can check the variable $_SERVER['HTTP_REFERER'], which will contain the URL from which the person came from. I'm not sure what will happen if they select a bookmark or enter the URL manually, although I suspect this variable will be empty.
$_SERVER['HTTP_REFERER']
Although, as the manual says :
( ), . . , HTTP_REFERER . , .
, .
, , - ( ), , , . PHP $_SERVER['HTTP_REFERER'].
( Google Chrome Firefox) , - , , .
, , , , - URL- , , , URL- . , . , .
, , . .
, , ,
, . , URL-, , . , .
, , $SERVER['HTTP_REFERER'] [sic]. , , URL- , . , , .
$SERVER['HTTP_REFERER']
In IE, you can detect when you boot from a bookmark if you previously used saveFavorite to save some data before the user tagged you. But that is pretty ugly.
Source: https://habr.com/ru/post/1731941/More articles:JQuery help with if statement - jqueryJquery CSS calc () function - jqueryLinq group by DateTime / intervals - c # replacement for linked list C - cInserting controller actions between actions in Rails - best practices - redirectFields in a custom SharePoint list template do not appear as list items - xmlH264 RTP packet analysis - videohttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1731944/best-way-to-move-a-bunch-of-sql-server-2005-tables-to-another-server&usg=ALkJrhhai493NONTcPPmgC1XTavTDXSdKgJavascript / CSS Mouseover Area is too sensitive - javascriptSource Control - Xcode - Visual Studio 2005/2008/2010 - version-controlAll Articles