PHP Classes

PHP BIC Validation: Validate the owner of a container with a BIC code

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 246 This week: 1All time: 7,971 This week: 560Up
Version License PHP version Categories
vco 1.0Free for non-comm...4.0Algorithms, Validation
Description 

Author

This class can validate the owner of a container with a BIC code.

It takes the BIC code of a container being shipped and computes the check digit.

The class can display a message showing whether the verification code is correct with a link to the site of BIC (Bureau International des Containers et du Transport Intermodal) to show who is the container owner.

Innovation Award
PHP Programming Innovation award nominee
September 2014
Number 9


Prize: One downloadable copy of CodeLobster Professional
BIC is an ISO standard that defines the format of codes used to identify cargo containers being transported world wide.

This class can validate cargo container codes according to the ISO BIC standard.

Manuel Lemos
Picture of Roberto Aleman
  Performance   Level  
Name: Roberto Aleman <contact>
Classes: 19 packages by
Country: Venezuela Venezuela
Age: 49
All time rank: 1391 in Venezuela Venezuela
Week rank: 106 Up2 in Venezuela Venezuela Down
Innovation award
Innovation award
Nominee: 10x

Winner: 1x

Example

<?php
require("class_vco.php");

if(isset(
$_POST['check']))
    {
    if (
$_POST['check']!= "")
    {

       
$check = new validate_container_owner();
       
$check->calculate($_POST[check]);
    }
    else
    {
            echo
"<h2>the value is null!, try again!</h2>";
    }
         }
?>
<style type="text/css">
body,td,th,h2 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-align:center;
}
</style>

<div style='text-align:center'>
<form action="example.php" method="post" name="check" target="_self">
<input name="check" type="text" size="11" maxlength="11" />
<input name="" type="submit" value="submit" />
</form>
</div>


  Files folder image Files  
File Role Description
Plain text file class_vco.php Class main class
Image file example Screen example
Plain text file example.php Example example
Image file example_data01 Screen example_data01

 Version Control Unique User Downloads Download Rankings  
 0%
Total:246
This week:1
All time:7,971
This week:560Up