hi everybody !
I have small problem with my bitbucket.php !
I wanna insert in DB filename + extension of pic !
example : 2.jpg
right now insert just extension without name !
this is my lines and bitbucket.php
Code:
$SQL = '' . 'SHOW
TABLE STATUS
FROM
' . $mysql_db . '
LIKE
\'bitbucket\'';
$result = sql_query ($SQL);
$row = mysql_fetch_assoc ($result);
$nextInsertId = $row['Auto_increment'];
$handle->file_new_name_body = $nextInsertId;
//$name = sqlesc($nextInsertId);
$name = $handle->file_src_name_ext;
$added = sqlesc(get_date_time());
sql_query("INSERT INTO bitbucket (owner, name, added) VALUES ($CURUSER[id], $name, $added)");