Online Storage

Cloud Storage or Online Storage is a model of  data storage in which the virtual data is stored in logical pools, said to be on “the cloud“.

Hosting companies managed the physical environment which may be on multiple servers.These service providers are responsible for protecting and provide accessibility to user. They provide storage on lease or sell it out to user for storing their personal, organizational data.

Some Advantages of Online Storage

  • Companies need only pay for the storage they actually use, typically an average of consumption during a month.
  • Businesses using cloud storage can cut their energy consumption by up to 70% making them a more green business
  • Cloud storage provides users with immediate access to a broad range of resources and applications hosted in the infrastructure of another organization via a web service interface.
  • Cloud storage can be used for copying virtual machine images from the cloud to on-premises locations or to import a virtual machine image from an on-premises location to the cloud image library.
  • Cloud storage can be used as natural disaster proof backup, as normally there are 2 or 3 different backup servers located in different places around the globe.

Major Potential concerns for Online Storage

  • Data security
  • Longevity
  • Accessibility
  • Resource for both hackers and others
  • Piracy and copyright issues

When your data is stored online it is distributed at more locations increasing the risk of unauthorized physical access to the data. By sharing storage and networks with many other users/customers it is possible for other customers to access your data.

Outsourcing data storage to another company needs careful investigation and nothing is ever certain as the companies are not permanent and the services and products they provide can change.

Reliability and availability depends on wide area network availability and on the level of precautions taken by the service provider. Reliability should be based on hardware as well as various algorithms used.

Security of stored data and data in transit may be a concern when storing sensitive data at a cloud storage provider. The cloud holds data from many different users and organizations, hackers see it as a very valuable target.

How to Overcome the above concerns?

There are several options available to avoid such issues. One option is to use a private cloud instead of a public cloud (there are as well providers that offer private cloud storage). Another option is to ingest data in encrypted format where the key is hold within your on premise infrastructure.

Free Tools & Software

You want powerful software & tools—but you don’t have to buy them. Here is a list of free useful tools for you, and it’s all totally free.

Simply-Connect ( WhatsApp Chat )

Simply-Connect: WhatsApp Messaging Plugin is easy to set up and use plugin for all kinds of websites. It can be used on a normal website by simply copying and pasting a snippet or in a WordPress website, using the plugin.
It helps your users to connect with you directly from your website by simply clicking on the WhatsApp icon on your website.

LEO – Auto Responder

Leo – Auto Responder is an android application, used to automate SMS in a professional way. It is used to send SMS on missed calls which can be used for several purposes. LEO offers a simple solution to automate SMS on your device in just a few taps via a simple interface. You can use the LEO – Autoresponder for sending customized SMS to your callers whenever you miss a call from them.

Simple User Interface for better understanding. Just download the app from here and set your message in the responder. Your responder supports multilingual, So enjoy your responder in your own language too either English or Bhojpuri.

If you don’t want to send messages on missed calls. Just switch off your responder. It will not send your message on missed calls.

Hope!! You enjoy your responder.

School Management System

School Management Systems Plays an essential role in the current educational system. School authorities all over the world are engaged in a lot of day-to-day administrative and academic activities to manage and provide a better academic experience to students effectively. However, maintaining and keeping track of school administrative activities is not an easy process in the fast-growing world. It requires hard work and often it is time-consuming.

To better perform the school administrative activities of educational institute and to assure parents the real-time progress and security of their children, educational institutes utilizes School Management software, nowadays.

Work Logger

Work Logger is a free tool, used for updating work logs on daily basis.
It has 2 modules, user and admin. Users can add/update his/her daily work or schedule work for a week or month. Admin can manage members, view the work status of users, and chat or talk to users using this tool.

How To Create Custom PHP Functions to use in Smarty Templates?

Smarty, the popular template engine that serves as a basis for many well-known content management systems such as Xoops, MovableType, and X-Cart, is full of great features. But it is not the most intuitive system for developers to learn to use, and it doesn’t help that the documentation is a bit scanty in spots. So here is the simplest and most complete tutorial you will find on writing a custom function for your Smarty templates.

Why You Need To Write Custom Functions

For most purposes, the built-in Smarty functions are sufficient. But sometimes, you will want to embed a custom function in your templates in order to define certain variables or display certain content. Now if you are wondering why you can’t just use PHP directly in your template, it is because there are some limitations on what you can do.

Yes, you can insert PHP into Smarty templates. You’d do it like this:

{php}
//php code here
echo "Hello World"; //prints out Hello World
{/php}

However, there are problems with this approach. Not only is this rather inelegant, but when you use PHP directly in your template, you defeat the purpose of using Smarty. But above all, there is one caveat: you cannot insert your own custom PHP functions directly within the php tags in a template. This is clearly a big problem for those of us who need to create customized components for a website.

But you can insert your own custom function if you create a Smarty function.

How To Create Your Own Smarty Function

Smarty makes it really easy to add a function. All you need to do is follow these 3 easy steps.

Step 1: Name Your Plugin and Add a Header

To start, you’ll need an empty PHP document. And then, in PHP comments, we add simple code which describes the plugin.

In this case, our plugin will get the length of a string that is passed to it and display output based on how long it is. And our plugin will be called vbchecker. See the sample code below.

<?php
/*
 * Smarty plugin
 * -------------------------------------------------------------
 * File:     function.vbchecker.php
 * Type:     function
 * Name:     vbchecker
 * Purpose:  check string length and outputs a response
 * -------------------------------------------------------------
 */

Step 2: Write Your Function

Next, write the body of your function. There is one thing to pay attention to: all Smarty functions need to be preceded by “smarty_function_” in the function definition, as shown below. And, whether or not your function takes an input, you will always define it with two parameters: $params and &$smarty.

function smarty_function_vbchecker($params, &$smarty)
{
    $length = strlen($params['vbstring']);
    $output = "Your sentence is too long. Shorten It!";
    if($length < 50)
        $output = "Your sentence is just right!";
   
    return $output;
}
?>

And there you have it. You will notice that we referenced an external variable via the $params array.

Step 3: Save It In The Plugins Folder

Now, to add your new function to Smarty, you just need to save it in the plugins directory of your Smarty folder. (ie. Smarty-2.6.3 ⇒ plugins )

Be sure to save the plugin according to the file name that you specified in the header of your plugin.  

And that’s it! All that is left to do is use the new function in your template.

Calling Your New Function Within Your Template

To call your new function, you simply reference it by its name within curly brackets. And if the function requires a parameter, like ours does, you’d call it like this:

{vbchecker vbstring='See, it is very easy to write a function.'}

Obviously, this is a very simple example, but using these steps you can create very useful custom functions for your templates.

Website Security – PHP: Implementing Security To Your Website

Security is one of the major concerns today and when it comes to coding, It becomes a point to re-think what are the best possible ways to implement security to the website.

We have jotted down the basic concepts of web security (in php) which can be used to secure your code from being misused and to which can protect you from some basic attacks.

Use of Nonce

Nonce is basically used to identify if the user is sending request from a valid location. Location here means from a webpage that has been served by the genuine server.

How it works

As the name suggests, it is a combination of occasions.

When a user sends the initial request to a website, the server generates an unique session for the user, which is used to identify the user every-time.

But it is hard to justify if the webpage which is submitting the request is on the same website. Eg. If I have a form on my website with the following code

<form method="post" action="login.php">
<input type="text" name="username" />
<input type="password" name="password" />
<input type="submit" name="submit"/>
</form>

It simply suggests that the data with the key “username” and “password” will be sent to the page named “login.php”.

The same form can be developed on an automation tool in some X machine and can be used to send request to the website, which can lead to security breach

To justify, if the form is submitted from a location from the website itself. A nonce is used.

<?php
session_start();
$_SESSION['nonce'] = md5(rand(1111,99999));
$nonce = $_SESSION['nonce'];
?>
<form method="post" action="login.php">
<input type="text" name="nonce" value="<?php echo $nonce; ?>" readonly/>
<input type="text" name="username" />
<input type="password" name="password" />
<input type="submit" name="submit"/>
</form>

