?? faq.html
字號:
<html><head><title>phpmailer FAQ</title></head><body bgcolor="#FFFFFF"><h2>phpmailer FAQ</h2><p><b>I'm using the SMTP mailer and I keep on getting a timeout message well before the X seconds I set it for. What gives?</b><br>PHP versions 4.0.4pl1 and earlier have a bug in which sockets timeout early. You can fix this by re-compiling PHP 4.0.4pl1 with this fix: <a href="timeoutfix.diff">timeoutfix.diff</a>. Otherwise you can wait for the new PHP release.</p><p><b>I am concerned that using include files will take up too muchprocessing time on my computer. How can I make it run faster?</b><br>PHP by itself is very fast. Much faster than ASP or JSP running onthe same type of server. This is because it has very little overhead comparedto its competitors and it pre-compiles all ofits code before it runs each script (in PHP4). However, all ofthis compiling and re-compiling can take up a lot of valuablecomputer resources. However, there are programs out there that compilePHP code and store it in memory (or on mmaped files) to reduce theprocessing immensely. Two of these: <a href="http://apc.communityconnect.com">APC(Alternative PHP Cache)</a> and <a href="http://bwcache.bware.it/index.htm">Afterburner</a> (<a href="http://www.mm4.de/php4win/mod_php4_win32/">Win32 download</a>) are excellent free tools that do just this. If you have the moneyyou might also try <a href="http://www.zend.com">Zend Cache</a>, it iseven faster than the open source varieties. All of these tools make yourscripts run faster while also reducing the load on your server. I have triedthem myself and they are quite stable too.</p><p><b>What mailer gives me the best performance?</b><br>On a single machine the mail() or sendmail mailers give you the best performance because they do not have the added overhead of SMTP.If you have you have your mail server on a another machine thenSMTP is your only option, but you do get the benefit of redundantmail servers.</p><p><b>When I try to attach a file with on my server I get a "Could not find {file} on filesystem error". Why is this?</b><br>If you are using a Unix machine this is probably because the user running your web server does not have read access to the directory in question. If you are using Windows, then the problem probably is that you have used single backslashes to denote directories ("\"). A single backslash has a special meaning to PHP so these are not valid. Instead use double backslashes ("\\") or a single forward slash ("/").</p></body></html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -