Category Archive for: "PHP"

25 Articles available
  1. PHP

    Remove .php Extension From URL Using htaccess

    In certain situations, you might want to hide the extension of your files just to make your website a little more complex for hackers to hack. Or you might want to do hide the extensions for the sake of pretty URLs. Whatever maybe the reason, here is an easy way to hide the file extension […]

  2. PHP

    PHP Refresh Page Examples

    You may know how to refresh page using JavaScript. But, do you know how to refresh page using PHP? In this article, I am going to share very easy way to make page refresh using PHP. So read on for more info.

  3. PHP

    PHP Return String From String Using Word Limit Examples

    Some times, it might be useful to extract string from a given string, based upon the word count. A good example of this is an excerpt of WordPress. As you know, an “excerpt” is just a sneak peak of the article. And it is limited by it’s word count (or any other desired criteria). So […]

  4. PHP

    Easily Get PHP Code From Database & Execute / Parse It

    Do you have some custom PHP code in database that you wish to retrieve and parse / execute and show the output in the browser? Here’s an easy way to do just that.

  5. Demos

    PHP Replace Array Value Example

    One of the coolest things of array is that you can hold as much data as you need. So when dealing with arrays, there might have been a time when one would come across a requirement to replace or change array value with another value. In this article, I am going to show you how […]

  6. PHP

    PHP Delete Item From Array Examples

    Arrays, as always, have been a very important concept. While working with arrays, there might have been an instance where you wanted to delete an array element. In this article, I am going to share with you easy ways to use PHP to delete item from array by means of easy examples.

  7. PHP

    Using PHP To Find Value In Array

    Arrays are very important concept, be it any programming language. So while working with arrays, there might be a necessity to find a specific value in an array. In this article, I am going to share a very simple yet easy way to use  PHP to find value in array by means of examples. How to […]

  8. PHP

    How To Delete File Or Remove File Using PHP Examples

    When working with files in PHP, there may be a necessity to create files dynamically and at the same time, remove file or delete file using PHP.  In this article, I am going to share a very easy way to delete a file using PHP. The actual code is just 1 line, so it’s super easy to […]

  9. PHP

    How To Remove Last Character From String Using PHP – Examples

    Some times while dealing with strings in PHP, it may be required to remove the last character of a string. In this article, I am going to share very easy ways of removing last character from string using PHP by means of multiple examples.