| Falken | 2006-10-17 08:31:00 |
![]() Posts: 137 Topics participated: 74 Topics started: 24 First post: 2006-10-12 20:44:00 Last post: 2009-01-01 16:14:00 |
i donno so much about php, but i have look at the other writelogs but i dont get this one to work:( can be good to see in the log when inactiv accounts is deleted and who it was.. |
![]() |
writelog in cleanup
| dokty | 2006-10-17 00:04:00 |
![]() Posts: 2607 Topics participated: 1470 Topics started: 2 First post: 2006-07-10 10:45:00 Last post: 2008-06-13 17:08:00 |
find the area for delete inactive users and b4 the closing } add write_log("User account $arr[id] ($arr[username]) was deleted by system"); |
![]() |
| Falken | 2006-10-17 14:05:00 |
![]() Posts: 137 Topics participated: 74 Topics started: 24 First post: 2006-10-12 20:44:00 Last post: 2009-01-01 16:14:00 |
thx! :) |
![]() |
| Retro | 2006-10-17 14:25:00 |
![]() Posts: 461 Topics participated: 232 Topics started: 10 First post: 2006-03-21 13:50:00 Last post: 2008-12-23 18:24:00 |
Try... write_log('User account '.$arr['id'].' ('.$arr['username'].') was deleted by system'); This way, you won't fill your error.log up with notices saying... PHP Notice: Use of undefined constant id - assumed 'id' in ....... PHP Notice: Use of undefined constant username - assumed 'username' in ....... |
![]() |
| Falken | 2006-10-17 14:57:00 |
![]() Posts: 137 Topics participated: 74 Topics started: 24 First post: 2006-10-12 20:44:00 Last post: 2009-01-01 16:14:00 |
ok Retro i will try ur, the other i remember i try befor and it just show in log User account () was deleted by system. hmm it still do just the samething:( "User account () was deleted by system." |
![]() |
| Retro | 2006-10-18 03:30:00 |
![]() Posts: 461 Topics participated: 232 Topics started: 10 First post: 2006-03-21 13:50:00 Last post: 2008-12-23 18:24:00 |
ok Retro i will try ur, the other i remember i try befor and it just show in log User account () was deleted by system. hmm it still do just the samething:( "User account () was deleted by system." You need to place that line before the DELETE query in the loop... Since my cleanup is probably different from yours, post the account delete code, or use something similar to... |
![]() |
Similar threads
| Topic | Posts | Last post |
|---|---|---|
| cleanup | 6 | 2008-09-26 17:59:00 |
| Cleanup | 2 | 2006-08-12 11:26:00 |
| need some help with cleanup | 1 | 2007-09-14 01:20:00 |
| Cleanup | 15 | 2008-09-19 19:24:00 |
| Need help with cleanup.php | 1 | 2007-07-06 04:38:00 |
Statistics
| Today's active topics · | |
|---|---|
| User(s) active in the past 30 minutes | |
| 59 Guests, 9 Members newbody, mm23, x4h, fireknight, myr, isabella, b00b00, donvito, mexus Zamiatarki , szary boss woda , givenchy blue label , konto firmowe , wyĆwietlacze led Oferty kart kredytowych bingo online online bingo Najlepsze fundusze emerytalne pozycjonowanie w google google | |
| Often viewed topics | |
| · Nice signup usi... · ballon tooltip · Add/Remove Style · Save PMs to temp! · Pre-time withou... · RSS feed passke... · navigation in f... · Similar torrent... · Auto Cleanup! · Torrent Inline ... · Stats on index · action script · Null Announce. · new Message · Preliminary XSS... · Rating using ajax · User/ID · Browse.php · torrent uppload... · New BBCode | |
| Forthcoming Calendar Events within the next 5 days | |
| There are no forthcoming calendar events | |



