islandgrl.net

wow, I did that?

I just got a request recently to add some features to a PostNuke module I developed for a client about 2 years ago — my first PHP project ever… I was kindof dreading the whole process. But low and behold… I’m finding things like:

// HLG – REMOVING UNNECC FUNCTIONS
// include ‘modules/’.$modinfo['directory'].’/pnincludes/swtypes.php’;
// include ‘modules/’.$modinfo['directory'].’/pnincludes/manufacturers.php’;
// include ‘modules/’.$modinfo['directory'].’/pnincludes/software.php’;

Holy Cow! I commented the daylights out of this project. Yay for me.

Share:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • Mixx
  • MySpace
  • StumbleUpon
  • Technorati
  • TwitThis
1 comment

One Response to “wow, I did that?”

  1. Dan Atkinson says:

    Yeah, I’m finding some of my early code like that.

    Really basic stuff though. Like for loops. EG:

    //For i is zero, i is less than the rows in the datatable, iterate through the rows
    for(int i=0;i

Leave a Reply