Skip to main content
Home
  • About
  • Services
    • Digital Experience
    • Digital Business Consulting
    • User Experience Design Services
    • Website Analytics and Consulting
    • Website Personalization
    • Website Personalization Demo
    • Platform Engineering
    • AI Enablement Services
    • Drupal Development Services
    • Drupal Support Services
    • Marketing Technology
    • Quality Assurance Services
    • Impact Services
    • CTO as a Service
    • Conversion Optimization
    • Talent Services
  • Pricing
  • Resources
    • Website Personalization
    • Drupal Blog
    • Articles
    • Case Studies
    • Developers Corner
  • Careers
    • Culture
    • Job Openings
    • Growing@Zyxware
Contact Us
Contact Us
Profile picture for user naveen.pl

naveen.pl

PHP number to word converter using Indian numbering system

Zyxware default image2
Technical Solution | 3 min read
I was faced with a requirement to convert number to words/string in Indian naming system with lakhs and crores. I had to generate the amount in words for printing it out on a bill. The total amount, provided to the customer, needed to be converted to string. For example, if 1345673 was to be converted to Thirteen lakh Forty Five Thousand Six Hundred and Seventy Three, these functions will have to be followed.
Read more

[Drupal 5] PHP Ereg function causes Drupal site to crash

Zyxware default image3
Drupal Technical | 4 min read
We had recently faced an issue in one of our client's website running on Drupal 5. The site had crashed and we were unable to continue development. We began analyzing the problem by checking the free space on the site and came to the conclusion that the now deprecated PHP Ereg function was causing the site to crash. If you are facing the same issue in one of your Drupal sites, read on to know how we successfully fixed the bug.
Read more

[Drupal] How to detect mobile devices using PHP in Drupal backend?

Zyxware default image3
Drupal Technical | 3 min read
My requirement was to detect the mobile devices from the drupal backend and redirect the user to the assigned URL. For this we needed to identify whether the user was accessing the site from a mobile device. For this we had to check the user agent string and compare that with the most common mobile devices. Then depending upon the condition we redirect the user to the corresponding URL.
Read more

How to execute shell command from PHP?

Zyxware default image1
Technical Solution | 2 min read
I had a requirement where I had to execute shell command from PHP. The requirement was that I had to find details of a domain using commands like whois and then store this information into files in a folder. The only input parameter for the process was the name of the domain which was passed on from the Drupal site. The PHP function (shell_exec) was designed to do things like this.
Read more

How to detect mobile devices using Javascript?

Zyxware default image2
Technical Solution | 2 min read
We need to develop websites for a variety of mobile devices along with regular desktop versions. To do this effectively we need to detect the mobile devices when they access the website which can be done through Javascript. Read on to know how to detect mobile devices using Javascript
Read more

[PHP] How to find a specific pattern in a string and replace it with a new pattern?

Zyxware default image4
Technical Solution | 2 min read
Have you ever encountered a situation where you have to find a specific pattern in a string and had to replace it with a new pattern in PHP. You will often encounter such situations during web development or any type of programming. Read on to know how to find a specific pattern in a string and replace it with a new pattern using PHP.
Read more

How to generate filenames from a given string by replacing spaces and special characters using PHP preg_replace()

Zyxware default image4
Technical Solution | 2 min read
You might have come across a situation where you need to set the title of the content as the filename for an uploaded image or where you might need to replace the spaces and special characters from the filename of an uploaded file. In such conditions you can use preg_replace. I will show you some example code where the output string will be nice and clean and can be used for setting file names.
Read more

Overcoming font issues on IE with DTD (Why is my site's font not being recognized by IE?)

Zyxware default image1
Technical Solution | 2 min read
It is required of every Drupal developer to keep ahead of common browser compatibility issues. IE is probably the most notorious browser in any drupal developer’s dictionary. IE is a very peculiar browser in terms of standards compliance. Font issues are very common on IE than elsewhere. Here is a small piece of CSS, that seems to work fine everywhere else other than IE:
Read more
Footer Logo
  • United States
  • Australia
  • India
Virginia Office - 457B Carlisle Dr Suite 205, Herndon, VA 20170
Phone: +1 201 355 2515
Business Inquiry? Contact Us
Looking to join our team? Check our careers page
8 Excelsa Way, Hillside, Melbourne, VIC 3037, Australia
Phone: +61 450 405 000
Business Inquiry? Contact Us
Looking to join our team? Check our careers page
SBC 2205, II Floor, Yamuna Building, Technopark Phase III campus, Trivandrum - 695581
Phone: +91 8157 99 5558
Business Inquiry? Contact Us
Looking to join our team? Check our careers page
Footer main menu
  • Home
  • Articles
  • About
  • Investor Centre
  • Contact
  • Careers
  • Learn Drupal

Footer Secondary menu

  • Verticals
    • Retail
    • Education
    • Public Services
    • Media
  • Drupal Services
    • Drupal Development
    • Drupal Migration
    • Drupal Support
    • Hire a Drupal Developer
  • Digital Services
    • Universal Analytics Backup
    • Website Analytics and Consulting
    • Website Personalization
    • CTO as a Service
    • Marketing Technology
ZYXWARE

Privacy. T & C . © 2025 Zyxware Technologies Pvt. Ltd