helloi need to log referrer for visitors the links like: http://localhost/hello.php?session=aGVsbG8gZGlnaXRhbHBvaW50==
i want to log the url and the (decodded) base64 code: aGVsbG8gZGlnaXRhbHBvaW50== to file.txt or something
so the file.txt will have:
url: http://localhost/hello.php?session=aGVsbG8gZGlnaXRhbHBvaW50== session: aGVsbG8gZGlnaXRhbHBvaW50== decodded_session: hello digitalpoint
thanks for help me
So... what's your question?
Yes your question-posting skills could use some help.
Perhaps you could look at [man]file_put_contents[/man]...
I'd go with a database to log this sort of thing though, databases are perfectly suited for this kind of thing, and it'll be a hell of a lot easier to parse it all afterwards to analyse the visits.