InimistTech Blogs

Web & Mobile App Tech Weblog

  • Home
  • Laravel
  • React
  • Javascript
  • Linux
  • PHP
  • git
  • WordPress
  • Hindi to Unicode

Category: PHP

Converting a text string into comma separated words

Arvind KumarPHP1 Comment on Converting a text string into comma separated words

Today, i was looking at some old code of mine to find something when i found this little but useful piece of code which i had written for one of my old projects (and of course when i didn’t had…

Read More→

Setting up a catch-all email forwarder and parsing emails using php

Arvind KumarLinux, PHP6 Comments on Setting up a catch-all email forwarder and parsing emails using php

In one of my ongoing projects i had to set up a “catch-all” email parsing script. Here’s how it came out to be. What is catch-all? In the context of emails, “catch-all” refers to a destination to which all incoming…

Read More→

Form DOM element not recognized (created) in ajax form in IE when placed with end tag missing

Arvind KumarAjax, HTML and CSS, Javascript, jQuery, PHP2 Comments on Form DOM element not recognized (created) in ajax form in IE when placed with end tag missing

Skipping a form end tag </form> costed me almost a day (i had to go to bed abandoning the fixing for some time though;)). I had been using ajaxForm with jQuery to submit ajax form which was placed on a…

Read More→

Setting execution time and memory limits in php

Arvind KumarPHP2 Comments on Setting execution time and memory limits in php

When executing large amount of data through php scripts it is common facing errors like “Fatal error: Maximum execution time of 300 seconds exceeded..”. Also, sometimes uploading large files through php scripts you might face errors like “The uploaded file…

Read More→

Better way to write php code – part 2

Arvind KumarPHPLeave a Comment on Better way to write php code – part 2

With the help of an example i would explain a very common but erroneous approach new php developers seem to follow (i have seen some ‘old’ ones repeating the same error though). Here it is,

Better way to write php code – part 1

Arvind KumarPHPLeave a Comment on Better way to write php code – part 1

A few tips on writing php code that can save a php developer a lot of future troubles and “huffs and puffs” occurring due to different php compiler settings, changing of hosting environment etc. Here is first one.

Clear template cache in x-cart

Arvind KumarMiscelleneous, PHP3 Comments on Clear template cache in x-cart

Have you been making changing into a smarty template file (within x-cart and perhaps independently as well) for long and the changes would not come up at all? Who could tell better how frustrating this can be! The simplest and…

Read More→

Resetting array keys after unsettling a few of them

Arvind KumarPHP1 Comment on Resetting array keys after unsettling a few of them

I have felt this need quite a few times in the past as well. I have an array:

MYSQL custom sorting – order by field value

Arvind KumarMySQL, PHP2 Comments on MYSQL custom sorting – order by field value

In this simple example I will show you a way to perform a custom sorting in MySQL. In this guide of custom sorting I am going to sort mysql rows based on the alphabetical order of the field values. Most…

Read More→

Spliting CSV (comma seperated) entry grouped by double quotes

Arvind KumarPHP2 Comments on Spliting CSV (comma seperated) entry grouped by double quotes

By using fgetcsv function we can have well formatted output for csv data without any pain. If you don’t want to use fgetcsv function for some reason and your CSV comma separated entries may contain comma inside except the delimiters,…

Read More→

Posts navigation

Previous 1 … 7 8 9 Next
  • Useful Linux Commands
  • Enlighter Example - CSS
  • Disk Space Usage Commands
  • Top Directory Linux commands

Recent Posts

  • How to Create a Simple Form and Handle Form Data in PHP
  • How to Connect PHP with MySQL Database
  • The Role of $wpdb for Custom Queries in WordPress
  • React Context API vs. Redux: Which One Should You Use?
  • Build Reusable Components in React

About Arvind

Arvind Thakur is a Full Stack Web Developer. He founded and runs a Software Development company by the name Inimist Technologies in Chandigarh, India. >> know more
Copyright © All rights reserved.
Blog Kit by WP Charms
Facebook
fb-share-icon
LinkedIn
Share
WhatsApp
Follow by Email
Twitter
Post on X
Reddit
Pinterest
Instagram
RSS
Telegram