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
Want to update a FileMaker Timestamp field with the the current date/time via a PHP solution?Use the PHP date function and format it using something like this: date("m/d/Y h:i:s A")For example, suppose that you want to update a "Last_Login" field when a user logs in. Your code might look something like this:$user_update_request = $fm->newEditCommand('PHP_Users', $user->getRecordID());$
Early this morning, for the first time I had one of our servers that we use to serve up FileMaker/PHP-based solutions throw a PHP error that read "PHP has encountered an Access Violation at 01E02B1B." From what I've been able to tell, this has something to do with running PHP on a Windows 2003-based server in ISAPI mode. I've cycled IIS and this seems to have solved the problem... and now I'm
July 8, 2009 | Filed Under
PHP,
Syndicated |
Leave a Comment
It always feels good when a project that I've been working on "goes live." Not just because the project has reached that final step and there is a sense of accomplishment (although there is certainly that). No, there is something more than that. There's a certain pleasure that I get when people actually begin to use the solution that I've developed, and I can see that the solution is helping them
I have a client for whom I recently installed FileMaker 9 Server Advanced on a brand new dedicated Windows 2003-based server. It is running fine -- I was even able to easily work around the usual installation problem where the FMS installer cannot see IIS. All was good...This morning, I attempted to install an open source PHP/MySQL-based bulletin board application called Simple Machines Forum ("
July 9, 2008 | Filed Under
IIS,
MySQL,
PHP,
Syndicated |
Leave a Comment
← Previous Page — Next Page →