[TIPS] How To Install or Configure or Use – BSNL 3G Data Card in Ubuntu (LINUX)


 

BSNL Logo
Image via Wikipedia

 

Most of us know 3G data connection given by BSNL and it just lightening fast – I love it. It just works like a charm when you insert it in WINDOWS no head-ache nothing, the moment you insert the USB card – a popup will ask you to install the required desktop software for this tiny modem. But this is not the same behavior in LINUX with little bit of tweaks you can easily get this working in UBUNTU.

I use UBUNTU LINUX OS and I was trying hard to get this working in my laptop. After spending few good hours I was able to get it working smoothly. I will share my findings here in a step by step procedure to get this card working in your UBUNTU OS – I have not tried it in any other LINUX OS, if any of you had faced any problem, let us know.

Continue reading “[TIPS] How To Install or Configure or Use – BSNL 3G Data Card in Ubuntu (LINUX)”

Advertisements
[TIPS] How To Install or Configure or Use – BSNL 3G Data Card in Ubuntu (LINUX)

Route a domain by Zend-Router-Route-Hostname in Zend Framework


Zend Framework logo.
Image via Wikipedia

In my company most of our projects we have been using custom-zend framework and I love their routing concepts. It gives you various options of handling many different routes to get the data based on your needs – just amazing.

Let me get straight with the topic. With Zend Framework, it is easy to route your URL in a nice way without having an head-ache of working with .HTACCESS file. Thanks a bunch.

Most of us know how to route an URL with routes.ini, for example:

routes.contact.route                           = “contact-us”
routes.contact.defaults.module      = “contact”
routes.contact.defaults.controller = “contact”
routes.contact.defaults.action        = “index”
– this will route a URL http://example.com/contact-us into “contact” module >> “ContactController.php” controller >> “indexAction()”  action.

What’s the big deal? We know this, yes I agree, have you tried routing a domain?.. 😉 Most of us may not, definitely I have not it does not stop there yet, Zend Framework also gives you an option to route an URL based on host/domain name and that is cool!.

Continue reading “Route a domain by Zend-Router-Route-Hostname in Zend Framework”

Route a domain by Zend-Router-Route-Hostname in Zend Framework

Did you know this “autocomplete” attributes in HTML tag family?


First 4 digits of a credit card
Image via Wikipedia

Ah! Do you guys know about this? Honestly I was not aware of this attribute till yesterday. It’s one of the good to have attribute for all the form tags; it helps in building security for payment related projects.

Recently I had to resolve a problem in one of the ecommerce project where user has to enter their credit card info to process the payments. The problem is the <input> tag was throwing the suggestion on the credit card number; it was retaining the credit card number & other few data even when any other user logs into the same page on the same machine.

After some googling I found the solution to the problem. It’s not exactly a problem but it’s one of the features given by the browsers to avoid entering the data on same <input> tags again and again. This is especially dangerous if someone enters their credit card number from a public computer. Hence to make sure the process is secure, use “autocomplete” attribute in your <form> tag.

For ex:
<form name=”cc” autocomplete=”off” >

Our engineers out there have come up with an extra attribute called “autocomplete” which accepts the value of boolean and depending on the value it tells the browser to hide/show the pre-existing data.

Let’s secure it!

Did you know this “autocomplete” attributes in HTML tag family?