• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Contributions (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

User IP in LOG ( Version : 1.0-beta5 )

Post a bug fix, a new feature, a theme ...

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Postby Herve81 » Sun Sep 17, 2006 1:25 pm

Bonjour,

Juste deux petites Lignes pour avoir les IP des utilisateurs dans les LOGS..

Fichier :
/src/proxys/log.class.php

Ligne 37 :
{

Ajouter :
$ip_adresse = $_SERVER['REMOTE_ADDR'];

Remplacer :
$log = $recipient."t";

Par :
$log = "$ip_adresse - $recipient"."t";

Salut...
Herve81
Herve81
New member
 
Posts: 1
Joined: Sun Sep 17, 2006 1:14 pm
Top

Post a reply
1 post • Page 1 of 1

Return to Contributions (v1.x)

Who is online

Users browsing this forum: No registered users and 16 guests

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
cron
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub