Welcome Guest, Not a member yet? Register   Sign In
swfupload
#4

[eluser]Unknown[/eluser]
tirso,

Have you tried sending other debug messages other than the show_404()? This is just to test that it is actually getting the correct url.

The only line that have the show_404() is this one:

Code:
if ( ! $this->upload->do_upload('Filedata')){
  //upload failed, do stuff
  show_404(); //maybe? you can handle it how you want with swfuploader
}

so you might want to concentrate on debugging your code within this section.

Btw, thanks for sharing your code, I got my problem with swf session thing working. Mine is a little bit different from yours but you gave me an idea with this line:

Code:
//you should have swfuploader POST your session id (youll see in the view)
$params['session_id'] = $this->input->post("PHPSESSID");
//load the session library the new way, by passing it the session id
$this->load->library('session', $params);

Thanks and happy coding.


Messages In This Thread
swfupload - by El Forum - 08-27-2009, 08:23 AM
swfupload - by El Forum - 08-27-2009, 04:48 PM
swfupload - by El Forum - 08-27-2009, 07:57 PM
swfupload - by El Forum - 09-04-2009, 09:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB