APIPHPSMS Gatewayssmshorizon

Simple sms integration of smshorizon api

[dropcap]S[/dropcap]imple SMS API (smshorizon api) allow you to integrate powerful SMS gateway into your application or web server, quickly and simply. In the following paragraphs we’ll show you how to send text messages using simple php script. For sending single SMS message, SMS gateway requires various parameters including username, password & API key for authentication purposes. All…
Read more
PHP

Find whole line that contains word with php regular expressions

You want to search for a word “vikram” in a text along with the whole line in which this word appears, no worry following is the solution ;). We would be using php regular expressions for this. A simpler pattern would be ‘/^.*\bvikram\b.*$/m’ Explanation for regex : That is, from the start of a line (^) match 0 or more of any character (.*), a word-boundary (\b), the word…
Read more