Suppose that you are creating an app for social login like Facebook login. Then you will need HTTPS URL.Suppose that you are a design or developer and you are working on a site. And that site is completely built. Now you have to test that site on mobile without going live on the server.
PHP 7.4 introduced a new Zero Coalesce Assignment Operator?? (=). This is used in combination with isset() method to replace the ternary operation. This operator is used for assigning its right-hand operand value to its left-hand operand only if the left-hand operand value is null.
I’ll share how you can build custom helpers in your CodeIgniter app. Helpers, as the name suggests, assist with tasks. CodeIgniter helpers file is a compilation of functions in a particular category. The helpers functions in your controllers and views are used to prevent repetitive code and they are located in the directory Machine/Helpers.
I will share with you how to delete a string from the beginning of a list. Method substr) (extracts parts of a string starting at the given position and returns the specified number of characters
It is very common that people would change dates in their projects. People want to change the date in different formats.Now i am share to how to change date format in php. You can change the date-time using strtotime () and date() function.
Now i am showing how to highlight keyword in content. User type keyword and highlight keyword in string. In php function you can easily highlight matched word as full keyword in search result
When you have built your website and computer’s mobile edition (desktop / laptop). You’ll need to make sure that your mobile visitors are routed to your mobile website. For example, if you’ve built 2 web site w3-html.com and mobile site m.w3-html.com. If anyone visits w3-hmtl.com on their mobile phone, a way to redirect them to m.w3-html.com is needed. You can follow below example to you redirect to mobile site
I am going to show you how to json data in array. You can Use PHP default json_decode() funcation to objects are converted to standard objects. When use pass TRUE Parameters in json_decode(), returned objects will be converted into associative arrays. In below i gave you both example.
I am going to share how to get the client IP address using PHP. You can use PHP inbuilt function to get IP address. We are using IP address for tracking purpose. IP address mostly you can use for fill the payment form. Because we could truck for Future. If the payment fails or any other reason.