Article View: pl.comp.lang.php
Article #766Re: Socket
From: Metempsychoza
Date: Thu, 23 Aug 2001 14:50
Date: Thu, 23 Aug 2001 14:50
13 lines
1365 bytes
1365 bytes
> > > Czy można to jakoś ukryć?
> > to jest odpowiedz serwera HTTP, a wywalic ja mozna np tak:
> > $strona=preg_replace("/(.*)<HTML>/,"<HTML>",$strona);
>
> cuś nie działa ;(
i nie zadziala, skoro wyrazenie regularne jest zle napisane
jesli juz to
$strona=preg_replace("/^(.+?)\r\n\r\n(?:.+?)$/s", "", $strona);
ale nie polecam, bo to jak wytaczanie armaty na wrobla
--
metempsychoza(at)wp.pl
Technical Details
Message-ID:
<9m35l5$ld7$2@news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news.man.lodz.pl!news.nask.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mailReferences:
<9m2skb$rje$1@news.tpi.pl> <9m307c$lbk$1@news.onet.pl> <9m30h5$nhi$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!news.man.torun.pl!news.man.poznan.pl!news.man.lodz.pl!news.nask.pl!newsfeed.tpinternet.pl!news.tpi.pl!not-for-mail From: "Metempsychoza" <metempsychoza@wp.pl> Newsgroups: pl.comp.lang.php Subject: Re: Socket Date: Thu, 23 Aug 2001 16:50:09 +0200 Organization: tp.internet - http://www.tpi.pl Lines: 17 Message-ID: <9m35l5$ld7$2@news.tpi.pl> References: <9m2skb$rje$1@news.tpi.pl> <9m307c$lbk$1@news.onet.pl> <9m30h5$nhi$1@news.tpi.pl> NNTP-Posting-Host: 217.97.128.82 X-Trace: news.tpi.pl 998578661 21927 217.97.128.82 (23 Aug 2001 14:57:41 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: 23 Aug 2001 14:57:41 GMT X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MSMail-Priority: Normal X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit