![]() |
|
| |||||||
| Notices |
| Scripts & Fantastico Discussions, help and troubleshooting scripts included is adding popular Fantastico scripts to your website such as guest books, osCommerce shopping cart, polls, content management systems etc… |
![]() |
| | Thread Tools |
|
#2
| |||
| |||
|
Hi everybody! Who can help me? I need a script to count the times that a current windows was printed. This is a way to control what effective is my web page about coupons of discounts and show it to my customer. Thanks. ALEX FARIAS I am VodaHost customer: User hrvccunk www.nuestroscupones.com |
|
#3
| |||
| |||
|
Hi again! I change my requirement: I need help with a script to count the numbers of click on a "print" button. Thanks again! ALEX FARIAS I am VodaHost customer: User hrvccunk www.nuestroscupones.com |
|
#4
| ||||
| ||||
|
Well it's not possible to know when someone prints by going to file -> print, but if you have a button on your website that is set up to print the page, you can probably set it up to report back to the server using ajax. However this won't be very accurate considering you don't know how many users printed by using the menu (or ctrl + p shortcut to the menu). For the actual script you will need the javascript print button, a click event that executes a ajax function which will execute a php script that either records the click in a database of flat file. As this isn't a short snippet if code its a little beyond the scope of this forum, perhaps see if you can find an existing on, or try a freelancer
__________________ Register/Login Script Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |