Browsing category PHP

Install Bulk Mailer on cPanel (Shared hosting)


Bulk mailer is a Laravel based application and is designed by assuming that you have full access to the terminal to use it at it full potential. But if you don’t, that don’t worry you can still install on your server just by following below mentioned steps, but you have to do this all on

Registering custom tab to laravel debugbar


In order to register custom tab in laravel debugbar, you need to do following things to make it working properly. Register your custom tab in AppServiceProvider.php like \Debugbar::addCollector(new \DebugBar\DataCollector\MessagesCollector(‘My Custom Tab’)); Now, go to the place where you want to log data in that collector like so $collector = \Debugbar::getCollector(‘My Custom Tab’); $collector->addMessage(“My custom message”,

How to fix CORS Issue in Smart Chat?


This problem occurs when you host Smart Chat at one domain and using its code on website which is on other domain. To resolve this problem, follow below steps. Open index.php file at Smart Chat root folder After PHP tags in line number 2 just paste this code and you are done. header(“Access-Control-Allow-Origin: *”); (this will allow