Welcome Guest, Not a member yet? Register   Sign In
BUG in Input.php
#5

(08-15-2016, 06:46 PM)agdsys Wrote: thanks for the comments, however, I am case observing the types of data according to the specifications of set_coockie method and detected in the area:


   if ( ! is_numeric($expire)) {
     $expire = time() - 86500;
   } else {
     $expire = ($expire > 0) ? time() + $expire : 0;
   }

   here -> $expire is floating rate, try it yourself.

   setcookie($prefix.$name, $value, $expire, $path, $domain, $secure, $httponly);


the result is a floating rate and not a whole as REQUIRES native php function.

http://php.net/manual/es/function.setcookie.php

have a nice CodeIgniter.

So stop passing it floats, you're not supposed to do that.
Reply


Messages In This Thread
BUG in Input.php - by agdsys - 08-14-2016, 10:09 AM
RE: BUG in Input.php - by Paradinight - 08-14-2016, 10:45 AM
RE: BUG in Input.php - by spjonez - 08-15-2016, 07:37 AM
RE: BUG in Input.php - by giggle - 11-05-2016, 10:11 AM
RE: BUG in Input.php - by spjonez - 11-07-2016, 06:40 AM
RE: BUG in Input.php - by giggle - 11-07-2016, 06:50 AM
RE: BUG in Input.php - by Narf - 11-07-2016, 10:02 AM
RE: BUG in Input.php - by agdsys - 08-15-2016, 06:46 PM
RE: BUG in Input.php - by Narf - 08-16-2016, 02:23 AM
RE: BUG in Input.php - by InsiteFX - 11-07-2016, 12:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB