Thursday, 27 April 2017

CodeIgniter Post Dump

Some times at a time of developing form we find some difficulties what are the data POST from form action to verify we can use following var dump array to view the data.

        $post = array();
            foreach ( $_POST as $key => $value )
                $post[$key] = $this->input->post($key);

Tuesday, 11 April 2017

BootIgniter Project

As web developer i need to use frameworks to help my web application coding should be easy task i prefer to use CodeIgniter Framework its very easy to understand and use for PHP base project now days every website integrate with bootstrap, but in codeigniter its simple small ready to user nature the following bootstrap framework is not inbuild and there are some simple rules need to follow to integrate with codeigniter i have created an basic template that include bootstrap framework and simple template which is ready to user codeigniter as not need to start every project from scratch.

What's Include in Bootigniter.

  • CodeIgniter Version 3.1.4
  • Bootstrap v3.3.7
  • JQuery v 3.1.1.
The following Project can be fetch from following github repo URL.

Tuesday, 24 January 2017

Some Cisco Command for vlan

The following is short notes configuring vlan in cisco as cheetsheet.

* To view vlan following command

#sh vlan or #sh vlan brief

* To delete vlan

(config)# no vlan (number) Eg. (config)# no vlan 8 
(Note The following command can be delete some of the Router/Switch configuration which is impact network stability)

* To delete interface vlan

(config)# no interface vlan (number) Eg. (config)# no interface vlan 8
(Note The following command can be delete some of the router configuration which is impact network stability or Router/Switch connectivity)

* Creating interface vlan

(config)# interface vlan (number) Eg. (config)# interface vlan 8
The following command creates new interface which we can assign IP for communicate or routing network.

* Assign IP using following IP

(config-if)# ip address (Address) (subnet mask) Eg ip address
In vlan interface the following command is assign subnetted ip address to that particular interface.

* Assign Helper Address

(config-if)# ip helper-address (address) (subnet mask) Eg. ip helper-address
In vlan interface the following command help to set helper address

* Assigning Portfast command.

(config-if)# spanning-tree portfast
In vlan or Port interface the following command help to assign portfast command.

* Assign Name to VLAN

As default Vlan in network devices always as number so to refer the vlan is related to its better to assign name for example if you created vlan 3 and want to use for voice communication user following command.

(config)# vlan (number)  Eg. (config)# vlan 3
(config-vlan)# name name Eg. (config-vlan)# name Voice

Ping your blog