mysqlfs.php File Reference

Go to the source code of this file.

Functions

 mysqlfs_add_file ($dir_id, $file_name, $file_store_as_name, $db)
 mysqlfs_show_dir_tree ($dir_id)
 mysqlfs_show_fs_tree ()
 mysqlfs_show_form_add_file ($action, $dir_id)
 get_arr_index ($arr, $index)
 common_translate_national_chars ($str)
 mysqlfs_get_file ($file_id)
 mysqlfs_add_dir ($parent_dir_id, $new_dir_name)
 mysqlfs_delete_dir ($dir_id)
 mysqlfs_delete_file ($file_id)


Detailed Description

common functions used to show and manipulate files thrue php frontend for mysqlfs
Author:
Tomas Pop

Definition in file mysqlfs.php.


Function Documentation

mysqlfs_add_file ( dir_id,
file_name,
file_store_as_name,
db 
)

Add a file present in filesystem on server where mysql database engine is running to mysql database...

Parameters:
int $dir_id id of
string $file_name relative or absolute path to file present in filesystem of machine, where mysql server is running.
databaseobject $db database object
string $file_store_as_name name of file we want to store file in fs
Returns:
array(bool, err_text)bool {true on succes or false on some problem} err_text is textual description of some error if occures or null on no error

Definition at line 23 of file mysqlfs.php.


Generated on Mon May 28 12:56:36 2007 for MYSQLFS by  doxygen 1.5.0