In the above set of code, we have generated a random number which is then hashed using the md5() hashing technique, and stored in the nonce variable.

The same value is stored in the session too. Once someone opens up the website, the nonce will be generated and will be stored in the unique session of the user, when he submits the form, the nonce will be sent back to the server, which will be validated to see if it matches the original nonce. If it matches, then it is coming from a valid source and if not, it is not from a valid location.

<?php
session_start();
if(isset($_POST['username']) && isset($_POST['password']) && isset($_POST['nonce'])){
if($_SESSION['nonce']==$_POST['nonce']){
 echo "Submited from a valid source";
}
else{
 echo "Submitted from an invalid source";
}
}
$_SESSION['nonce'] = md5(rand(1111,99999));
$nonce = $_SESSION['nonce'];
?>
<form method="post" action="login.php">
<input type="text" name="nonce" value="<?php echo $nonce; ?>" readonly/>
<input type="text" name="username" />
<input type="password" name="password" />
<input type="submit" name="submit"/>
</form>

Securing files from being required/included in a file outside of website.

It is a general practice to create generic code and requiring or including it in the files where needed.

This is a great way to implement the concept of Don’t Repeat Yourself (DRY), but there is a security breach that can come into picture here too.

Look at the following codes:

connection.php

<?php
 $connection = mysqli_connect('hostname', 'user','password','database');
?>

save.php

<?php
 require('connection.php');
 //some mysql transaction code goes here
?>

In the above two files, connection.php and save.php, you can see that the file just needs to be written in require() function and it will get required.

The file connection.php can be required from any other source and can be used to showcase all the connection information from any other machine.
For example, anyone can use the global path for the same file to require it in his/her code as below

hackerFile.php

<?php
 require('https://abc.com/connection.php');
 print_r($connection);
?>

The above code will show all the connection information.

To secure it, we can define a variable which can be used as a token to check if it is being requested from a valid location. For example

connection.php

<?php
if(!defined('uniquenamevariable')){
 die('Nothing Found');
}
 $connection = mysqli_connect('hostname', 'user','password','database');
?>
<?php
define('uniquenamevariable',true);
 require('connection.php');
 //some mysql transaction code goes here
?>

So if anyone will require it using a absolute path, he will be unknown of the unique variable name defined in the php code, which will stop him from digging inside the code.

There are a lot other security ways, stay tuned to our blogs to learn more...

Common variations of the website, choose which suits you the best.

There are lots of options for creating websites, here we are going to share you some common types of websites to give you helpful ideas. These include Blogs, Corporate or Business, e-Commerce, Portfolio or Photography, Crowdfunding, News/Magazine portal, Social media, Educational website, portal, entertainment, directory listing website, quiz website, Non Profits or Religious websites, Niche Affiliate Marketing Websites, School or College Websites and a wiki or community forum.

We anatomize some of them here.

1. Blogs or Personal Website

Are you an upstanding writer? Do You have ideas and thoughts which you want to share with others? Are you looking for a platform to do this?

A blog is a perfect space for you. The blog can be typically managed by an individual or a small group, a blog can cover any topic – whether it’s related to travel tips, financial advice, or movie reviews. While blogs are often written in an informal or conversational style. Paid blogs or professional blogging are good ways of earning money online.

You can learn how to Start your first blow Today here

2. Business Website

Are you a startup company? Thinking about where to start? So, first, get your business online. Online presence is important nowadays for every business. Most businesses don’t have their website and due to this their impression on potential clients goes down. Having online presence gives you a global presence and exposure.

The business website is not for selling anything, but you can use these websites to provide information about your ventures and to let your clients or customers know how they can get in touch with you. 

Business or Corporate website doesn’t cost much You can start building your business website with help of CRMs like WordPress easily and quickly without coding knowledge.

3. e-Commerce Website

The most trending and innovative way of earning these days. You can receive payment, manage inventory, shipping, taxes/ and manage users from same canopy.

