🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: newbie: moje rozwiązanie dla wymiany linków - proszę o opinie

#231305
From: jivanmukta
Date: Fri, 01 Apr 2016 12:54
19 lines
2752 bytes
A takie coś ma sens?

<p id="to_read2" class="read_it_small">
Możemy przekazać Twoje ogłoszenie za darmo, jeśli posiadasz stronę WWW i umieścisz na niej link do naszej witryny. Oto ten link:
</p>
<pre>&lt;a href="<?php echo WEBSITE_POLISH; ?>"&gt;tutaj dowolna fraza&lt;/a&gt;</pre>
<p id="to_read3" class="read_it_small">
Fraza może zawierać słowo kluczowe: <?php echo implode(', ', $keywords); ?>.
</p>

public function checkOurLink($clientWWW) {
    $clientWWW = trim($clientWWW);
    if (strpos($clientWWW, 'http:') !== 0 && strpos($clientWWW, 'https:') !== 0) {
        $clientWWW = 'http://' . trim($clientWWW, '/');
    }
    $page = file_get_contents($clientWWW);
    return strpos($page, "<a href='" . WEBSITE_POLISH . "'>") !== FALSE ||
           strpos($page, '<a href="' . WEBSITE_POLISH . '">') !== FALSE;
}
Technical Details
Message-ID: <f3908f8f-037e-4e07-8179-4de7434c623b@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!y89no10437682qge.0!news-out.google.com!ha2ni346igb.0!nntp.google.com!nt3no6642124igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <621f5e9e-c468-4949-8f3f-1a80991445b9@googlegroups.com> <20160317112051.79ec046e@pe> <5316b483-7547-402c-b3fe-714c4b2167e8@googlegroups.com> <20160317131635.75335b04@pe> <96c6c55c-ff9f-4c3f-b002-441048cdb18b@googlegroups.com> <ncu79k$1vn5$1@gioia.aioe.org> <0a489398-4ae6-4657-b51f-122d1bf84ccd@googlegroups.com> <ncuej5$dq6$1@gioia.aioe.org> <b774fdbd-6cea-43d4-94a2-f5628747b359@googlegroups.com> <nd04tg$h79$1@dont-email.me>

Show Full Headers
Complete Article Headers
X-Received: by 10.140.18.209 with SMTP id 75mr2812960qgf.29.1459515292793;        Fri, 01 Apr 2016 05:54:52 -0700 (PDT)
X-Received: by 10.50.73.234 with SMTP id o10mr45278igv.10.1459515292743; Fri, 01 Apr 2016 05:54:52 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin2!goblin.stu.neva.ru!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!y89no10437682qge.0!news-out.google.com!ha2ni346igb.0!nntp.google.com!nt3no6642124igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.lang.php
Date: Fri, 1 Apr 2016 05:54:52 -0700 (PDT)
In-Reply-To: <nd04tg$h79$1@dont-email.me>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.72.94.100; posting-account=Y8V58QoAAACtLuF8lEt8MaiUjYUTCWP6
NNTP-Posting-Host: 89.72.94.100
References: <621f5e9e-c468-4949-8f3f-1a80991445b9@googlegroups.com> <20160317112051.79ec046e@pe> <5316b483-7547-402c-b3fe-714c4b2167e8@googlegroups.com> <20160317131635.75335b04@pe> <96c6c55c-ff9f-4c3f-b002-441048cdb18b@googlegroups.com> <ncu79k$1vn5$1@gioia.aioe.org> <0a489398-4ae6-4657-b51f-122d1bf84ccd@googlegroups.com> <ncuej5$dq6$1@gioia.aioe.org> <b774fdbd-6cea-43d4-94a2-f5628747b359@googlegroups.com> <nd04tg$h79$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f3908f8f-037e-4e07-8179-4de7434c623b@googlegroups.com>
Subject: Re: newbie: moje rozwiązanie dla wymiany
 linków - proszę o opinie
From: jivanmukta@poczta.onet.pl
Injection-Date: Fri, 01 Apr 2016 12:54:52 +0000
X-Received-Bytes: 2495
X-Received-Body-CRC: 3856407697
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit