I want you to tell that I read the www.php.net I didn't find there a function to create a file, I found only to create a temporar file.
I'm not new to php so I need just the function if anyone know.
Why? Now I insert some text ni a database. I want to insert just the filename and than if someone want to read something then I will read from the file.
Regards, iugin
http://www.4mula1.f2s.com
Use the function fopen(), as follows...
$fp = fopen ('/path/to/file.txt', 'w');
This will open the file for (w)riting, and will create the file if it does not exist already.
For more information, read about 'Filesystem functions' in the PHP manual.