uploading |
[eluser]diasansley[/eluser]
i have tried the upload example from the wesite http://ellislab.com/codeigniter/user-gui...ading.html when i run the code and say upload i get the foll the link is http://localhost/CodeIgniter/search/upload/do_upload and a 404 error. Any help would be appreciated. Thanks
[eluser]InsiteFX[/eluser]
Use Post Reply and code tags and show your code! InsiteFX
[eluser]anaxamaxan[/eluser]
If you're following the code in the user guide, your controller class should be Upload, and the method is do_upload. So, your form action value, i.e. the form open in your view should be form_open_multipart('upload/do_upload'); http://localhost/CodeIgniter/upload/do_upload Are you putting the Upload controller in a subdirectory, i.e. application/controllers/search/upload.php ? If so, be sure your form_open_multipart() matches that path.
[eluser]diasansley[/eluser]
Here is the controller Code: <?php the view Code: <html>
[eluser]diasansley[/eluser]
ok i got it working... now what if i want to show all the images as thumbnails or something... Thanks |
Welcome Guest, Not a member yet? Register Sign In |