If you're using the PEAR mail class to send messages via a mail server that requires connections via SSL (such as Google's SMTP servers), you might run into this error:Failed to connect to ssl://smtp.gmail.com:465 [SMTP: Failed to connect socket: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP? (code: -1, response: )]This is typically an indication
February 21, 2010 | Filed Under
PHP,
Syndicated,
mailing,
pear,
ssl |
Leave a Comment
If you've been doing FileMaker custom web development using PHP, you've probably heard of PEAR. PEAR (short for "PHP Extension and Application Repository") is a collection of PHP code that performs many common functions. PEAR packages either provide enhanced versions of functionality that is built into PHP itself, or provide functionality that PHP lacks. For a list of packages that PEAR provides,
February 21, 2010 | Filed Under
PHP,
Syndicated,
pear |
Leave a Comment
I've been burned by this one a few times, so I thought I'd share it here...If you install PHP as part of the FileMaker Server for Windows installation process, PHP's SOAP extension (as well as several other extensions) will be installed. However, the extension is disabled by default.To enable it (and other extensions), do this:1. Find the php.ini file. The default location is: C:\Program Files\
February 18, 2010 | Filed Under
PHP,
Syndicated,
soap |
Leave a Comment
The PHP User Group meeting at DevCon 2009 was informal yet very informative. This was the first "technical" event that I attended this year, and I'm glad I did.Joel Shapiro (http://www.jsfmp.com/) started the meeting by demoing a FileMaker / PHP-based site that he has developed for NASA's Life Sciences Data Archive. He also demonstrated TCPDF (http://www.tcpdf.org/), an open source PHP class that
August 14, 2009 | Filed Under
DevCon,
PHP,
Syndicated |
Leave a Comment
Have you ever needed to display a FileMaker TimeStamp field value in a PHP solution? If so, you might have run into problems with making the value format nicely.For example, suppose that you have a timestamp field named "DateTime_Created" with a value of "7/30/2009 9:18:29 PM." If you simply echo the value using PHP code such as...echo $response->getField("DateTime_Created");... then the output
Next Page →