My host does not have a SQL database. So need to use static files with 777 permisions on the folder i work in to write to a txt file.
Anyway, i want to make a Subprofile for my AIM profile but dont want to use those other services.
I am trying to make a visitor log where when someone clicks a link, their screenname gets written to a text file one after the other and then i can simply use another php script to list out those names as a Visitors log i can include in my profile.
The AIM mini browser has this thing where if u type in %n it displays a users screen name. So if you type a link with %n at the end it will put their name at the end of the link. I need help on what the code needs to be to parse out that ending (the name only) and write it to a text file.
Ex.
The users AIM name is JoeDoe.
I make a link in my profile so its http://www.host.com/submit.php$%n
The %n gets replaces by JoeDoe and ends up http://www.host.com/submit.php$JoeDoe
I need a code that will then drop the rest of the address and then write JoeDoe into a txt file.
Anyone can help? maybe a sample code?