TagPHP

How To Extract Email Attachments With PHP

H

Looking for how to extract email attachments with PHP? I was too, because I needed to extract pictures from mail that came in. I’ve been looking around, and it looks like the best thing’s this: PHP Mime Mail Parser Class using PHP’s MailParse Extension. It’s an open-source project hosted on Google Code.

How To Install IonCube Loader On MAMP On Your Mac

H

MAMP (Mac, Apache, MySQL, PHP) is a package that allows you to run your own PHP-enabled web server with MySQL easily on your Mac. However, if you’re looking for additional libraries like the ionCube libraries, you’ll need to download and install them yourself. That’s not bad because it’s not hard at all. What you need is to go to , and download the ionCube loader file for...

How To Activate/Install GD Library In WAMP Under Windows

H

Some projects require activation of the GD library, and this is especially true when you have to do image manipulation with your PHP script. If you’re using WAMP (Windows Apache MySQL PHP) in Windows, then good news: WAMP comes with GD library, just that it’s not activated by default. To activate the GD library, go to your WAMP’s PHP.ini file, which can be found by clicking on...

Simple Way to Relay or Pass POST Data From A Page to Another Without .htaccess, Even Cross-Domain

S

So I had a page which I absolutely could not change or rename. The challenge was, this page would normally receive POST data, and I had to pass or relay this POST data to another page, which resided on another domain. I tried .htaccess, but that didn’t work, so I figured that I had to do some programming. It was simple enough with the curl library to do so, and here it is – The method...

PHP Code to Detect IE Browsers

P

The extremely buggy way that Internet Explorer renders CSS annoyed me again, this time because of the different way it displays elements with z-indexes. I spent a couple of hours trying to fix the bug, failed, and decided to go about it another way. The problem lay in a CSS/Javascript rotating banner gallery ,so I used PHP to redirect all Internet Explorer users to a static version of that...

Protect Your Wireless Network with MAC Address Filtering…A Bad Idea

P

To secure your wireless network, you can use a variety of means, and one of which is by selecting only what MAC addresses are allowed. This is known as MAC filtering, and it can serve as a basic deterrent against most opportunistic attackers. However, just using MAC filtering alone will probably be a bad idea. It doesn’t take much determination or knowledge at all to spoof a MAC address. In...

Edit .htaccess to increase PHP’s max file upload

E

To increase the upload file size limit on your website, you need to edit PHP’s configuration settings. Unfortunately, not everyone has their own web server, so most of the time people are constrained by the limits of shared hosting. But you can still modify your base php.ini file by creating your own php.ini with the edits that you want. Your php.ini file needs to be in every folder...

About Author

I've over 17 years of entrepreneurship experience, having built a tech company to be the top in the country, which was subsequently acquired for an 8-figure sum. As CEO, I led the company through robust growth to 150 employees across 4 countries. After the acquisition, I embraced minimalism, sold off my personal possessions, and started living around the world.

Read more about my story here.