php man page for recode_file

Query: recode_file

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

RECODE_FILE(3)								 1							    RECODE_FILE(3)

recode_file - Recode from file to file according to recode request

SYNOPSIS
bool recode_file (string $request, resource $input, resource $output)
DESCRIPTION
Recode the file referenced by file handle $input into the file referenced by file handle $output according to the recode $request.
PARAMETERS
o $request - The desired recode request type o $input - A local file handle resource for the $input o $output - A local file handle resource for the $output
RETURN VALUES
Returns FALSE, if unable to comply, TRUE otherwise.
EXAMPLES
Example #1 Basic recode_file(3) example <?php $input = fopen('input.txt', 'r'); $output = fopen('output.txt', 'w'); recode_file("us..flat", $input, $output); ?>
NOTES
This function does not currently process file handles referencing remote files (URLs). Both file handles must refer to local files.
SEE ALSO
fopen(3). PHP Documentation Group RECODE_FILE(3)
Related Man Pages
fgets(3) - php
fscanf(3) - php
bcompiler_write_file(3) - php
fgetc(3) - php
xml_parser_create_ns(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
Denial Of Service Attack Update