🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: get

#231422
From: Lemat
Date: Sun, 21 Aug 2016 13:26
18 lines
1361 bytes
W dniu 21.08.2016 o 14:19, platformowe głupki pisze:
>
>> jak porównywać zmienne z GET z tymi które są w URLu?
>
> sa w bazie miało byc
>
>

$ok=true;
foraech ($_GET as $key=>$val) {
	$pattern=wyciągnij_z_bazy_pattern($key);
	if (!sprawdz_czy_pasuje($val,$pattern))
		$ok=false;
	}

-- 
Pozdrawiam
Lemat
Technical Details
Message-ID: <57b9abf2$0$15200$65785112@news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!peer02.fr7!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
References: <npada0$99a$1@node2.news.atman.pl> <npc68e$mmh$1@node1.news.atman.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.atman.pl!goblin1!goblin.stu.neva.ru!peer02.fr7!news.highwinds-media.com!newsfeed.neostrada.pl!unt-exc-01.news.neostrada.pl!unt-spo-a-01.news.neostrada.pl!news.neostrada.pl.POSTED!not-for-mail
Subject: Re: get
Newsgroups: pl.comp.lang.php
References: <npada0$99a$1@node2.news.atman.pl> <npc68e$mmh$1@node1.news.atman.pl>
From: Lemat <#@lemat.priv.pl>
Date: Sun, 21 Aug 2016 15:26:38 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <npc68e$mmh$1@node1.news.atman.pl>
Lines: 18
Message-ID: <57b9abf2$0$15200$65785112@news.neostrada.pl>
Organization: Telekomunikacja Polska
NNTP-Posting-Host: 79.189.200.118
X-Trace: 1471785970 unt-rea-a-02.news.neostrada.pl 15200 79.189.200.118:35440
X-Complaints-To: abuse@news.neostrada.pl
X-Received-Bytes: 1175
X-Received-Body-CRC: 1582937137
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit