Tag Archive | "PHP"

How To Extract Email Attachments With PHP

Tuesday, February 1, 2011

0 Comments

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. Tags: Attachments, Class, [...]

Continue reading...

How To Install IonCube Loader On MAMP On Your Mac

Wednesday, September 1, 2010

4 Comments

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 [...]

Continue reading...

How To Activate/Install GD Library In WAMP Under Windows

Tuesday, February 16, 2010

1 Comment

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 [...]

Continue reading...

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

Tuesday, August 25, 2009

0 Comments

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 [...]

Continue reading...

PHP Code to Detect IE Browsers

Sunday, May 24, 2009

2 Comments

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 [...]

Continue reading...

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

Saturday, April 26, 2008

0 Comments

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. [...]

Continue reading...

Edit .htaccess to increase PHP’s max file upload

Tuesday, April 8, 2008

9 Comments

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 [...]

Continue reading...