Hi I want to achieve to make a record with php for my channel so to have control on access roku I have this in a mysql table
CREATE TABLE `device` (
`id` int(11) NOT NULL auto_increment,
`firstname` varchar(50) NOT NULL default '',
`lastname` varchar(50) NOT NULL default '',
`email` varchar(100) NOT NULL default '',
`password` varchar(25) NOT NULL default '',
`deviceID` tinyint(4) NOT NULL,
`regCode` tinyint(4) NOT NULL,
`end_date` date NOT NULL,
`creation` date NOT NULL,
`status` int(11) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
I want to create a code where you can record data roku to mysql so then check for mysql to allow access if there blockea access so require activation again want to activate with the code that generates send the registration roku which like these
deviceID
regCode
and to check for expired or if serious about it
deviceID
end_date
I have this code to generate the
regcode.php
<?php
$random = rand(1679616, 60466175);
print base_convert($random,10,36);
?>
I would fail the regScreen.brs php file and for consultation and data logging
I hope averme esplicado good time since I've been trying to get success in my order thanks first and foremost :roll: :roll:
Our system http://www.rokumanager.com