Author Topic: file upload processing  (Read 1991 times)

saidmsl

  • Newbie
  • *
  • Posts: 1
    • View Profile
file upload processing
« on: January 29, 2013, 09:22:23 AM »
Hi,

i have modified a bit the source code to allow to upload a file differently
ie adding a new file element :
$fileTempName = $_FILES['RemoteFile']['tmp_name'];   
$fileSize = $_FILES['RemoteFile']['size'];
$fileName = $_FILES['RemoteFile']['name'];

I cannot change the name . how can  proceed to save as usual while not breaking existing code.
i see that it calls upload_file then add_file in FileController.class.php

Thanks

 

anything