You can merge your business website, blog website with your e-commerce website. These will be helpful in your marketing also, you can write blogs for promoting your products.

Click here to learn how to build an ecom website without knowledge of coding

e-Commerce website

4. Portfolio Website

Portfolio website is similar to your physical portfolio. But, here you can design and add some interactive ideas to make it more impressive.

A portfolio is generally used to showcase and promote your previous work. It can be used as a CV, creating a great impact on the companies you walk in. Whether you are a student or employer, you may need a platform where you may showcase your work or projects or any services to inspire others.

5. Brochure Website

The brochure website is your online business card. It is quite similar to portfolio website, but the difference is that you may showcase your projects on your portfolio which you have done in your entire career, a brochure website is for showing your selected projects designed for your clients as well as personal projects.

You may use back-links in the brochure website to your portfolio website. The brochure website may have only 5-6 pages. The only information found on the site focuses entirely on the business (not the customers) and is typically limited to these pages.

  • About Us (company history, values, mission, team, etc.)
  • Contact Us (phone number, email address, and contact form)
  • How it Works (for businesses with processes or systems)
  • Pricing (If pricing isn’t straightforward)
  • Portfolio (samples or external links)

6. Niche Affiliate Marketing Websites

You have lot of contacts and you may have always share some new products and services to them. So, this is great option for you to earn from home.

Start your affiliate marketing website and earn by sharing products with your contact.

Also, you can also kick start your talent by selling hosting, domain, or other Online services by simply joining Affiliate programs by good companies like CLOUDPOKO

Affiliate marketing website

7. Portal Website

A Portal website is used for internal businesses, schools, or institutions. This involves the login process and automation of workflow from the same place. These portals are quite complex to design, so this needs an expert.

M/s VIKASH TECH provides, best professional having several years of experience in this field, they can help you to design and develop tools for you. These tools can automate your office work and help in your business growth.

8. Educational Website

Educational website as the name defines, these websites are designed for providing educational information to learners. These websites have lots of information, it may include blogs, portfolios, or portal for educating students.

You can also start your online teaching classes and become an educator to explore your knowledge.

Educational website

And lot more..

We hope you like this blog and get some ideas about different variations of the website. If you are still confused about what you want to develop, share it with us. Our expert team will provide you a better solution for your business growth. We don’t charge for any consultancy, you can call us freely and ask us any IT related queries. We will happy to serve you and share our knowledge with you. Click here to contact us.

Subscribe to our newsletter, so you will not miss our posts, news, or any offers from M/s VIKASH TECH.

E-Commerce : Want to sell online?

It is always a good idea to move your business with the latest trend. Today, when the entire world is moving towards the digital world, a good business idea will be to move online.

There are multiple platforms available where you can sell your products online like Flipkart, Amazon etc.

On these platforms, you can start selling your products by simply registering with them and listing your products on their portal. But! there are few things that might make you concerned while doing business with third party platforms

  • Your data is shared, your client is not yours it’s their client.
  • You pay their charges (market charges, service charges, etc.) that can make your product comparatively costlier.
  • You are not the only seller there! you have competitors who are selling same product on same platform.
  • Your payment is transferred to you on the 14th day or 30th day of transaction
  • They hold the rights to let you do business online.
  • You might not find a place to sell your customized product as it do not fit in the categorization of those companies.

and a lot more reasons can be there when you do not find the ready to use market fruitful for you.

So, What’s Next?

Here is a great solution for people who want to sell their products online without giving the controls to anyone else’s hand. We will walk you through setting up your own e-com website using different platforms, without use of any coding.

We assume that you are a complete beginner and you don’t have any prior idea about website development. So, let’s get started!

What are the requirements to develop an e-commence website?

There are basically a few basic requirements that are required for setting up an e-com platform. You will require to purchase it from one of the many service providers out there.
But, we suggest to go for a good service provider, and while talking about the requirements, we’ll love to suggest you the best ones as per our experiences.

  • Domain Name – The Universal Resource Location (URL) name that will be used to access your website. (Eg. abc.com)
  • Web Hosting – The place where your website files will be kept. In simple word a machine to host your website.
  • SSL – An SSL certificate protects your customers’ sensitive information such as their name, address, password, or credit card number by encrypting the data during transmission from their computer to your web server.
  • Payment Gateway – For accepting Payment online.

