🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.php
Article #1040

Re: PHProblem

#1040
From: Fires
Date: Sat, 25 Aug 2001 15:08
28 lines
1605 bytes
Użytkownik "Weloo" <weloo@poland.com> napisał w wiadomości
news:9m8dfh$j6o$1@news.tpi.pl...
[...]
> <?
>    $ip = getenv("   $ip = getenv("REMOTE_ADDR");");
>    print($ip);
> ?>

Troche nie ma to sensu. Nie wystarczy:
<?
   $ip = getenv(""REMOTE_ADDR");
   print($ip);
?>

> co mam do tego dopisać aby zapisywało wszystkie IP do pliku ip.txt ?

Jak zapisywać do pliku:
http://www.abczone.com.pl/pphp/artphp.php?id=p02&idart=004&item=3

przeczytaj, przanalizuj i zrobisz sam.


--

      ----=== Sławomir Fajer (Fires) ==----
--==== firesoft@abczone.com.USUN.pl ====--
"ABCZone" - strefa poczÄ…tkujÄ…cego webdesignera
           http://www.abczone.com.pl/
Technical Details
Message-ID: <9m8evi$p5f$1@news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!pcmedia.com.pl!news.man.szczecin.pl!news.task.gda.pl!news.icm.edu.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
References: <9m8dfh$j6o$1@news.tpi.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!pcmedia.com.pl!news.man.szczecin.pl!news.task.gda.pl!news.icm.edu.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail
From: "Fires" <firesoft@abczone.com.USUN.pl>
Newsgroups: pl.comp.lang.php
Subject: Re: PHProblem
Date: Sat, 25 Aug 2001 17:08:50 +0200
Organization: tp.internet - http://www.tpi.pl
Lines: 29
Message-ID: <9m8evi$p5f$1@news.tpi.pl>
References: <9m8dfh$j6o$1@news.tpi.pl>
NNTP-Posting-Host: pppkomp.softel.elblag.pl
Mime-Version: 1.0
X-Trace: news.tpi.pl 998752050 25775 195.116.116.93 (25 Aug 2001 15:07:30 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: 25 Aug 2001 15:07:30 GMT
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MSMail-Priority: Normal
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit