Hosting PHP 

How to redirect / rewrite urls using .htaccess file

What is .htaccess? The .htaccess (Hypertext Access) file is an Apache distributed server configuration file. You can use the .htaccess file to set server configurations for a specific directory. .htaccess file is created in order to enable extra features for that subdirectory. Creating .htaccess: we have to create .htaccess in the application root path. But if you want only for a specific subpath then you can create in subpath too. Note: While adding urls, please replace all the example.com domains with your specific domain. Redirecting all URLs: The following line…

Read More
Amazon(AWS) Email PHP showcase 

How to integrate AWS SES with PHP – PHPMailer

In this article we will look in to, how to implement amazon AWS SES (simple email service) in PHP using PHPMailer library. Register with AWS Step 1: Register with AWS and verify your primary email. If you are a new user then by default AWS will give you limited access as an SES sandbox account. this might be enough for testing. But when you want to deploy the application in production then it will be a bit difficult, so after testing, request for production where you will get much more…

Read More
C#(cSharp) Javascript jQuery PHP 

Shuffle Array and array of object values in javascript, PHP

#1 Javascript: in javascript, there is no array shuffle inbuilt function, so we need to find some custom solution solution1: Solution 2: #2 PHP: In php array shuffle is very easy to implement because, there is a inbuilt function provided “shuffle()“ #3 C# : In c# there is no direct shuffle function, so we need to use random and orderby to get the output #4 Java : Implemented via custom function Arjun JSArjun is a Full-stack developer, who is fond of the web. Lives in Chikmagalur, Karnataka, India arjunckm.in

Read More
OpenCart Payment Gateway PHP 

PayKun Payment Gateway Integration in OpenCart

PayKun is the simplest way of collecting online payments. Its really like new startups and building products globally. Follow below Steps to Integrate payKun payment gateway in OpenCart . #1 Step: Generate Access token and API Secret : You can generate Or Regenerate Access token and API Secret from login into your paykun admin panel, Then Go To : Settings -> Security -> API Keys. There you will find the generate button if you have not generated api key before. If you have generated api key before then you will…

Read More
Email PHP 

How to enable domain to send mail through PHP mail() script in CPanel

Yes! we faced this problem many times because previously in CPanel through PHP mail() function you could send mail within a domain. for example, using mail() script you could have sent mail from abc@getcodify.com to xyz@getcodify.com but now if your hosting company has enabled third-party mail delivery through PHP mail() script then you have to follow one simple step to send emails from your PHP mail script to third-party mail services like Gmail, Yahoo or outlook. After creating your email with your domain name you have to register the email which…

Read More
Ajax C#(cSharp) Javascript PHP 

How to create server side session using javascript

It is possible to create a server-side session using javascript for any server-side programming language like PHP, C#, Python etc. by just calling server side function using ajax calls as shown below. To do that, first create a server side application file and write the session variables which you want to set, then in client side javascript just pass the data which you need to set as a session to the server side application function using Ajax call as shown in below examples First, we will take an Example of C#/Asp.net. Javascript…

Read More
sendinblue logo C#(cSharp) Email Integration PHP 

How to Integrate Sendinblue Transactional Email

Send in Blue is one of the good campaign, Marketing, and Transactional Email integration system. Features of Send in Blue are: In Free Service only You Can Send 9000 emails/Month and there is no contacts limit to send (can send to 9000 unique contacts). Per day you can send 300 Email and 40 emails /hr, this may increase/decrease based the reputation you get from sendinblue. it is purely judge based on the emails you send. This all above is applicable if you are using a free version, if it’s an upgraded…

Read More
mobile-device-detection-in-php PHP 

How to Detect Mobile Browsers and Redirect site in PHP

Nowadays responsive designs are must for better display of the websites and all prefer to use it. So in this, We have used a PHP class Mobile-Detect it uses the User-Agent string combined with specific HTTP headers to detect the mobile environment. Get this class file from GitHub. index.php Contains PHP code to detect device and redirect if the device is mobile or tablet.   PHP with Ajax multiple file upload   Arjun JSArjun is a Full-stack developer, who is fond of the web. Lives in Chikmagalur, Karnataka, India arjunckm.in

Read More
Ajax PHP 

PHP with Ajax multiple file upload

Please go through the following steps to implement PHP with Ajax multiple file upload. Step 1: Create a file called index.php and add below codes Step 2: First create folder called “images”, and then create 2nd file  called upload.php Click here for github file Repository Arjun JSArjun is a Full-stack developer, who is fond of the web. Lives in Chikmagalur, Karnataka, India arjunckm.in

Read More