PHP: php_stream_fopen_from_file - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

php_stream_fopen_tmpfile Streams File API Reference

Last updated: Fri, 26 Jan 2007

view this page in

# php_stream_fopen_from_file

php_stream_fopen_from_file -- Convert an ANSI FILE* into a stream

## Description

php_stream * php_stream_fopen_from_file ( FILE * file, char * mode )

php_stream_fopen_from_file() returns a stream based on the `file`. `mode` must be the same as the mode used to open `file`, otherwise strange errors may occur when trying to write when the mode of the stream is different from the mode on the file.

add a note User Contributed Notes
php_stream_fopen_from_file
There are no user contributed notes for this page.
php_stream_fopen_tmpfile Streams File API Reference

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST