Place this code in the .htaccess file to disable processing of PHP files in a folder. This will remove the PHP handlers in Apache forcing the browser to load the PHP file as a text file. You can use this to secure folders where upload is allowed to prevent executing uploaded PHP files. RemoveHandler .php .phtml .php3 […]
The first of three debates that I wrote for a business class a few years ago. The purpose of the assignment was to debate a business issue in less 200 words. I hope some Business Administration students will find this helpful. Debate 1: Is it personal? or is it just business? Mr. Speaker, we are […]
Here’s a PHP script that demonstrates an easy way to get a country name or code from IP address using pure PHP. Included in the file: GeoIP.dat: a binary databases of countries and IPs maintained by MaxMind.com. The database is updated monthly and has a 99.5% accuracy rate. You can always get the latest version here. geoip.inc […]
Did you ever wonder how you can type a heart symbol ♥, a smiley face ☺, a little circle • or even the copyright symbol © ? Wonder no more. You can type these special characters by holding the ALT key on your keyboard and entering the symbol’s number. For example to type a smiley […]
When planning a marketing campaign marketers have to take into account the changes in the marketing environment, including the competitive, social-cultural, technological, economic and political-legal environments. Here is an example of the changes that happen in these environments and their effect on Anheuser-Busch’s Budweiser marketing strategy.
Here is a little snippet of CSS code that you can use to center a background image. The background image will be fixed in its center position even if you scroll up or down the page. Place this CSS code in the HEAD section of your HTML code Don’t forget to change background.jpg […]
This is an easy way to extract links from a web page using a web browser control and a reference to Microsoft HTML Object Library. This code will extract all links in the href property of the A tag and save them to a text file named urllist. Create a form. Add reference to Microsoft Html Object Library. […]