Zubrag.com
May 20, 2012, 11:09:52 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: more info log  (Read 6535 times)
psp
Newbie
*
Posts: 5


« on: June 28, 2007, 11:59:34 pm »

hi,

Thanks for the great script, its very simple and powerful. Grin

Can anyone help me make a log with more info from the user?
Here is something I like to add.
Code:
gethostbyaddr(getenv('REMOTE_ADDR')),         /* Name of the remote host */
$file_name,                                   /* Name of the download file */
getenv('HTTP_REFERER'),                       /* Referring URL */
getenv('HTTP_USER_AGENT'),                    /* User agent */

If it is possible, add a counter to count the number of file being download.

thank you. Cheesy

Logged
sosaited
Newbie
*
Posts: 9


« Reply #1 on: June 29, 2007, 08:09:07 am »

I wish for this feature as well.

- IP of user
- specific file downloaded count
- User browser
- User OS etc.
 These should be included in the code, but for the moment, I hope someone will write it here as well.
Logged
zubrag
Administrator
Hero Member
*****
Posts: 753


WWW
« Reply #2 on: June 29, 2007, 03:46:55 pm »

Guys, do you have mysql database support?
Logged
sosaited
Newbie
*
Posts: 9


« Reply #3 on: June 30, 2007, 12:51:44 am »

Yes, I have MySQL support. (Though I don't know anything about MySQL other than it is a RDMS)
Logged
zubrag
Administrator
Hero Member
*****
Posts: 753


WWW
« Reply #4 on: July 02, 2007, 07:04:41 am »

Will implement extended log, but it will require mysql for storing the data, with simple admin area for reporting purposes.
Logged
sosaited
Newbie
*
Posts: 9


« Reply #5 on: July 02, 2007, 10:33:31 am »

Eagerly waiting for this feature.

Thank you Zubrag. You are great!.  Smiley

Logged
psp
Newbie
*
Posts: 5


« Reply #6 on: July 04, 2007, 02:38:30 am »

Hi,

Thanks for taking the request Cheesy MySQL is fine too.

I was using "Download Center Lite" which is a free/share script. it able to write all those mention by sosaited in two text log file. If you check out that script, you might get some idea from it.
Because its share script, I like zubrag more, hope to get those feature in the future.  Grin

keep up the good work.

thanks
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC