Jump to content

Probably not the right place to ask, but here it goes anyways


thomasw_lrd

Recommended Posts

I've been using an open source program to  store documents on our server (OWl intranet).

 

$sql->query("INSERT INTO $default->owl_files_table (name,filename,f_size,creatorid, updatorid,parent,created, description,metadata,security,groupid,smodified,checked_out, major_revision, minor_revision, url, doctype, approved, expires) values ('$title', '" . addslashes(stripslashes($userfile)) . "', '0', '$userid', '$userid', '$parent', $dCreateDate,'$description', '$metadata', '$security', '$groupid',$smodified,'$checked_out','$major_revision','$minor_revision','1','$doctype','1', '$expires')");
         $id = $sql->insert_id($default->owl_files_table, 'id'); 

 

I need to know how to extract the filename from this code?  Does anybody have any ideas?  Like I said, I'm sure this is not the correct place to ask this, but I was hoping someone may be able to help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.