Welcome Guest, Not a member yet? Register   Sign In
File Uploadning
#11

[eluser]penta997[/eluser]
now I have info about incorrect path.
#12

[eluser]Jaketoolson[/eluser]
ok! Try root path?
Code:
$config['upload_path'] = '/';
?
#13

[eluser]penta997[/eluser]
Still, the path to uploding files is incorrect.
#14

[eluser]penta997[/eluser]
$config['upload_path'] = './'; this is work. I have another question. How can i upload a file, and change files name?
#15

[eluser]Jaketoolson[/eluser]
You rename it after it has successfully been uploaded.
Code:
rename('path/to/file/filename.here' , 'path/to/file/newfilename.here');

To address your first post in this thread, I wonder if your upload_path and is_image were the problem all along?
#16

[eluser]penta997[/eluser]
Function test controller is work. But when I'm trying call this function in my real aplication , where is an if statement is still displaying, that there is no data to upload...:/




Theme © iAndrew 2016 - Forum software by © MyBB