[geeklog-cvs] geeklog-1.3/plugins/spamx/magpierss/extlib Snoopy.class.inc,1.1,1.2

blaine at iowaoutdoors.org blaine at iowaoutdoors.org
Sun Oct 3 14:41:20 EDT 2004


Update of /var/cvs/geeklog-1.3/plugins/spamx/magpierss/extlib
In directory www:/tmp/cvs-serv14921/plugins/spamx/magpierss/extlib

Modified Files:
	Snoopy.class.inc 
Log Message:
Updated code from Tom as part of the GL 1.3.10 final preparation.
Formatted code to remove tabs to use spaces

Index: Snoopy.class.inc
===================================================================
RCS file: /var/cvs/geeklog-1.3/plugins/spamx/magpierss/extlib/Snoopy.class.inc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Snoopy.class.inc	13 Sep 2004 19:07:13 -0000	1.1
--- Snoopy.class.inc	3 Oct 2004 18:41:18 -0000	1.2
***************
*** 1,115 ****
  <?php
  
! /*************************************************
! 
! Snoopy - the PHP net client
! Author: Monte Ohrt <monte at ispi.net>
! Copyright (c): 1999-2000 ispi, all rights reserved
! Version: 1.01
! 
   * This library is free software; you can redistribute it and/or
[...2190 lines suppressed...]
! 
!                         $fp = fopen($file_name, "r");
!                         $file_content = fread($fp, filesize($file_name));
!                         fclose($fp);
!                         $base_name = basename($file_name);
! 
!                         $postdata .= "--" . $this->_mime_boundary . "\r\n";
!                         $postdata .= "Content-Disposition: form-data; name=\"$field_name\"; filename=\"$base_name\"\r\n\r\n";
!                         $postdata .= "$file_content\r\n";
!                     } 
!                 } 
!                 $postdata .= "--" . $this->_mime_boundary . "--\r\n";
!                 break;
!         } 
! 
!         return $postdata;
!     } 
! } 
  
  ?>




More information about the geeklog-cvs mailing list