is it possible php code detect page refresh (like javascript)?
sri. 0 Newbie Poster
Recommended Answers
Jump to PostDo you mean can it detect if the same page is accessed as opposed to coming from somewhere else?
You could check
$_SERVER['HTTP_REFERER']
, but it's not totally reliable as it's only really triggered by link. F5 keypress or reload button on browser won't set it. Also, some 3rd party …
All 3 Replies
Biiim 182 Junior Poster

diafol
piebie commented: Also usefull for my situation. Thnx. +0
sri. 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.