Home > PHP > Function > FDF > fdf_save()

fdf_save()

fdf_save - Save a FDF document

Syntax

bool fdf_save (resource $fdf_document, string $filename)

Arguments

  • fdf_document - The FDF document handle, returned by fdf_create(), fdf_open() or fdf_open_string().
  • filename - If provided, the resulting FDF will be written in this parameter. Otherwise, this function will write the FDF to the default PHP output stream.

Description

Saves a FDF document.

Version

PHP 4, 5

Return value

Returns TRUE on success or FALSE on failure.