Category Archives: Web Development

Parser Error Message: Could not load type ‘_Default’

While developing a .Net web app in C# with Visual Studio 2005, I got this error: Parser Error Message: Could not load type ‘_Default’ The reason: My website configuration was using the wrong .NET framework version (1.1.4322). The solution: Change it to use a .NET 2.0 version. In my case, 2.0.50727 The result: a nicely [...]

Disabling the PHPSESSID in the Query String

If you’ve worked with PHP sessions, probably your URL looked something like this: http://www.yourdomain.com/page.php?PHPSESSID=59aa95ad46cd67d82ba0f812407326dd If you don’t like the PHPSSID being displayed in the query string, you might have wondered how to disable it. Well, a way to disable it is by setting session.use_trans_sid to off in your php.ini. However, if you don’t have access [...]

/usr/bin/wget: Permission denied

If you’ve ever got the error /bin/sh: /usr/bin/wget: Permission denied when trying to execute a .php script using a cron job, spent minutes/hours trying to find a solution to this, well, I hope this post will help you to save some time. It’s possible that your hosting provider, for security reasons, is not allowing you [...]

The textContent and innerText Properties

In my original post, Using the innerText Property in Firefox, I wrote my example using document.all to determine when to use innerText or textContent. Because the main purpose of that post was to explain to the reader that Firefox does not support the innerText property but the textContent property, I failed to consider other browsers… [...]

Displaying PNG 24-bit Alpha Transparency on IE with CSS

After reading Justin Koivisto’s great article: Normal Display of PNG Alpha Transparency with MSIE and reading his PHP code, I said to myself: “myself, there should be a much simpler (lazy, if you will ) way to accomplish this”. True, I could just copy, paste and use his code, modify the .htaccess file (or add [...]

Simple CSS Layout

Note: By mistake I deleted the original post (dated 08.08.05), so I’m posting it again While I was working on a big project at work, I happened to use CSS a lot and gained a bit of experience and a better understanding on how to manipulate elements and all that stuff. Well, by doing lots [...]

Multiple Submit Buttons on a Single Form

At some point, people ask themselves “How can I have two submit buttons with different actions in one form?” Well, the approach I’ve used to accomplish this task is to ‘emulate’ the submit buttons with regular button controls and changing the form action based on what button was clicked. In the following example I have [...]