/openshift/adei

To get this branch, use:
bzr branch http://darksoft.org/webbzr/openshift/adei

« back to all changes in this revision

Viewing changes to includes/PHPMailer-Lite_v5.1/docs/faq.html

  • Committer: Suren A. Chilingaryan
  • Date: 2011-01-26 02:48:39 UTC
  • mto: This revision was merged to the branch mainline in revision 212.
  • Revision ID: csa@dside.dyndns.org-20110126024839-nv6qp2ie9stmd2dn
Support of Appled devices by Toni Pirhonen

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
<head>
 
3
<title>PHPMailer FAQ</title>
 
4
<style>
 
5
body, p {
 
6
  font-family: Arial, Helvetica, sans-serif;
 
7
  font-size: 12px;
 
8
}
 
9
div.width {
 
10
  width: 500px;
 
11
  text-align: left;
 
12
}
 
13
</style>
 
14
</head>
 
15
<body bgcolor="#FFFFFF">
 
16
<center>
 
17
<div class="width">
 
18
<h2>PHPMailer-Lite FAQ</h2>
 
19
<ul>
 
20
 
 
21
  <li><b style="background-color: #FFFF00">Q:</b> <b>I am concerned that using include files will take up too much
 
22
  processing time on my computer.  How can I make it run faster?</b><br />
 
23
  <b style="background-color: #FFFF00">A:</b>  PHP by itself is very fast.  Much faster than ASP or JSP running on
 
24
  the same type of server.  This is because it has very little overhead compared
 
25
  to its competitors and it pre-compiles all of
 
26
  its code before it runs each script (in PHP4).  However, all of
 
27
  this compiling and re-compiling can take up a lot of valuable
 
28
  computer resources.  However, there are programs out there that compile
 
29
  PHP code and store it in memory (or on mmaped files) to reduce the
 
30
  processing immensely.  Two of these: <a href="http://apc.communityconnect.com">APC
 
31
  (Alternative PHP Cache)</a> and <a href="http://bwcache.bware.it/index.htm">Afterburner</a>
 
32
  (<a href="http://www.mm4.de/php4win/mod_php4_win32/">Win32 download</a>)
 
33
  are excellent free tools that do just this.  If you have the money
 
34
  you might also try <a href="http://www.zend.com">Zend Cache</a>, it is
 
35
  even faster than the open source varieties.  All of these tools make your
 
36
  scripts run faster while also reducing the load on your server. I have tried
 
37
  them myself and they are quite stable too.<br /><br /></li>
 
38
 
 
39
  <li><b style="background-color: #FFFF00">Q:</b> <b>What mailer gives me the best performance?</b><br />
 
40
  <b style="background-color: #FFFF00">A:</b> On a single machine the <b>Sendmail (or Qmail)</b> is fastest overall.
 
41
  Next fastest is mail() to give you the best performance. Both do not have the overhead of SMTP.
 
42
  If you have you have your mail server on a another machine then
 
43
  SMTP is your only option, but you do get the benefit of redundant mail servers.<br />
 
44
  If you are running a mailing list with thousands of names, the fastest mailers in order are: SMTP, sendmail (or Qmail), mail().<br>
 
45
        * note: if you need to use SMTP, get a copy of PHPMailer ... this is 
 
46
        PHPMailer-Lite and does not support SMTP.<br /><br /></li>
 
47
 
 
48
  <li><b style="background-color: #FFFF00">Q:</b> <b>When I try to attach a file with on my server I get a
 
49
  "Could not find {file} on filesystem error".  Why is this?</b><br />
 
50
  <b style="background-color: #FFFF00">A:</b> If you are using a Unix machine this is probably because the user
 
51
  running your web server does not have read access to the directory in question.  If you are using Windows,
 
52
  then the problem probably is that you have used single backslashes to denote directories (\).
 
53
  A single backslash has a special meaning to PHP so these are not
 
54
  valid.  Instead use double backslashes ("\\") or a single forward
 
55
  slash ("/").<br /><br /></li>
 
56
 
 
57
</ul>
 
58
 
 
59
</div>
 
60
</center>
 
61
 
 
62
</body>
 
63
</html>