You can buy Domain name, Web hosting and SSL from CLOUDPOKO.COM, as this is one of our trusted service providers.

Moving forward, after purchasing the domain, hosting, and SSL we come to our next question.

How to setup our E-Com website?

We assuming that you purchased the hosting from CLOUDPOKO.COM, you will log into your hosting panel (Control Web Panel – CWP panel). You will get an option in the left side menu bar named “Script Installer“. Click on it and you will find a sub-menu named “Softaculous“. Click on it and you are in.

Here you will get options to install 400+ software from the list in front of you. All the software you see are open-source or free to use. So, no issues of paying to use it. Although, in some cases you need to either buy a pro version or move to a subscription for getting the full feature of software.

But hey! we do not need to buy anything now. You can choose to either setup a shopping card directly or opt for WooCommerce setup in WordPress.

In both the cases, it’s too simple and everything start working in just a few clicks.

So, either go to the e-com section in the left menu of Softaculous and choose one of the software to install, or find WordPress and click on install.

We believe, you installed the WordPress. Once your installation is complete, go to the admin section by logging in. Generally, the default path for login page is http://your-domain-name/wp-admin/

Once you are logged in, go to the plugin section and click on add new button. Now search for WooCommerce. You will find multiple plugins when you hit the search keyword. Click on the install button next to the WooCommerce plugin.

It might take some time to get installed, once installed, the install button will change to activate button. Hit it and follow the WooCommerce setup guide. This setup is similar to WordPress installation and will ask you to setup some basic details of your E-commerce website. Fill the details and complete setup.

After the setup is complete, you are good to go with your brand new E-Com website. You can now add your products and start selling it online.

You will require to setup payment gateway, or you can skip it if you want to work on Cash on Delivery (COD) model.

It is simple and can be done just in some time. You should start selling your products today! In case you need support, find us here

5 Reasons : Why you should take an Internship ?

Internship: an opportunity set in almost all curriculum of professional studies. When it comes to internship, it’s a great question to know why should one opt for an internship program ?

We have jotted down 5 reasons for why to take internship :

1. To gain experience

When you join a company, you lack experience and internship is the only way to get it. In an internship, the best part is, you get to do a bit of everything! You will see and experience different roles that people play in companies and see the working culture. This is something that you take into the working world with you because at times, you will be asked to play different roles and perform different tasks of the company. This way, you would have already had a go at things and understood how to multitask.

2. To have a better understanding

An internship allows you to take time to understand your role, tasks and the industry. Internships want you to leave knowing more than you came with, and this is most likely the outcome. Take this opportunity to understand each task you are given and every new tool you use. Write things down, ask questions and do things repeatedly to make sure you are doing everything with 100% effort.

3. Have the opportunity to learn and watch

You can learn from the best during an internship. People will be watching over you and working closely with you on projects so that you have someone to look up to and a goal to work towards. Perhaps you will learn new skills from these people and new things about the industry and life that you didn’t know before. Communication and interaction is key so ask plenty of questions and don’t be afraid to propose new ideas!

4. Gain the ability to put new things into practice

You can try out new skills and tools without the pressure of being wrong. Internships are a time to experiment, and people who hire you for that internship know that. They expect you to learn from your mistakes and use this as motivation to get better at the things you were not so great at before! Take these new ideas and skills to your next job and find a way to incorporate them into any tasks you are given.

5. Build confidence

Whether it be public speaking, giving presentations or simply suggesting new ideas, internships will build your confidence which allows you to grow as both a worker and a person. Confidence is key because if you don’t believe in yourself…who will? There is a fine line between confidence and arrogance, so make sure you don’t cross it because no one likes an arrogant worker! Internships will help you to build confidence through practice which will also help in your personal growth. After all, practice makes perfect!