January 2007

This error gets me all the time when using MS Remote Desktop to access remote Windows servers.

List the active sessions for the server 1.2.3.4

 
SESSIONNAME  USERNAME        ID      STATE     TYPE
console      Administrator   0       Active    wdcon
rdp-tcp                      65536   Listen    rdpwd
rdp-tcp#2    Administrator   1       Active    rdpwd
rdp-tcp#4    Administrator   2       Active    rdpwd

Kill session #2

 

Popularity: 3%

{ 1 comment }

To split a variable $act like:

$act = 'coupon:edit';
$act = 'coupon:delete';
$method = substr($act, strpos($act, ':')+1);

Popularity: 9%

{ 3 comments }

Open Relay Test

18 January 2007

From the machine to test: telnet relay-test.mail-abuse.org

Read the full article →

Be Care When Changing Contact Email on a Domain at Godaddy.com

15 January 2007

I recently tried to transfer a block of domains out of Godaddy.com for a client. We had to update the email as the domain was registered, forgotten and the original email contact was given over to spammers. ICANN regulations say: Upon denying a transfer request for any of the following reasons, the Registrar of Record [...]

Read the full article →

ZenCart Manufacturers System Errors

12 January 2007

In ZenCart versions immediately prior to 1.3.6 using many of the public side manufacturers functions may produce this error: Warning: constant(): Couldn’t find constant in  …/includes/init_includes/init_add_crumbs.php on line 45 The error is caused by a missing database column that was added in the official 1.3.6 release. If upgrade is not immediately possible the following SQL [...]

Read the full article →

Reductive

11 January 2007

adj. characterized by or causing diminution or curtailment; “their views of life were reductive and depreciabory” – R.H.Rovere

Read the full article →

Interesting Ecommerce Comparison

9 January 2007

The “killingest” assumptions businesses make revolve around how their customers buy. Suppose you and 99 other people go into an electronics store and purchase the exact same item. That’s 100 sales. But you can probably guess those 100 sales didn’t unfold in the exact same way. No properly-trained sales person would ever use the exact [...]

Read the full article →

PHP Register_Globals and Register_Long_Arrays

9 January 2007

After upgrading several servers to PHP5 a few older versions of popular applications started giving odd errors. Register_globals has been configured off by default for security reasons since early PHP4. Applications that rely on register_globals all had .htaccess files enabling it for the subdirectory only. The errors we were seeing were similar though, data didn’t [...]

Read the full article →

Apache Error: Client denied by server configuration

6 January 2007

Apache 2.0 changed the default DocumentRoot permissions to be very restrictive. While I can’t argue this is a better security paradigm than less restrictive default permissions, in the real world upgrading a server with 300+ domains, it can be a pain to script permissions changes in all of the config files. <Directory />     [...]

Read the full article →