'마지막 주제'에 대한 아카이브’ 범주

The Magic of WordPress

December 9th, 2010

One of the premier web hosting sites is WordPress. 워드 프레스 is a company that is dedicated to helping their customers set up professional websites quickly and easily. There are numerous advantages to using WordPress as your web hosting platform. It offers a huge variety of template design options that enable a layperson to construct a professional website in just a few hours. Another benefit is that WordPress is search engine optimized, which means that your website will be prominently displayed in the search engine results. 또한, WordPress allows you to quickly update your visitors through an RSS feed option.

Since WordPress is relatively easy to use and is very popular, there are thousands of plug-ins that allow you to customize your website design. WordPress is truly magical in allowing people who don’t know programming to design a great website. For example, if there is a specific function that you want your website to carry out, you can download the appropriate plug-in and activate it on your website by going to your WordPress account administration tab. With so many options available to WordPress users, the ability to creatively design a unique website is unparalleled.

For the best web hosting, WordPress is the gold standard. Because of the SEO that is already incorporated into the WordPress platform, the customer’s search engine ranking will be higher than it would be with many other website hosting sites. In order to keep your search engine results at a high ranking level, it is important to frequently update your website with original content. 또한, when you post a sale or special event on your website, it will be found by the search engines more rapidly and your ranking will increase, so that you are closer to the top of the search engine results. This in turn will generate more traffic to your site and broaden your prospective customer base.

Another great aspect of WordPress is that it has a built-in RSS feed. An RSS feed is an efficient way for your visitors to be regularly updated about your activities. When new content has been added to your site or you have posted a new blog entry, the visitors who subscribe to your RSS feed are immediately notified via e-mail by WordPress. This function will save you a lot of time because the program does the work of updating your visitors for you.

Among the numerous web hosting sites, there are many advantages to using WordPress to design and host your website. The program is very user-friendly and quite customizable to fit your market niche. 또한, WordPress is already search engine optimized, so you will benefit from being highly-ranked in the search engine results. If you want to take a look at some websites that are designed with WordPress, here are a few excellent examples: The Department of Environmental Science at the University of Virginia, Ford Motor Company and Outreach Magazine.

If you are engaged in an online marketing campaign, consider utilizing the magic of WordPress. The platform will enable you to construct a great website with ease. With a professional website that you can update easily, you will be able to stay ahead of the competition and increase your market share

This post is contributed by Kirsten Ramsburg, a senior writer for a web hosting reviews company.

PHP Error Nesting Level Too Deep Recursive Dependency

March 12th, 2010

I’ve installed PHP 5.2 at one of my testing computers today and a couple of bits of code that previously worked fine in version 5.1.6 threw fatal errors in the new version. The error message was “Nesting level too deep – recursive dependency?” and it took a little time

to track down the root of the problem. Here’s what I’d done wrong.

In PHP there are two comparison operators, == and ===. It’s generally known that the first is not strict about type but the second is. 그래서, for example

echo ( false == 0 ); // true

echo ( false === 0 ); // false

– 0 is an integer and false is a boolean

My problem arose from using non-strict typing with objects.

$a = new MyObj();
$b = new MyObj();
if( $a == $b )

I hadn’t considered what I was doing with this code. When comparing two objects using the non-strict comparison operator (==) PHP compares all the properties of the objects and if they match the objects are deemed to be equal. If they don’t match they are not equal. In effect, we have a recursive comparison of all the properties of each object, and all their properties, 등. until we reach basic data types like strings and integers.

If, 그러나, we use strict comparison (===), PHP will check whether the two objects are exactly the same object, not just objects with the same properties.

class MyObj
{
public $p;
}

$a = new MyObj();
$b = new MyObj();
$c = new MyObj();
$a->p = 1;
$b->p = 1;
$c->p = 2;
echo ( $a == $c ); // false
echo ( $a == $b ); // true
echo ( $a === $b ); // false

The problem arises if you have circular references in your objects properties. 그래서, for example

class MyObj
{
public $p;
}
class OtherObj
{
public $q;
}

$a = new MyObj();
$b = new OtherObj();
$a->p = $b;
$b->q = $a; // the circular reference: $a->p->q === $a

$c = new MyObj();
$d = new OtherObj();
$c->p = $d;
$d->q = $c;// another circular reference: $c->p->q === $c

echo ( $a == $c ); // Fatal error:
Nesting level too deeprecursive dependency?

In order to compare $a to $c, PHP must compare their properties. So the logic in PHP goes something like this: $a == $c if $a->p == $c->p if $a->p->q == $c->p->q if $a->p->q->p == $c->p->q->p etc. indefinitely.

PHP 5.1 seemed to smooth over the problem somehow (probably after a certain level of recursion it simply returned false) – and usually it worked out fine. PHP 5.2 correctly produces the fatal error above.

Once you know the problem, the solution is easyuse strict comparison.

echo ( $a === $c ); // false (and no error)

The strict comparison will simply check whether the two objects are at the same location in memory and so doesn’t even look at the values of the properties.

