Welcome Guest, Not a member yet? Register   Sign In
facing Url problem with codeigniter
#5

[eluser]muzahir[/eluser]
Code:
<?php
class Uploader extends MY_Controller{


public function Uploader()
{
  parent::__construct();
  $this->load->helpers(‘url’);
  $this->load->helpers(‘form’);
  $this->_user=”“;
}
public function index()
{
  $File = “YourFile.txt”;
  $Handle = fopen($File, ‘w’);
  $html .=‘get IS ‘.$_GET[‘user’].’ \n’;

  foreach($_GET as $key=>$val)
  {
      $html .=$key.’==>’.$val.”\n”;
  }
  $html .=‘pOST count is ‘.$_POST[‘FileCount’].’ \n’;

  foreach($_POST as $key=>$val)
  {
      $html .=$key.’==>’.$val.”\n”;
  }
  $Data = $html;
  fwrite($Handle, $Data);
  fclose($Handle);
}

}// end class

Looking for your help. Thanks!
?>

CI type url is: "http://www.test.com/index.php/Uploader"
so when i acceess this url directly from browser then their is no problem but when i pass it as an action of aurigma (image uploader) it doesn't recognize it.
Thats why, i want a solution for that as image uploader has a jar file and i cant recognize its functionality, how he handle action request.


Messages In This Thread
facing Url problem with codeigniter - by El Forum - 10-06-2009, 10:54 PM
facing Url problem with codeigniter - by El Forum - 10-07-2009, 12:06 AM
facing Url problem with codeigniter - by El Forum - 10-07-2009, 12:19 AM
facing Url problem with codeigniter - by El Forum - 10-07-2009, 01:39 AM
facing Url problem with codeigniter - by El Forum - 10-07-2009, 02:09 AM
facing Url problem with codeigniter - by El Forum - 10-07-2009, 03:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB