Read How The Best Registry Software Works On Your Computer

December 4th, 2010 由 Zap 没有评论 »

If you have been doing a search for review or complaints for Registry Easy and you have arrived here, this blog will hopefully seal the deal for your and solidify your search with a nice big, The End. Registry Easy. Simply put, Registry Easy repairs registry problems! Improve your PC performance! You will understand why there is no comparison as you read on about this widely trusted product. » 阅读更多: Read How The Best Registry Software Works On Your Computer

Boom In The Internet Video Ads.

12月3rd, 2010 由 Zap 没有评论 »

News sites are becoming much less resemble journals and rather moretelevision. CNN.com and espn.com allocate for the video the best place on the pages, often pushing users to watch the ad before reading. Even the Wall Street Journal has accentuated in its player and two newscasts live daily. » 阅读更多: Boom In The Internet Video Ads.

iPhone 上的 Java 培训

12月3rd, 2010 由 Zap 没有评论 »

该手机有一个内置的加速度计,可以根据手机的移动改变显示. 它还具有较大的内存空间,可以存储大量文件. 成为 3G 手机, 它提供闪电般快速的网络连接, 即使您正在参加通话,也可以观看视频. 学习 java 培训. 使用 iPhone 的最大优点是它支持第 3 方软件,可以从网上下载 iPhone 网络应用程序 – 通过 Java 编程. 有许多这样的应用程序,您可以轻松浏览它们. » 阅读更多: iPhone 上的 Java 培训

获取有关的 GPS 跟踪系统的作用的信息

December 2nd, 2010 由 Zap 没有评论 »

Our culture has enough exposure through experience, news shows like 60 Minutes, and crime show dramas that GPS tracking can be incredibly useful for law enforcement purposes. But we are also beginning to realize that the ability to have tracking devices on our person at all times is also a desirable condition. We think of how useful it would be to attach a GPS watch to an Alzheimer’s patient so that if they wander off they can be easily located by their family. Or we might see how beneficial it might be to be able to monitor our teen’s driving while they are out on the road using the family car. We may even see how easily a tracking unit could help us make a decision about whether or not a spouse is cheating on us, the location information provided by a data logging GPS confirming our suspicions about their fidelity. » 阅读更多: 获取有关的 GPS 跟踪系统的作用的信息

PHP 错误嵌套太深递归依赖项

3 月 12 日, 2010 由管理员 没有评论 »

我已经安装了 PHP 5.2 在我测试的电脑今天和几位以前在版本中工作正常的代码之一 5.1.6 扔在新版本中的致命错误. 错误消息是"嵌套级别太深 — — 递归依赖项?"和它花了一点时间 » 阅读更多: PHP 错误嵌套太深递归依赖项

如何接收和解析电子邮件使用 POP3 和 PHP

March 1st, 2010 由管理员 3 意见 »

I would like to describe some methods on how to write the processor for incoming mail. I had to use such manipulation to parse e-mails received from various sources. This can be useful for writing your own spam filter system, answering machine or ticket system to receive applications by e-mail.

To implement the e-mail parser algorithm we need

  1. connect and log-on to e-mail server
  2. count the number of incoming letters
  3. recive e-mail from the server using POP3 protocol
  4. process the e-mail headers and body and make parsing
  5. implement any additional actions

Ok, there is very specific task for PHP coding, so we need hosting that supports external connection. I do not propose to write decision entirely because much has been realized by talented programmers already. 例如, you can take a ready module which will allow accept e-mails from a remote server.

Thank’s to Manuel Lemos and his module (php class) which named pop3.php.

To connect that class to your code, you just need to use include or require command: require(“pop3.php”);


hostname=$hostname;
$result=$pop3_connection->Open();
 
// We are trying to open connection and display the result
echo $result;
// Trying to logon and display the error if any appear
$error=$pop3_connection->Login($用户,$accesscode,$apop);
如果 ($错误<>'Password error: Logon failure: unknown user name or bad password.') {echo $error; exit;}
// Now get the statistic how many emails are stored and the size of them $result=$pop3_connection->Statistics($消息, $size);
回声 "$hostname contains  $消息 of $size bytes.";
 
//..... There we can receive e-mails in the cycle and parse them.... //
 
// If nothing to do - we can close the connection
$error=$pop3_connection->Close(); //
echo $error;
?>

Now we know how to connect and log-on to the POP3 server and how to request the number of Inbox e-mails and them sizes. Next, we should receive each e-mail and parse the headers and body array.

TO BE CONTINUED