Scodigo, Inc.

Log In | Register

Cart Items:
0

SmartPill PHP Edition(TM) 2.0 Now Available

New In Version 2.0

With “PHPx” you can now create your own plug-in functions!

Have you ever wanted to create your own plug-in? With SmartPill 2, you can now load your own plug-in functions that will show up in FileMaker’s calculation dialog just like any other plug-in. You can create your own functions or use functions supplied by Scodigo or other developers. We currently offer the following PHPx function packages:

  • File functions for reading and writing file on disk
  • HTTP functions for communicating with web servers (includes functions for GET, POST and supports SSL)
  • FTP functions
  • Script triggering functions
  • Encryption function

Be sure to check out the “FunctionMaker” application that’s included in the download.

Prompt users for file and folder locations using native OS dialogs

You can now prompt the user for the location of a file or folder or the location where they would like to save a file. You get to choose the default starting location, you can filter the types of files available for selection and you get to personalize the dialog with your own message. Here are a couple of the things you might do:

  • Ask the user to choose a file or folder for FTP upload
  • Ask the user where to save a file that’s been downloaded from a web site

Display progress bars while performing functions

Now when you’re uploading a folder full of files or downloading a report or communicating with a web service, you can let the user know what’s going on. The new progress bar functions allow you to display regular or “barber pole” style progress bars. You get to choose the message, the location on screen and you can even display multiple progress bars when needed.

The complete list of what’s new

  • New PHP_LoadFunctions function allows you to load your own plug-in functions (or functions supplied by Scodigo or other developers).
  • New PHP_LoadFunctionsFromURL is just like PHP_LoadFunctions except it allows you to load functions from an HTTP server. This allows for centralized distribution and management of functions.
  • New PHP_UnloadFunctions allows you to unload all functions that have been loaded.
  • New PHP_GetLastCode function returns the PHP code that was last executed (very helpful for development and troubleshooting).
  • New PHP_VersionAutoUpdate function makes it easier to determine if the plug-in needs to be updated. The function conforms to a standard naming and version numbering convention agreed upon by a group of plug-in developers (in hopes to make FileMaker Server’s AutoUpdate function easier to use).
  • New fm_select_file, fm_select_folder and fm_save_file functions allow you to prompt the user for file and folder locations using standard OS dialogs.
  • New fm_new_progress_bar, fm_close_progress_bar, fm_update_progress_bar, fm_progress_bar_position, fm_progress_bar_timeout, fm_progress_bar_control functions allow you to display progress bars.
  • New fm_get_parameter function allows you to read the parameters sent by loaded functions.
  • New fm_set_container_file_name function can be used with the PHP_ExecuteToContainer function to set the name of the file from within your PHP code instead of having to send it as a parameter.
  • New PHP constants now included to make it easy to determine various file paths from within your PHP code:
    • FM_DESKTOP_PATH
    • FM_DOCUMENTS_PATH
    • FM_EXTENSIONS_PATH
    • FM_PHP_SUPPORT_PATH
    • FM_PHPX_PATH
    • FM_PREFERENCES_PATH
    • FM_TEMPORARY_PATH
  • New FileMaker extension errors:
    • 900 Error number must be greater than or equal to 1000
    • 901 Script triggering is disabled
    • 902 Progress bars are disabled
    • 903 Progress bar already exists
    • 904 Progress bar doesn't exist
  • SSH2 now included.
  • LDAPS (secure LDAP) now included.
  • ID3 now included.
  • The fileName parameter in PHP_ExecuteToContainer now supports Unicode.
  • New error to explicitly determine that a PHP parse error occurred: 202 PHP parse error.
  • fm_perform_script corrected to be of type mixed (returns NULL when script triggering is disabled).
  • PHP Support and PHPx folders are now created within the FileMaker Extensions folder when the plug-in starts up (assuming they don’t already exist).
  • Existing license holders will need to purchase an upgrade for this version (unless your license was purchased on July 14, 2008 or later).