CodeIgniter Forums
[split] How to make student identity card? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: [split] How to make student identity card? (/thread-70145.html)

Pages: 1 2


[split] How to make student identity card? - mrisha - 02-28-2018

How to make student identity card by using codeignator?


RE: [split] How to make student identity card? - InsiteFX - 02-28-2018

You mean like these?

W3.CSS Cards


RE: [split] How to make student identity card? - Wouter60 - 02-28-2018

Quote:How to make student identity card by using codeignator?

Create a table in your database with the fields to store information for the cards.
Create a model that can read, insert, update and delete records in the aforementioned table.
Create a controller with functions for showing a list of student cards and individual cards.
Create an admin controller with functions for creating, editing and deleting cards.
Create views to display webpages and forms.
And... learn to spell CodeIgniter correctly. Wink


RE: [split] How to make student identity card? - ivantcholakov - 02-28-2018

If there is an information system that already registers students' data perhaps adding a module to it for printing ID cards would worth the work. But if there is nothing, it would be easier if you find a Word or Excel template and adapt it. http://mswordidcards.com


RE: [split] How to make student identity card? - mrisha - 02-28-2018

(02-28-2018, 01:02 PM)Wouter60 Wrote:
Quote:How to make student identity card by using codeignator?

Create a table in your database with the fields to store information for the cards.
Create a model that can read, insert, update and delete records in the aforementioned table.
Create a controller with functions for showing a list of student cards and individual cards.
Create an admin controller with functions for creating, editing and deleting cards.
Create views to display webpages and forms.
And... learn to spell CodeIgniter correctly.  Wink

ok thanks but the problem is i need to keep the barcode on ID card and also the code that will capture the photo of a student direct from digital camera and insert it into its position and the system should also allow the student to sign by using signature pad and capture it direct to its position on card


RE: [split] How to make student identity card? - mrisha - 02-28-2018

(02-28-2018, 11:49 AM)InsiteFX Wrote: You mean like these?

W3.CSS Cards

No what i mean is to create a system that will print student id card


RE: [split] How to make student identity card? - albertleao - 02-28-2018

(02-28-2018, 10:23 PM)mrisha Wrote:
(02-28-2018, 11:49 AM)InsiteFX Wrote: You mean like these?

W3.CSS Cards

No what i mean is to create a system that will print student id card

There's a million different ways to build a system like that depending on what the requirements are. Is the ID card including a UUID, QR code, photo? Are you just printing a card with a picture?


RE: [split] How to make student identity card? - mrisha - 02-28-2018

(02-28-2018, 10:49 PM)albertleao Wrote:
(02-28-2018, 10:23 PM)mrisha Wrote:
(02-28-2018, 11:49 AM)InsiteFX Wrote: You mean like these?

W3.CSS Cards

No what i mean is to create a system that will print student id card

There's a million different ways to build a system like that depending on what the requirements are. Is the ID card including a UUID, QR code, photo? Are you just printing a card with a picture?

yes


RE: [split] How to make student identity card? - InsiteFX - 03-01-2018

Code to create a UUID

PHP Code:
/**
 * guidV4 ()
 * -----------------------------------------------------------------------
 *
 * A universally unique identifier (UUID) it is a 128-bit number
 * used to identify information in computer systems.
 *
 * xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx
 *
 */
if ( ! function_exists('guidV4'))
{
    
/**
     * guidV4 ()
     * -------------------------------------------------------------------
     *
     * @return string
     */
    
function guidV4()
    {
        
// Microsoft guid {xxxxxxxx-xxxx-Mxxx-Nxxx-xxxxxxxxxxxx}
        
if (function_exists('com_create_guid') === true)
        {
            return 
trim(com_create_guid(), '{}');
        }

        
$data openssl_random_pseudo_bytes(16);

        
// set version to 0100
        
$data[6] = chr(ord($data[6]) & 0x0f 0x40);

        
// set bits 6-7 to 10
        
$data[8] = chr(ord($data[8]) & 0x3f 0x80);

        return 
vsprintf('%s%s-%s-%s-%s-%s%s%s'str_split(bin2hex($data), 4));
    }


For Bar-codes you can use this library.

php-barcode


RE: [split] How to make student identity card? - albertleao - 03-01-2018

(02-28-2018, 11:10 PM)mrisha Wrote: yes

Yes to which part?

We can't help you if you're being as descriptive as you are. I'd recommend using google for "PHP Bar codes", "PHP QR Codes" "PHP + MYSQL UUID"