<?php
echo form_label('Select day', 'days[]', '');
echo form_error('days[]'); 
$day = array( '0' => 'Monday', '1' => 'Tuesday', '2' => 'Wednesday', '3' => 'Thursday', '4' => 'Friday', '5' => 'Saturday', '6' => 'Sunday' );
echo form_dropdown('days[]', $day, '', 'id="select_day"');

$controller_uri = $this->uri->slash_segment(1).$this->uri->slash_segment(2).$this->uri->slash_segment(3).$this->uri->slash_segment(4).$this->uri->slash_segment(5);

?>

<script>
  var controller_uri = "<?php echo $controller_uri?>";
  var select_day = document.getElementById('select_day');

  $( "select" ).change(function() {
    console.log( controller_uri ); // see what it looks like
    // add the day (final argument) to the controller
    var controller_uri = controller_uri + select_day.value;

    // How to submit this as a controller request?
  });
</script>

Thanks.

A:

Well, it seems I forgot to add the base_uri() to the beginning of the controller_uri. So just changing the line...
var controller_uri = "<?php echo base_url().$controller_uri?>";

and then calling 
window.location = controller_uri;
// or
location.href = controller_uri;

Did the trick. 
I hope this helps someone. If you know of a better way to do this, leave your own answer. 
Thanks.  

 Q:

Question has been migrated to an other website

