Posts Tagged ‘Development’

Image Hotlink Protection

Sunday, March 1st, 2009

Have people been stealing images from your websites? Well, there are not so many interesting images in this site so I don’t really have that problem. You can add a watermark to your image, but I guess everyone knows that.
Another form of image theft also involves bandwidth theft. It’s has many names - hotlink, inline [...]

Popularity: 4% [?]

Perl CGI + Apache + Windows

Saturday, February 14th, 2009

I have always thought it’s difficult to migrate Perl CGI script to Windows. I was wrong, and today I learned how to do it. The configuration part is actually 100% similar!

# This line will ensure only .cgi and .pl files are executed as CGI
AddHandler cgi-script .cgi .pl
 
Alias /request/ "C:/request/"
<directory "C:/request">
AllowOverride None
[...]

Popularity: 2% [?]

Flash Uploader Error

Sunday, November 16th, 2008

I was using YUI Uploader for a personal project and it works very well on my development notebook and server. However when the code is live on the server the Flash uploader failed with this error message:
[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2038"]
After a while I realized that it must be something server-side because when [...]

Popularity: 3% [?]

IE7 and document.body.scrollTop

Monday, December 24th, 2007

After being nagged by my Windows Automatic Updates for quite some time, I finally decided to give in and just install the IE7 update. I made a mistake by not backing up my IE6 files, or trying to find a method to have IE6 co-exist with IE7.
Anyway, I found that the document.body.scrollTop method to find [...]

Popularity: 3% [?]