Welcome Guest, Not a member yet? Register   Sign In
File Upload class
#4

[eluser]gtech[/eluser]
sorry it should be
Code:
'picture'        => $file_data['upload_data']['file_name'],

or

Code:
'picture'        => $file_data['upload_data']['full_path'],

As if you look at the code above, it adds the results of upload->data() to an associative array with the key 'upload_data'

If your stuck don't be frightened to read the code in the libraries directory (upload.php) you can then see how the functions work.

have a search for 'function data' and 'function do_upload' for example, its all in php so relatively easy to follow.


Messages In This Thread
File Upload class - by El Forum - 06-17-2008, 11:52 PM
File Upload class - by El Forum - 06-18-2008, 05:02 AM
File Upload class - by El Forum - 06-18-2008, 11:39 PM
File Upload class - by El Forum - 06-19-2008, 03:48 AM
File Upload class - by El Forum - 06-19-2008, 09:11 PM
File Upload class - by El Forum - 06-24-2008, 01:23 AM
File Upload class - by El Forum - 06-24-2008, 06:03 AM
File Upload class - by El Forum - 06-24-2008, 08:09 PM



Theme © iAndrew 2016 - Forum software by © MyBB