nicobach1 Posted December 28, 2009 Share Posted December 28, 2009 can anyone tell me how i would put a limit on the print function? i only want to have X amount of people to be able to print a certain page on a website! Link to comment https://forums.phpfreaks.com/topic/186530-limiting-the-number-of-prints-allowed-per-page-for-all-people/ Share on other sites More sharing options...
Mchl Posted December 28, 2009 Share Posted December 28, 2009 You can limit amount of times given webpage is displayed, but not printed. Link to comment https://forums.phpfreaks.com/topic/186530-limiting-the-number-of-prints-allowed-per-page-for-all-people/#findComment-985147 Share on other sites More sharing options...
nicobach1 Posted December 28, 2009 Author Share Posted December 28, 2009 so i could have a certain page display five(5) times and then have it not display and redirect to another page? Am i understanding this correctly? Link to comment https://forums.phpfreaks.com/topic/186530-limiting-the-number-of-prints-allowed-per-page-for-all-people/#findComment-985148 Share on other sites More sharing options...
Mchl Posted December 28, 2009 Share Posted December 28, 2009 Yes. It's just like page visit counter, except once it reaches set value, it wil redirect. Link to comment https://forums.phpfreaks.com/topic/186530-limiting-the-number-of-prints-allowed-per-page-for-all-people/#findComment-985153 Share on other sites More sharing options...
nicobach1 Posted December 28, 2009 Author Share Posted December 28, 2009 ok, now does this work by checking IP address or will it log in a database on how many times a certain page has been visited? Because if it would check for IP address i would not be able to use it since more than five(5) page visits could occur. if it uses a database system and stores the number of visits that would be great. how would i go about setting up the coding for all this? Link to comment https://forums.phpfreaks.com/topic/186530-limiting-the-number-of-prints-allowed-per-page-for-all-people/#findComment-985158 Share on other sites More sharing options...
Mchl Posted December 28, 2009 Share Posted December 28, 2009 How it works depends on you. Just lookup 'php visit counter' and see what solutions are there. Link to comment https://forums.phpfreaks.com/topic/186530-limiting-the-number-of-prints-allowed-per-page-for-all-people/#findComment-985161 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.