thebestone Posted June 5, 2007 Share Posted June 5, 2007 Is it possible to detect where on a page someone clicks with PHP? If so, can you point me in the right direction? Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/54242-detect-mouse-click/ Share on other sites More sharing options...
only one Posted June 5, 2007 Share Posted June 5, 2007 javascript, that would have to be done client side.. Quote Link to comment https://forums.phpfreaks.com/topic/54242-detect-mouse-click/#findComment-268192 Share on other sites More sharing options...
siwelis Posted June 5, 2007 Share Posted June 5, 2007 Well, another somewhat messy way you can do it, is have a "CASE" in every page and attached to the link of every page would be "?casename=casenumber&page=pagename" then have the pagename or number inserted into a table with data saying which page it's being entered from, and voila! Quote Link to comment https://forums.phpfreaks.com/topic/54242-detect-mouse-click/#findComment-268291 Share on other sites More sharing options...
siwelis Posted June 5, 2007 Share Posted June 5, 2007 it might be good to note, you may have what would appear to be hundreds of versions of the same pages too though... like it said, it could be somewhat messy. that's a SEOpimizers nightmare... A really irritating way to do it would be to have blank pages set up which make that calculation then redirect the user to the appropriate page.... that may help. Quote Link to comment https://forums.phpfreaks.com/topic/54242-detect-mouse-click/#findComment-268294 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.