Archive for the ‘Web’ Category
How can I protect e-mail addresses on my website from being harvested by spammers?
Spammers use web-crawlers to search web-pages for e-mail addresses. There are ways to make it more difficult for these crawl-bots to harvest your email address. These links tell you how:
Links:
Ten methods to obfuscate e-mail addresses compared
PHP 4 class to obfuscate e-mail addresses (based on above link)
How do I keep image colors the same between Photoshop and Flash?
When I imported an image I created in Photoshop CS 3 into Flash CS 3, the colors always used to change. They were nice and bright in Photoshop, but flat and washed-out in Flash.
I finaly found out this has to do with the color profile settings in Photoshop. By default, RGB images in Photoshop are saved with the sRGB profile. Flash however uses the “normal” RGB profile, and this causes the color-change.
To stop this, in Photoshop chage the RGB color profile to Monitor RGB. Images created and saved with this profile look the same in Photoshop and Flash.
You can change the Photoshop color profile under Edit > Color Settings…
Original post and more information: The mysterious save for web colorshift
Status: Tested it, works
What is a good open source online .flv video player?
Recently a client asked me to post a Flash Video (flv) on his website. I did a little web-surfing-research to find a nice open-source flv player to show the video. I ended up using the FLV Player.
I liked it the best because of the way it looks (don’t be put off by the green color, this can easily be changed), because of the easy and extensive configuration, and because it’s really open-source (opposed to the popular JW player for example, which is not free for commercial use).
Link: www.flv-player.net (I prefer the Maxi version of the player)
Status: Tested it, liked it
Why do my colors look different when I use the “Save for web” option in Photoshop?
When I used the “Save for Web & Devices” option in Photoshop CS3, I noticed the colors of the saved image looked different from the colours of the original. After some web-surfing-research I found out the problem was this: by default, images saved with Save for Web and Devices are converted to the sRGB color profile. Switching this option off solved my problem. The option is hidden in the little arrow button right from the color preset selection menu (view screen-shot).
Original post and more in-depth discussion about the use of color profiles in web-design: Photoshop CS3 and Save for Web issues | Tancredi
Where can I test different Content Management Systems?
If you’re looking for an open source LAMP (Linux Apache MySQL PHP) based CMS, but you want to test some first, try opensourcecms.com. They provide working demo’s of just about every open source LAMP content management system.
Link: www.opensourcecms.com
How can I use the same SMTP server while mailing from different locations?
When you work on different locations, you can’t always use your ISP’s outgoing mail-server (SMTP server). When you have a Gmail account, Google offers the free service of using their SMTP server for your outgoing mail, no matter where you are. These are the settings you need to change to make it work:
- Outgoing mail server (SMTP): smtp.gmail.com
- Use authentication: Yes
- Use SSL: Yes (some clients call this STARTTLS)
- Port: 465 or 587
- Account name: Your Gmail address (including ‘@gmail.com’)
- Password: Your Gmail password
Note: when you’re using Gmail as your SMTP server but are not sending your e-mail from your Gmail address, by default Google will change the “from” address into your Gmail address (so to the recipient the email will seem to be sent from your Gmail address, and he/she will most likely reply to this address as well). To prevent this, in your Gmail Settings, go to Accounts, and under Send mail as click on Add another email address. Here add the address you want the “from” address to be, and after adding it click on the make default link behind it.
Links:
Original post: Gmail as a free smtp server
How to use Gmail as your SMTP server
Gmail
Status: Testes it (Apple Mail), works
Where can I find soundeffects online?
You can find a lot of soundeffects on the sounds-searchengine: FindSounds.
Update: I recently came across Soundsnap.
How do I verify my WordPress.com blog on Google webmaster tools?
- Write a new Page (not Post).
- In the title field, paste the exact code that you get from Google Webmaster Tools option “Upload an HTML file” (this is the verification method you have to choose).
- Publish the new page on your WordPress blog.
- Ask Google to verify your WordPress blog.
- After Google has verified your blog, you can delete the page.
Status: Tested it, works (nice!)
How can I check if PHP on my webserver supports sessions?
The simplest way to check if sessions are enabled on your PHP installation is with the phpinfo(); command:
<?php phpinfo(); ?>
This generates a table with an overview of all PHP settings on your server.
To check if sessions really work you can use this code:
<?php
// Start Session
session_start();
// Show banner
echo '<b>Session Support Checker</b><hr />';
// Check if the page has been reloaded
if(!isset($_GET['reload']) OR $_GET['reload'] != 'true') {
// Set the message
$_SESSION['MESSAGE'] = 'Session support enabled!<br />';
// Give user link to check
echo '<a href="?reload=true">Click HERE</a> to check for PHP Session Support.<br />';
} else {
// Check if the message has been carried on in the reload
if(isset($_SESSION['MESSAGE'])) {
echo $_SESSION['MESSAGE'];
} else {
echo 'Sorry, it appears session support is not enabled, or you PHP version is to old. <a href="?reload=false">Click HERE</a> to go back.<br />';
}
}
?>
What is a good Mac FTP client?
My personal favorite is Transmit. It’s not free, but not expensive either ($29.95). A free (and open source) alternative is Cyberduck. Another interesting free option is FireFTP, which is not a standalone FTP client, but a Firefox plug-in.
Status:
Transmit: Tested it, like it a lot
Cyberduck: Tested it, works
FireFTP: Tested it, works

