MALIK SHAFI

Experienced PHP Developer with a strong background in building scalable web applications in the IT services sector. Proficient in PHP frameworks like Laravel and CodeIgniter, and front-end technologies, Skilled in MySQL database management, RESTful API integration, and working with AWS services such as EC2 and S3. Extensive hands-on experience with Nginx configuration on AWS EC2 instances, optimizing for performance and security.
55 Posts

How to Fix a PHP AJAX JQUERY Return PHP Error

When I first started working with AJAX in jQuery, one of the most frustrating problems I faced was returning errors from PHP and showing...

How Do I Fix jQuery ParseJSON Fail When PHP Prints HTML Error Pages

I’ve run into this problem more times than I’d like to admit: I’m happily building an AJAX feature, jQuery is supposed to parse JSON,...

How to Fix iOS Push Notification PHP Error

I remember the first time I tried to send an iOS Push Notification using PHP. It looked simple enough just open a socket to...

How to Fix a file_get_contents() Warning Instead of the PHP Error

I’ve run into this problem more times than I care to admit: I call file_get_contents() on a URL, something goes wrong with SSL, and...

How to Fix PHP Error Showing in Both PHP FPM and Nginx Logs in Docker

I’ve been experimenting recently with Dockerized PHP applications, trying to move away from file based error logs and instead send everything to stdout. That...