N.B. The same problem can arise when using the negated comparison operators (use !== instead of !=) and when using in_array (use in_array’s third parameter to indicate strict comparison).

POP3 및 PHP를 사용하여 이메일을 수신하고 구문 분석하는 방법

March 1st, 2010

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. For example, 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);
if ($error<>'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);
echo "$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

EML 변환기 무료 MBOX를

2 월 14 일, 2010

그것은 좋은 오늘는 아직 무료로 우수한 소프트웨어를 작성 하는 프로그래머. 내가 무슨 말을 하는지? 어떻게 해야 유틸리티의 내 컬렉션에 대 한 또 다른 프로그램을 발견 하는 당신에 게 원하는.

애플 맥 컴퓨터는 우리 사무실에서 사용 하는 광범위 한. 이것은 회사의 정책 이다. 회사의 정책에도 불구 하 고, 저희 사장님 Windows를 선호 하 고 그것의 추천된 노트북을 사용 하 여. 누가 규칙을 어기고 해야? 물론 보스, 나머지는 허용되지 않습니다 🙂 나는 그 환경 설정을 공유 말을해야합니다, 그래서 나는 윈도우를 설치 7 내 홈 노트북.

우리의 변호사 수시로 몇 가지 조사를 통과 해야 합니다 그리고 그들은 우리 직원의 통신을 검토 해야 합니다 하지만 그들은에 파일을 허용 합니다 아웃룩 태평양 표준시 형식.

이전 기사 내가 엄청나게 필요한 프로그램에 대해 쓴 Outlook 가져오기 마법사, 나에 게 많은 저장 시간 Outlook으로 eml 파일을 가져오기. 난 그냥 완료 했다 작업 충격으로 나를 넣어. 그것은 우리의 직원의 전자 메일에서 Outlook으로 변환 하는 데 필요한 .태평양 표준시 파일. 호환 되지 않는 것 들을 조정할 수 있습니다 어떻게 해야 우리가? 윈도우와 맥 OS를 결합 하는 방법?

시작에 대 한 감사를 실시 하 고 있는 다양 한 전자 메일 클라이언트를 사용 하 여 직원을 발견 했다. 그들 중 일부는: 유료도, 맥 메일, 측근, 메일코파, 썬더버드, 유도라, 버클리 메일. 변환 작업이 가능 하 겠 보이지 않았다. 하기로 하는 경우 검색 엔진은 즉시 가져오지 나 솔루션, 다음 임무 불가능 내 상사에 게 말할 것 이다. 그래서 난 구문에 대 한 검색 했 어 “측근, 썬더버드, 맥 메일, eml은 태평양 표준시 무료 mbox” 그리고 검색 성공, 그것은 내가 결코 예상을 입증. 더욱이, 단어 무료 하지 않는 집계 나와 함께 작업을 해야 했다. 때 또 하나의 설명 페이지에 나의 놀람을 상상해 보세요 eml은 태평양 표준시 변환기, 내가 발견은 eml 변환기 무료 mbox를.

사실이 프로그램은 무료에 불구 하 고 보여주는 소프트웨어 검토, 그것은 놀라운 잠재력을가지고. 그럼에도 불구 하 고 다른 프로그램의 사서함 파일 형식 변화, 이 프로그램은 정확 하 게 수 모든 메타 서명을 확인 하 고 올바르게 인식 하는 파일 형식. 농담이 아니에요, 모든 사서함 파일 유료도, 맥 메일, 측근, 메일코파, 썬더버드, 유도라 그리고 버클리 메일 전자 메일 파일의 배열에 변형 되었다 EML 형식. 데는 Outlook 가져오기 마법사 내 손에서 날 모두 가져올 수 있도록 Outlook으로 eml 파일 태평양 표준시.

EML 변환기 무료 MBOX를 일괄 처리 프로세서로 작품. 먼저 모든 필요한을 선택 해야 mbox 파일 eml 인 메시지를 검색 하려는. 그것은 쉽게 모든 파일을 선택 하는 교대 키. 그 후, 클릭할 필요는 처리 버튼, 하드 드라이브에 빈 디렉터리를 가리키고 결과 기다립니다. 모든 파일을 순차적으로 처리 하는 프로그램, 각 파일에 대 한 디렉터리를 생성 하 고 그것을 채우기 압축 푼된 eml 파일. 내 경우에서 직원의 사용자 이름에 따라 명명 된 사서함 파일을 많이 했다. 결국 나의 많아요 폴더, 각 사용자 이름을 졌고 모든 해당 포함 eml 파일 검색 된 사서함.

처음부터 끝까지 우주 왕복선 비디오

January 25th, 2010

NASA! I found this video absolutely amazing. Twelve minutes of action of Space Shuttle parts. Start from the Earth and down to the sea. Space cameras on each part of shuttle, looks very interesting. Very beautiful Space Shuttle 비디오.

STS-129 video highlights as compiled by the SE&I imagery team here at JSC from all of the ground, air, ET and SRB assets.