Welcome Guest, Not a member yet? Register   Sign In
need the number of seconds since....
#13

(This post was last modified: 08-15-2018, 10:04 AM by richb201.)

This line is failing:

$data['date_time']=random_bytes(8);  //this is to create a unique number

When I step through this line with the debugger, the code just crashes. (ie it gets stuck at this line). I am getting this apache error:

 PHP Fatal error:  Call to undefined function random_bytes() in C:\\xampp\\htdocs\\sub_crud\\application\\controllers\\Subit_backend.php on line 364
proof that an old dog can learn new tricks
Reply


Messages In This Thread
RE: need the number of seconds since.... - by richb201 - 08-15-2018, 10:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB