ok i have a few questions, first when i uploaded my first .php file to my server it just displayed all the code and did not work. so i searched google for my problem and a guy said to save my file as a .php3 this worked but i am wondering if there is any other way to fix it. and if someone could tell me the difference between a .php and a .php3 file.
my next problem is writing multiple ip addresses to a text file but seperating them on different lines.
i tried using \n and \r but they did not work, they put a space between the ip addresses like this
315.59.135.5 521.21.486.8
i want them like this
315.59.135.5
521.21.486.8
any help would be greatly appriciated
thanks
-Madmee