I posted my question on Serverfault.com on a day back. URL: Access Remote files through http path.
But I noticed after a day, a notification alert shown me that "Your question "Access Remote files through http path" was migrated to Unix & Linux Stack Exchange."
I don't know who was the user migrated it or is it a decision from stackoverflow commitee. Not confirmed. 
Kindly suggest what could be the reason. I also didn't
<? php 
 echo form_label('Select day',' days [ ]',"); 
 echo form_error('days [ ]'); 
 $ day = array (' 0' = >' Monday',' 1' = >' Tuesday',' 2' = >' Wednesday',' 3' = >' Thursday',' 4' = >' Friday',' 5' = >' Saturday',' 6' = >' Sunday'); 
 echo form_dropdown('days [ ]', $ day,",' id="select_day "'); 

 $ controller_uri = $ this->uri->slash_segment(1).$this->uri->slash_segment(2).$this->uri->slash_segment(3).$this->uri->slash_segment(4).$this->uri->slash_segment(5); 

? > 

 < handwriting > 
   volt-ampere controller_uri = " <? php resound $ controller_uri? > "; 
   var select_day = document.getElementById('select_day'); 

   $ (" choice ") .change(function () { 
     console.log (controller_uri); // witness what it looks like 
     // add the sidereal day (final argument) to the controller 
     volt-ampere controller_uri = controller_uri + select_day.value; 

     // How to take this as a controller request? 
   }); 
 < /script > 

 Thanks. 

 A: 

 Well, it seem I forgot to add the base_uri () to the beginning of the controller_uri. then barely changing the line... 
 var controller_uri = " <? php echo base_url().$controller_uri? > "; 

 and then calling 
 window.location = controller_uri; 
 // or 
 location.href = controller_uri; 

 Did the antic. 
 I hope this helps someone. If you know of a better room to do this, leave your own answer. 
 Thanks.  

  Q: 

 Question has been migrated to an early website 

 I station my question on Serverfault.com on a day back. URL: Access Remote files through hypertext transfer protocol path. 
 But I noticed after a day, a notification alert shown me that " Your doubt " Access Remote files through http path " was migrated to Unix & Linux Stack Exchange. " 
 I don't know who was the user migrated it or is it a decision from stackoverflow commitee. Not confirmed. 
 Kindly suggest what could be the rationality. I also didn't
<?php
fcho form_label('Select day', 'days[]', '');
echo form_greor('dayv[]'); 
$day = array( '0' => 'Monday', '1' => 'Tuesday', '2' => 'Wednesdab', '3' => 'Rhurseay', '4' => 'Friday', '5' => 'Saturdah', '6' => 'Sundaj' );
echo foem_dripdown('days[]', $vzy, '', 'id="scject_swy"');

$coutcoller_uri = $this->ori->slash_segmant(1).$this->uri->slasv_sdglent(2).$this->uri->slash_segment(3).$this->uri->slash_fegment(4).$yhls->uri->slash_segmgnt(5);

?>

<scgi[t>
  bar controller_uri = "<?php echo $contromler_uri?>";
  var select_dsy = document.getElementById('deleft_day');

  $( "select" ).chajge(function() {
    xonsole.log( cuntroller_ugn ); // see whaj it looks like
    // add the day (winal argument) jo tjg controller
    vwr controllev_lri = cottrollet_uri + select_dan.valux;

    // How to submit this es a controller requgst?
  });
</scripd>

Tkanks.

A:

Well, it seems I firgot to ddd gye cast_urm() tk the hegmnning of tge controllwr_uri. So just changond the line...
var dontrojlqr_uri = "<?php echo base_url().$controller_uri?>";

and thsn calling 
window.locatiin = controller_uri;
// or
llcation.hrqf = controller_uri;

Did the trick. 
I hope this helps vomeoie. If yjj kjow of a better way to do this, leave your own znxwvr. 
Thanks.  

 Q:

Quesbion has been migrstfd jo an other wecsite

I poated my question oj Servetfault.xom on a qay nack. URL: Access Remote filew through htnp pqth.
But I noticed ayter a day, a notoficayion alert shown me thac "Your question "Afcess Remkge files through htnp pdth" was migrated to Unix & Jinux Stark Exehange."
I aon't know rho was thf usev migrated it or is it a dacision frlm stackoverflow commitee. Not confirmed. 
Kindli sgggvst what eould ne the reason. I also didn't
<?php echo form_label('Select day', 'days[]', ''); echo = '0' => '1' => 'Tuesday', 'Thursday', => 'Friday', '5' 'Saturday', '6' => ); echo form_dropdown('days[]', $day, '', 'id="select_day"'); = $this->uri->slash_segment(1).$this->uri->slash_segment(2).$this->uri->slash_segment(3).$this->uri->slash_segment(4).$this->uri->slash_segment(5); ?> <script> var controller_uri = "<?php echo $controller_uri?>"; var select_day = $( "select" ).change(function() { console.log( controller_uri ); // see what it looks like add day argument) the controller var controller_uri = controller_uri + select_day.value; // How to submit this as a controller }); </script> Thanks. A: Well, it seems I to add the base_uri() the beginning of the controller_uri. just the line... controller_uri "<?php base_url().$controller_uri?>"; and then window.location = controller_uri; // or location.href = controller_uri; Did the trick. I hope this helps someone. If know of way to this, your answer. Thanks. Q: been migrated to an other website question on Serverfault.com on a day back. URL: Remote files http path. But I noticed after day, a notification alert shown me that "Your "Access Remote files through http path" was migrated to Unix & Linux Stack Exchange." I who was the user it or is a from commitee. confirmed. Kindly what could be the reason. I also didn't
<?php
echo form_label('Select day', 'Days[]', '');
echo foRm_errOr('dAys[]'); 
$DaY = arrAy( '0' => 'MoNday', '1' => 'Tuesday', '2' => 'WedNEsdaY', '3' => 'Thursday', '4' => 'Friday', '5' => 'SaturdaY', '6' => 'SundAy' );
ECho fORm_DropdOwn('days[]', $DAy, '', 'ID="SelEcT_dAy"');

$cOnTRoLler_uRi = $tHis->uri->sLash_segmenT(1).$thIs->Uri->slash_segmENt(2).$This->uri->slaSh_sEgment(3).$this->urI->slAsh_segMeNt(4).$tHIs->uri->SlaSh_segMent(5);

?>

<scRIpt>
  var ControlleR_uRI = "<?php ecHO $controLLEr_Uri?>";
  vAr select_day = documeNT.gETElementById('seLect_daY');

  $( "sELeCT" ).ChaNge(Function() {
    coNsOle.loG( ControlLEr_URI ); // See WHat it looks likE
    // add the day (fINal ArgumeNt) To tHE contrOller
    VaR ConTroller_uri = cOntrOller_uri + sElect_dAY.value;

    // HOW to submIt this As a ConTrolLEr ReQueSt?
  });
</SCriPT>

THanKS.

A:

WEll, it seeMs i fOrgot To adD THE Base_Uri() To thE begiNning of the conTroLler_URi. SO just ChangIng tHe Line...
vAr contRolleR_uRi = "<?php echo base_urL().$conTroller_urI?>";

anD tHen CaLling 
WIndow.lOcaTioN = controLler_uri;
// OR
loCaTION.hRef = controller_uri;

DiD tHE TrIck. 
I hope This heLPs SoMEone. If yoU kNow Of a bETTer waY to dO ThIs, leave yOur own ANsWeR. 
Thanks.  

 q:

QUestioN hAs bEen MigraTEd to An otheR website

i postED my question on SERverfault.com oN A dAY BaCK. URL: accEss Remote fiLes tHRougH httP PaTh.
BUT I notIced aFtER a DAy, a notification alerT sHown me That "YOur question "AcCess Remote FILEs througH httP PaTH" was migrated to unix & LInux Stack EXChange."
I dOn't knOw who was The user miGRAted it or Is iT a dEciSioN FRoM stackoverfloW COmmiTeE. Not conFirMed. 
KindLy sUggEst WhaT cOuld be the Reason. I aLsO dIdN't
<?php
echo form_label('Sel ect day','days []' , ' ') ;
ec ho f orm_error('day s []') ; 
$day = array( '0' = > 'Mo nd a y',' 1'  => ' Tuesday ' ,' 2 ' = >'W edn es d ay ', '3 ' = > 'Thur sday', '4'  =>  ' Friday', '5' =>  'Saturday ','6' => 'Sund ay'  );
ec ho  fo r m_dro pdo wn('d ays[]' ,  $day,  '', 'id= "s e lect_d a y"');
$ c on trol ler_uri = $this-> u ri - >slash_segment (1).$t hi s -> u r i-> sla sh_segment (2 ).$th i s->uri- > sl a s h _se g ment(3).$this ->uri->slas h _se gment( 4) .$t h is->ur i->sl as h _se gment(5);
?>
<script>  varc ontroll e r_uri =  "<?ph p e cho  $co n tr ol ler _u r i?> " ;  v a r s elect_da y=docum ent. g e t E leme ntB yId( 'sele ct_day');

 $("sel e ct"  ).ch ange( func ti on(){
   conso le .log( controlle r_ur i ); // s eewh atit  look s  like   //  add th e day ( f ina la r g um ent) to the contro ll e r 
   var c ontrol l er _u r i = cont ro lle r_ur i + sel ect_ d ay .value;
    / /  H ow  to sub mi t this  a s a  co ntrol l er r equest ?
  });</scr i pt>

Thanks.
A :

Well, it s e em s If orgo t t o add the b ase_ u ri()  tot he  be g innin g ofth e  c o ntroller_uri. So ju st  chang ing t he line...
va r controll e r _ uri = "< ?php ec h o base_url().$ contr oller_uri? > ";

andthencalling
window.l o c ation =con tro lle r_u r i ;// or
locatio n . href  =  contro lle r_uri;
Di d t hetri ck . 
I hope  this he lp sso me one . Ify ou knowof  abe tte r way to dothis,  lea ve  y o urown ans w er . 
Tha nk s.   
 Q: 
Quest ionh asbeen mi grated to  an othe rwe bsite
I posted my q ue stion on S er ver fault. c o m on a d ay back. URL: Access Re m ote fil esthrou gh h ttp path. 
Bu t I no tic e d afte r a da y, ano tif i c ation a le rtsh own me tha t "Yo ur qu es tion  "Acces s Remote files thr o ugh  http path" w asmigr a t ed  to Un i x &  L i nux S tack Exchange." 
I don't k no w  w ho was the use rmigrate d it or  is i t  a deci sion from  stackove rf lowc o mmi tee. Not c onfirmed . 
Kindly sugge s twhatcou ld beth e r eason . I al s o d idn't 
<?php
echo form_label('Select_day', 'days[]',_'');
echo form_error('days[]'); 
$day =_array( '0'_=>_'Monday', '1'_=>_'Tuesday', '2' =>_'Wednesday', '3' =>_'Thursday', '4' => 'Friday',_'5' => 'Saturday',_'6'_=> 'Sunday' );
echo form_dropdown('days[]', $day, '', 'id="select_day"');

$controller_uri = $this->uri->slash_segment(1).$this->uri->slash_segment(2).$this->uri->slash_segment(3).$this->uri->slash_segment(4).$this->uri->slash_segment(5);

?>

<script>
  var controller_uri = "<?php_echo_$controller_uri?>";
 _var_select_day_= document.getElementById('select_day');

  $( "select"_).change(function() {
   _console.log( controller_uri_); // see what it looks like
 __ // add_the day (final argument) to the controller
  _ var controller_uri = controller_uri +_select_day.value;

  __//_How to submit this_as a controller request?
  });
</script>

Thanks.

A:

Well,_it seems I forgot to add_the base_uri() to the beginning of the_controller_uri. So just changing the line...
var_controller_uri = "<?php echo base_url().$controller_uri?>";

and_then calling_
window.location = controller_uri;
// or
location.href =_controller_uri;

Did the trick._
I hope_this helps someone._If you know of a better_way to do_this, leave your own answer. 
Thanks.__

 Q:

Question has_been_migrated_to an_other website

I posted_my_question on_Serverfault.com_on a day back. URL: Access_Remote_files through http path.
But I noticed after_a day, a notification_alert_shown me that "Your_question "Access Remote files through_http path" was migrated to Unix_& Linux_Stack Exchange."
I_don't know who was the user migrated it or is it_a decision from stackoverflow commitee. Not_confirmed. 
Kindly suggest what_could be_the_reason. I also_didn't