Brian Dunning's FileMaker Custom Functions

phpUnserialize ( text )

Unserialize values which were serialized by PHP's serialize() function

  Average rating: 4.4 (27 votes) Log in to vote

Sam Barnum   Sam Barnum - Show more from this author
360Works
http://360works.com

Share on Facebook Share on Twitter

  Sample input:
s:19:"http://360works.com";
  Sample output:
http://360works.com

  Function definition: (Copy & paste into FileMaker's Edit Custom Function window)

If you come across values in a database which start with a type and contain colon-delimited data, that's probably a value written by PHP's serialize() function. This is a quick little function to convert those values to FileMaker types.

 

Comments

Daniel   Daniel
Feb 15, 2015
Arrays!
 
colin   colin
Jan 11, 2019
Fantastic thank you!! Now I can read this wordpress data
 

Log in to post comments.

 

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

Support this website.

This library has been a free commmunity resource for FileMaker users and developers for 15 years. It receives no funding and has no advertisements. If it has helped you out, I'd really appreciate it if you could contribute whatever you think it's worth:

Under construction. Email me your wish list for improvements.