PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
maybe im wrong about the use of file() but dont you have to open the txt file first?
also wont the count just keep going up since i don't see how it would revert?
using sessions would be the best way to do this.
i am almost positive there is a tutorial on this in the tutorials forum. i would highly recommend reading that cause your code seams like it would not be very effective
file() doesn't require an open file stream... however I don't see where you are writing the data to the file so I can't judge if the data inside is even correct..
i have never seen an online counter quite like that ;p but hey.. whatever works I guess.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.