Currently a lot of users are confused - Google Adsense monthly balance shows more money than you receive in next month`s payment. When payment is issued you probably wonder “ok, maybe the rest of the money will be paid some time later”. But it won`t happen. You might see something like this:

Balance at end of April €223.74
May 24 Payment issued (€98.10)

There is a problem in Google Adsense payments page and they`re trying to fix it. The montly balance is shown incorrectly. To show correct values - go to payments page and change the “view: Last 3 months” dropdown to “View: All time“. Now you should see tha real monthly balance at the end of each month, unfortunately it`s smaller than you hoped ;)

If you`re using drupal, you might encounter this error, when upgrading to Drupal 6.16:
Fatal error: Unsupported operand types in path_to_drupal/includes/common.inc on line 1426
It happened to me when I tried to create a node that is unpublished (”Published” checkbox is unchecked) or trying to unpublish a published node.
There various modules that conflict with the 6.16 drupal core common.inc file which is changed in 6.16.
This is a fast fix of core file and it works for me.
Open up the includes/common.inc file, search for:

function url($path = NULL, $options = array()) {

(around line 1418)

Replace this code:

Only good words have been said about Wavears LE for iPhone - a 3D sound enhancer in a music player. But I had no chance to test it. While it is possible to download the application through CYDIA, it doesn`t work - when you open the app, it says “, new version is out, go to website, download update, blah blah”. When you go to their official website, it states that the iPhone version is in development process and not available yet.
How to run it? Simply go to Settings > General > Date & Time > Set Date & Time. Just change the year to 2008. Now you can open the Wavears LE app since it just checks for date. No idea what date, but WavearsLE checks if it has passed some specific date where it requires you to update.
My personal thoughts of the app - it just changes

If you`re using some kind of CMS, usually its normal that each URL works with or without trailing slash, e.g. these URLs would be the same:
http://example.org/about
http://example.org/about/

Still Google, Yahoo, MSN and other search engines treat them as different urls and gives penalty as they are dupliate URLs with identical content.
You have two options - to add or to remove the trailing slash. After a bit of reading I chose to remove the slash from my celica site, because I`m using Drupal CMS that removes trailing slashes for new content and I don`t really want to hack the CMS plugins. To alter the URLs, you need to edit .htaccess file at the root directory of your website ( http://example.org/.htaccess )
Add this code to your .htaccess file to remove trailing slashes:

I encountered problems for last 6 months to upload music on my dj site - www.djnet.lv . I have flash CMS admin on djnet.lv but the songs are uploaded to other site of mine, where HDD space is not a problem. about half year ago I couldnt upload songs from some computers, now its from all computers. It just stops. I had suspicion it had something to do with new Flash Player versions 9 and 10. So today I fixed it just by uploading simple file to my file hosting server: crossdomain.xml.
Flash player always looks for domain.com/crossdomain.xml file when it accesses its contents or uploads something. The is what my security policy file contains:
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
<allow-access-from domain="www.djnet.lv"/>
<allow-access-from domain="djnet.lv"/>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>

This might be also useful for other digital audio workstations like Cakewalk Sonar, M-Audio Pro Tools or Adobe Audition. Maybe not.
I tried Cubase (portable version) on my work computer and couldn`t get any sound output. It actually didn`t show any device under VST output devices. Since it`s some basic integrated sound card, it hasn`t ASIO drivers natively, probably. Solution is rather simple - install ASIO4ALL - http://www.asio4all.com/. done :)

WMM2 does crash terribly on a new pc. If you`re experiencing crashes every 2 minutes using Windows Movie Maker 2, try disabling codecs. Go to Tools > Options > Compatability. Try unchecking a few codecs, especially “Avisplitter”. It worked for me!
If you cannot solve the crashing, try this page: http://www.papajohn.org/MM2-Issues-Acceleration-and-Codecs.html

How to: Disable new user registration in DrupalAfter a quick search I didn`t find how to simply switch off new user registration in Drupal. But it has even better feature - access roles. You can specify what usernames/emails/hostnames can access the members area or even register as user.
To disable new user registration, you have to add access rules for existing users. Go to yoursite.com/admin/user/rules/ and add a new rule. For example, first add an allow rule for user “admin“. Then for other existing users. After you have finished, add a deny rule and write “%” in the username field. This will allow to login only the allowed usernames and deny everything else. If the username is not defined it cannot be also registered.
You can even make private site and say to your friends add e.g. “-foo” to their usernames. So you make an allow rule with “%-foo” in username field.
The reason I need to block new user registration is spam. New users register everyday with random spam usernames.

Horrible combination, spent all day on this!
My goal was to take some data (which contain UTF-8 unicode characters), generate a CSV file using PHP and send it via mail. The problem is that Microsoft Excel doesn`t accept UTF-8 CSV files.
Some people suggest using mb_convert_encoding($contents, "ISO-8859-1", "UTF-8"); or mb_convert_encoding($contents, "UTF-16LE", "UTF-8");, neither worked for me, though I have multibyte extension installed
It seems that the solution is different by server setups. This solution worked for me:

$message= iconv("UTF-8","WINDOWS-1257",html_entity_decode( $message ,ENT_COMPAT,'utf-8'));

Today we encountered a problem. Nothing showed up in Google Analytics tracking campaigns. We used a clickTAG code to swfobject (a.k.a FlashObject) like this:

so.addVariable(”clickTAG”, “http://domain.com/some_page/?utm_source=Banner&utm_medium=Banner&utm_campaign=Banner3″);

But the banner link only went to “http://domain.com/some_page/?utm_source=Banner”. After a bit of research I found out that Flash didn`t accept anything that’s after the ampersand &. Some suggested using &amp; instead of &, but it did not work. I`m not sure if it`s a problem of Flash or SWFobject, but anyway I found a simple solution - use javascript escape() function to translate the URL, like this:

so.addVariable(”clickTAG”, escape(”http://domain.com/some_page/?utm_source=Banner&utm_medium=Banner&utm_campaign=Banner3″));