Welcome to my blog!

Here I try to keep useful information about IT, mostly related to Web development and Linux stuff. Any comments or feedback that you might have will be much appreciated!

Thanks,
Tomi

Firefox crashes after logging out from Yahoo! Mail

Filed Under (Annoyances) by admin on 11-03-2008

It happened to me that all the times that I logged out Yahoo! Mail beta, Firefox would crash completely.
Doing some tests I found that the culprit was Firebug extension for Firefox; I simply disabled Firebug for yahoo.com and I haven’t had any more problems since then.

Versions:
Firefox 2.0.0.12
Firebug 1.05

HTML / JavaScript: Focus user on first available field

Filed Under (JavaScript) by admin on 22-01-2007

So far I haven’t figured out where is the user’s caret when entering an HTML page with multiple fields.

With the following code (placed right before the closing HTML tag), the page will load and focus the first text or text area field on the page. Read the rest of this entry »

Disabling PHP’s safe_mode on Plesk

Filed Under (PHP, Plesk) by admin on 17-01-2007

In Plesk, you can disable on a per-domain basis PHP’s safe_mode. Before doing this though, be advised that disabling safe_mode could lead to security risks for all of your domains on the server. Read the rest of this entry »

Showing MySQL and PostgreSQL’s results on expanded or vertical display

Filed Under (Databases) by admin on 16-09-2006

I do a lot of development with PHP, and often I need to work directly with PostgreSQL and MySQL’s client consoles, for schema work or data manipulation.

On both database clients, you can see a result set on expanded or vertical display (the output formatted in rows instead of the usual columns) with the following methods: Read the rest of this entry »

Password protecting subdomains with Plesk

Filed Under (Plesk) by admin on 16-09-2006

If you need to password protect a directory that is hosted under a subdomain with Plesk, you’ll find that it is not quite as easy as protecting a directory that is avaliable directly from the main domain. Read the rest of this entry »

Blocking connections to ssh without iptables

Filed Under (Linux) by admin on 23-08-2006

On our Internet connected servers, besides using iptables to limit incoming connections, we are using TCP wrappers (hosts.allow and hosts.deny) to reject connections originating on untrusted networks.

Probably you’re already using iptables to block incoming traffic on port 22 (ssh), which is fine but what we want to do is increase security by using a more persistent method for blocking traffic. Don’t get me wrong, iptables’ rules can (and should) be made persistent but sometimes while trying new rules some key ports can be left open. Read the rest of this entry »

Horde 3.0.5 / Plesk 7.5.4 Exploit

Filed Under (Linux, PHP, Plesk) by admin on 13-08-2006

Running a check on Apache’s default logs (/var/log/httpd/access_log), I found attempts to exploit the server thru a “backdoor” in Horde.

I haven’t fully checked what could be done with this exploit but certainly leaving the affected script unprotected is an open invitation for trouble. Read the rest of this entry »

.bo domains not working

Filed Under (Technical Internet) by admin on 19-07-2006

The ccTLD operator for BO (Bolivia) domains is having some major technical difficulties, keeping all of its domains unavailable since 7:00 AM (2006-07-19 07:00 -400). We presume that the problem was originated earlier, with domains stopping to work as early as 1:20 AM. Read the rest of this entry »

Messenger: Due to a connection problem, changes you make might not be applied to other computers you use

Filed Under (Uncategorized) by admin on 18-07-2006

For the last days, I’ve been receiving the following message from Windows Live Messenger: “Due to a connection problem, changes you make might not be applied to other computers you use”.
Read the rest of this entry »

Warn user before leaving a browser’s page

Filed Under (JavaScript) by admin on 11-07-2006

If you’re working with web applications that use complex forms, you probably know that it becomes useful to split a very long forms on several pages (keeping interim posts on sessions variables) and process all the received data on a single transaction. But what happens when a user clicks on the Back button all the way to the first page or just wants to close the browser’s window? Read the rest of this entry »