易截截图软件、单文件、免安装、纯绿色、仅160KB

PHP邮件收发,和编码问题。数据匹配

<?php
header("content-type:text/html; charset=UTF-8");
/*
 * record kid words and insert into database
 * user by sending email to publication kid words
 *
 */
include 'POP3.php';
include 'email_class.php';
include 'Mail_mimeDecode.php';
//include 'include/compatible.php';
include 'include/extend_common.php';
//include '../../htdocs/include/extend_common.php';
define('POST_from_EMAIL',   1);
define('DATABASE_CONNECTION_ERROR', 2);//数据库连接失败错误
define('EMAIL_CONNECTION_ERROR', 3);//邮箱连接失败错误
define('ACCOUNT_ERROR',    4);//邮箱的账号错误
define('SIGN_EMAIL_ERROR',   5);//邮件标记删除错误
define('DELELET_ERROR',    6);//删除邮件错误
define('INSERT_ERROR',    7);//插入数据失败错误
class mail_data {
 function mail_data(){
  include 'config.php';  
  $mail_log=fopen("mail_log.txt","a+");
  $conn=@mysql_connect($db_host,$db_user,$db_password);
  if($conn){
   mysql_select_db('t',$conn);
   mysql_query("set names utf8");
   $pop3=new Net_POP3();
   //判断连接是否成功
   if ($pop3->connect($host,110)){
    //判断登入是否成功
    if($pop3->login($user,$password)===true){
     $list=$pop3->_cmdList();
     $sum=$pop3->_cmdStat();
     //每次取多少邮件
     $step=2;
     $r=0;
     //先对邮箱取$step邮件
     for($n=0;$n<$sum[0];$n+=$step){
      $t=0;
      $users=array();
      $mail=array();
      $offset=($sum[0]-$n)<$step?


相关文档:

PHP开发工程师岗位职责与任职要求

岗位职责
互联网相关产品开发,项目开发,系统维护等
 
任职要求
1. 精通PHP开发语言,熟悉面向对象的软件设计方法;
2. 熟悉Unix/Linux操作系统,熟悉C/C++编程,熟悉Shell脚本编程及常用Unix管理命
   令,熟悉bash/python/perl;
3. 熟悉HTTP协议及W3C相关互联网规范,熟练掌握XHTML、CSS、 ......

php生成excel

excel这类文件其实就是特殊格式的文本文件(应该所有格式都是特殊格式的文本文件和二进制文件),
excel不同的行体现在文本中的换行,里面的需要转义的字符包括,\和\r\n这两个,遇到这些字符的时候这个单元格需要用""格开 ......

PHP获取本机网卡的MAC地址

<?php
/**
        获取机器网卡的物理(MAC)地址
        wwa  $Exp
**/
class GetMacAddr
{
        var $return_array = array(); // 返回带有MAC地址的字串数组
        ......

PHP生成数据流GIF和PNG透明图形


<?php
header("content-type:image/png");
$img=ImageCreate(100,35);
$bgcolor=ImageColorAllocate($img,0,0,0);
$red=ImageColorAllocate($img,255,0,0);
$bgcolortrans=ImageColorTransparent($img,$bgcolor);
ImageString($img,5,10,10,"PNG PHP",$red);
ImagePng($img);
ImageDestro ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号