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!
I need a file that searches some ones IP and the writes it and the date and time it was collected to a file called for example index.txt and the redirects the user to the second page.
waradmin wrote:Using fopen(), fwrite(), date(), and $_SERVER['REMOTE_ADDR'];
and don't forget to add header("Location : absolute_path_of_second_page"); <= this is the easiest way to do the redirection as long as I know(easier than meta redirection).