How can I use PHP and JavaScript to make an image clickable, and increment a counter stored as a flat file?
问题 Im trying to find a php/js script that will let me take an image, and when clicked, increase the number in a flat file, and save that file. I know how to include the file to get the vote total. Im going insane trying to find this to plug and play into my website. Id love to have ip logging, and a cool fade in/out refresh update thing. But at this point ill settle for basics. Id like to avoid using MySQL, but if its necessary i can work with it. 回答1: Your best bet is to use the AJAX support in