Top "Fopen" questions

fopen opens a file resource, in order to read, write or append content to it.

PHP: fopen: No such file or directory

I am trying to create write a log file for my web site. To do this I use the following …

php fopen
Difference between file, file_get_contents, and fopen in PHP

I am new to PHP, and I am not quite sure: what is the difference between the file(), file_get_…

php file fopen
Write and read php object in a text file?

I want to write a php object in a text file. The php object is like that $obj = new stdClass(); $…

php file fopen fread
Overwrite file on server (PHP)

I am making an Android application that need to be able to push files onto a server. For this I'm …

php fopen fwrite overwrite unlink
Remove Line From CSV File

I have .csv file with 4 columns. What's the easiest way to remove a line identical with the id of the …

php csv fopen fgetcsv
fopen(); "Remote host file access not accepted" on a local file?

I am using the Tcpdf module and PHP to create dymanic PDF invoices from an ordering system. The script should …

php fopen
Is there a way to use fopen_s() with GCC or at least create a #define about it?

MSVC compiler says that fopen() is deprecated, and recommends the use of fopen_s(). Is there any way to use …

c gcc visual-c++ fopen
Overwrite Line in File with PHP

What is the best way to overwrite a specific line in a file? I basically want to search a file …

php file-io fopen fwrite
Check if a file that has been opened with fopen has been closed

gcc (GCC) 4.7.2 c89 Is it possible for check if a file has already closed? I have opened a file using …

c fopen fclose
Can't write to /tmp with php, despite 777 permissions and no open_basedir value

I'm trying to write a file to my /tmp directory (on an apache server) with the php fopen function, but …

php fopen tmp php-safe-mode