Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts
How to integrate the SMS gateway hub API in PHP

How to integrate the SMS gateway hub API in PHP

Hi, In this tutorial, I am going to explain how to integrate the SMS gateway hub API in PHP. What is SMS gateway hub ? SMS gateway hub is an SMS provider in India. It will allow to easily send & manage texts from PC, Web, Android, API or Excel. First, We need to register at the https://www.smsgatewayhub.com/ SMS gateway hub  offers a free...
How to enable php intl extension in XAMPP / WAMP

How to enable php intl extension in XAMPP / WAMP

What is the php intl extension. It is a Internationalization extension. It is useful for formatting currency, number and date or time as well as UCA-conformant collations, for message formatting and normalizing text..etc If you want to enable the php intl extension .Follow these steps. Step #1: Open the [xampp / Wamp path]/php/php.ini file Now search...
How to send  email using Gmail SMTP with PHP

How to send email using Gmail SMTP with PHP

Generally any web application needs to send the emails to the users when there registration for the verification purpose or any notifications to the users. In this mechanism we would like to send the emails through Gmail SMTP Configuration. This is very simple to configure the SMTP setting in php Before going to the code you need Your working gmail...
How to get the base url in php

How to get the base url in php

Suppose you have to retrieve the URL of the application in PHP i.e http://example.com Using this piece of code //output : example.com $DOMAIN = $_SERVER['SERVER_NAME']; // output: http:// $protocol = stripos($_SERVER['SERVER_PROTOCOL'],'https') === true ? 'https://' : 'http://'; // output : http://example.com $main_url = $protocol.$DOMAIN; When...
How to embed the user address using google map in php

How to embed the user address using google map in php

If you want to display the user's address in google map in their profile’s page. It is very simple follow these procedure. Generally in user registration we store the user information like country, state, city or even taken the address fields. Do you want to display the user's address map on their profile page. You must need the address of the user. This...