Ask Some Geeks

Archive for October, 2007

Clearing Log Files on Linux

Topic: Computers & Technology| No Comments »

My secure and messages log files were getting really big, and after analyzing them to see if there was a reason, I decided to clear them out.
To do so, I first typed: cat > messages, then typed a couple of blank lines, and hit control-c to quit. I did the same for […]

Google Update

Topic: Computers & Technology| No Comments »

It seems that Google is going through an update again. My art and photography website is currently showing a PageRank of 4 (used to be a 5); however, YouTube is currently showing a PageRank of 3, so it’s obvious that the update hasn’t completed yet. It’ll be interesting to see how things end […]

Woes of editing code from other people

Topic: Programming| No Comments »

I’ve been editing an ecommerce website platform called X-Cart, which is a pretty good system written in PHP with Smarty templates. It’s a bit on the slow side, and is missing some functionality that I need such as the ability to do multi-payments, but all and all, it’s a fairly decent package.
We do a […]

Editing X-Cart ecommerce shopping cart system

Topic: Programming, Web Design| No Comments »

There are a few things in the X-Cart shopping cart that typically needs to be edited before the site is ready to go live.
The order notification that is sent to the admin includes the credit card number in the email. For obvious security reasons, this is not desirable.
There’s a variable you can turn off […]

Regular Expressions and negative lookahead assertion

Topic: Programming| No Comments »

I consider myself fairly good at regular expressions, which is a way to match specific patterns within a string of text; however, today, I learned a new little nugget of information regarding pattern matching.
We needed to match any filename that ended in html or php, but didn’t start with the word “form”. The regex […]

Top | Sidebar | Entries RSS Comments RSS