Tag: Business Website
XML parsing problem – HTML entity characters in XML
Problem We had written a PHP program to parse large XML files and split each file into smaller chunks. Program was working fine for all the XML files except few. It was not splitting some XML files. After looking for
Paypal Integration | Creating ClientId and Secret Key via REST API
One needs ClientId and Secret Key for payment through Paypal via REST API. To get values of these 2 key fields, follow these steps: 1.Create a Developer account on Paypal site “https://developer.paypal.com/”. 2.Click on Sign up button at top right
IE 11 broken image issue
Recently we faced a strange issue in one of sites we have developed in WordPress. We are displaying thumbnail images on a page. The site looks great in Firefox, Chrome and Safari. But in IE, some of images were broken,
Accessing AWS S3 bucket in PHP | Period / Dot in Bucket Name
You may face a problem in your code if you are trying to access an AWS S3 bucket which contains period / dot in its name (like my.first.bucket). It gives a fatal error in PHP. This problem actually occurs with
PHP | Encoding Spanish Characters with json_encode
You may face a problem with Spanish characters in PHP while trying to use json_encode. After json_encode it doesn’t give any result and no any error either. For solving this use utf8_encode instead of json_encode. $result = utf8_encode ($value) Webner
Codeigniter | How to remove index.php from URLs
Problem: The default URL for Codeigniter contains index.php in it. How to remove that from URL? For example: How do we change http://localhost/workspace/pagination_demo/index.php/Home/ to http://localhost/workspace/pagination_demo/Home/ Solution: Steps: 1. Go to application- config folder inside your project: 2. Open config.php file: This
Error Code: 3. Error writing file ‘/tmp/MYMI5iqH’ (Errcode: 28)
Problem Recently in a website we were developing in Codeigniter PHP Framework, some of the urls stopped working and started throwing 500 internal server error. On investigation we found a MySQL query which was causing the problem .Query is simple
Heroku | Run Cakephp Code as Cron Job
Problem The requirement was to run CakePHP controller action as cron job on Heroku. In order to achieve this you need to schedule this action so that it runs at specific time intervals on Heroku. To run the code you
Cannot Start Apache Service
It’s a common problem while starting XAMPP, especially for Skype users. The default port used by both Skype and Apache is 80. In order to use both of them you should change the port number for one of them. Here