Skip to main content

Posts

Showing posts with the label programming

Mobile SMS OTP

mobile otp sms How to build SMS otp for verification in php Today ,i am going to teach you something you cannot find easily on the web,which is sms otp . you can also learn email otp .You see that screenshot above? that's exactly what we are building,cool isn't it ? OTP is an effective way of validating users. This type of validation is widely followed by the banking applications, e-commerce software, and many more verticals. In this tutorial, we are going to see how to implement OTP SMS mobile number verification using PHP,isn't that fun?! There are various APIs available in the market for sending SMS via an application. In this code, I have used the Textlocal API for sending OTP SMS. Textlocal is one of the popular SMS services. It provides the SMS service for many programming languages. Download the API PHP class to integrate it into our application platform. For verifying a mobile number by sending OTP SMS with the use of Textlocal API, we need to create a Textlo...

How to create internet connection status checker for your site users

How to create internet connection checker (Toast notification) Have you ever wondered how site can detect your internet connection status and inform you about it ?have you ?! We see this everyday on social media platforms like Facebook and YouTube and I'll teach you how you how you can create yours easily and simple. we would be using javascript, HTML and Bootstrap 4 Toast component. So based on Internet connection status like online or offline then it will change its icon, text color and text according to status of internet connection. Here we have use Bootstrap 4 Toast component, so this component has some build in animation, so when internet connection status changes then it will display push toast notification at right side top of the web page, so user can see internet connection has lost or not.It should look something similar to this: Here is the code enjoy !: <!DOCTYPE html> <html> <head> <title>Toast Notification for Check Internet Connec...

How to build a chat bot

How to build a chatBot Do you know what a chatBot is? Well if "no" ,a chatbot is an intelligent piece of software that is capable of communicating and performing actions similar to a human. Chatbots are used a lot in customer interaction, marketing on social network sites and instantly messaging the client. So many industry uses it,some times when you think you are chatting with a care line of a companyeyou might be chatting eith a ChatBot !isn't that awesome?. There are two basic types of chatbot models based on how they are built; Retrieval based and Generative based models.Lets talk about them: Retrieval Based Model A retrieval-based chatbot uses predefined input patterns and responses. It then uses some type of heuristic approach to select the appropriate response. It is widely used in the industry to make goal-oriented chatbots where we can customize the tone and flow of the chatbot to drive our customers with the best experience. Generative Based chatbot ...