Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45895 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40076 invoked from network); 29 Oct 2009 09:34:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Oct 2009 09:34:55 -0000 Authentication-Results: pb1.pair.com header.from=samuel.roze@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=samuel.roze@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.154 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: samuel.roze@gmail.com X-Host-Fingerprint: 72.14.220.154 fg-out-1718.google.com Received: from [72.14.220.154] ([72.14.220.154:12524] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/7A-12066-EB169EA4 for ; Thu, 29 Oct 2009 04:34:55 -0500 Received: by fg-out-1718.google.com with SMTP id d23so791999fga.11 for ; Thu, 29 Oct 2009 02:34:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=N5qQ5JBUxjIPX/2TRmnxkEw3zVxeSla1IoWghMRizr8=; b=ZjAgpzGBGMmKyw9sDKBQ+8tUb+2qnFtUFFdzaWoZQZHiclY9za7TCEMpB0OQMe8/Y8 xIX0BPksqrn/ohHlY052A2Rf5u/RLbkN0GqoTgUArt9yx0l8RccGwdyFrCNW8BIgK9xH 9B8s9SlvGdp4CikRVb9Dw5nMRkUlaLXZ11ynY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=GDd99nb0cOZadvGWdgAjRTppaAM6uEvlxksh4uouQG9F7dJckVTjS2WrlOWCsWDiGY 84y6ptP/gtQoA8AMur70RcDemqz4j24XGIv7RvnnGphjQX/n5n54HSkc34Mq9Yk4JBW/ AvaeIQZ0BsW8zfL1nvh86bHrA3/65nmc0Sr6Y= Received: by 10.86.232.33 with SMTP id e33mr3985963fgh.71.1256808891456; Thu, 29 Oct 2009 02:34:51 -0700 (PDT) Received: from ?192.168.1.3? (91-171-144-165.rev.libertysurf.net [91.171.144.165]) by mx.google.com with ESMTPS id e11sm3885711fga.22.2009.10.29.02.34.50 (version=SSLv3 cipher=RC4-MD5); Thu, 29 Oct 2009 02:34:51 -0700 (PDT) To: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Date: Thu, 29 Oct 2009 10:34:52 +0100 Message-ID: <1256808892.22624.32.camel@samuel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Subject: PHP modules (pecl) and PHP codes (pear) From: samuel.roze@gmail.com (Samuel ROZE) Hi, I'll have to develop a function like "parse_url", but "parse_referrer" which provides informations about the URL (the referrer): provider, keywords, type of search (search, cache, translation, ...), real page url... I don't really know how I'll do that: using a .ini file like "get_browser" ? I think it will be too complicated and difficult to build.. but maybe it is a good idea ? Or create it in C as an extension... I want to know if compiled extensions in C are really faster than an PHP function ? Thanks ! Samuel.