CodeIgniter - Open source PHP web application framework

Posted on July 29, 2008, under CodeIgniter, PHP.

CodeIgniter is an Application Development Framework - a toolkit - for people who build web sites using PHP. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. CodeIgniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.

Who is CodeIgniter For?

CodeIgniter is right for you if:

  • You want a framework with a small footprint.
  • You need exceptional performance.
  • You need broad compatibility with standard hosting accounts that run a variety of PHP versions and configurations.
  • You want a framework that requires nearly zero configuration.
  • You want a framework that does not require you to use the command line.
  • You want a framework that does not require you to adhere to restrictive coding rules.
  • You are not interested in large-scale monolithic libraries like PEAR.
  • You do not want to be forced to learn a templating language (although a template parser is optionally available if you desire one).
  • You eschew complexity, favoring simple solutions.
  • You need clear, thorough documentation.

Click Here for Download CodeIgniter PHP framwork.

In Next Post We will see How to write simple “Hello CodeIgniter Application”.

iTunes 7.7 + Windows Vista x64 == OK

Posted on July 20, 2008, under Apple, iPhone, iTunes.

iTunes is a piece of software that lets you add to, organize and play your digital media collection on your computer, as well as sync it to a portable device. It’s a jukebox player along the lines of MusicMatch and Windows Media Player, and you can use it on a Mac or Windows machine. The most significant difference between iTunes and some other media players is the built-in iTunes Music Store (where you can get podcasts, music videos, movies, audiobooks and TV shows, too) and its multi-level integration with Apple’s iPod portable media player.

Changelog:
*Ability to sync music, video, and more with the iPhone 3G
*Download applications for the iPhone and iPod touch

Windows Vista x64

I am happy to announce that iTunes 7.7 and Windows Vista x64 work well together. The Apple downloader even chooses the correct 64-bit version of iTunes through every browser that I have tried, so they obviously fixed something where you don’t need to download iTunes through the 64-bit version of IE. No word yet if the iPhone 2.0 or 1.0 will work with the 64-bit version of windows.

Whats New?

As far as I can see nothing is really new with the application.  The only noticeable things is that the “Games” menu item has now been changed to “Applications”.  So if you were expecting a huge jump forward in functionality you are going to be bummed.  Most of the changes probably went to support their new Mobile Me platform, push applications, and the iPhone 2.0.

We will continue to update this changelog as more features become known

Download: iTunes 7.7
Link: iTunes Homepage

How to Stop Windows Automatic Updates from Restarting Your Computer

Posted on July 19, 2008, under Vista Tips.

Ever get tired of seeing this screen?


It’s easier to get rid of than you think. Just pull up Windows Command Prompt (usually Start > Run > and type “cmd”). Just type this following line to stop the annoying screen from popping up:

net stop “automatic updates”


Voila! You are finished.

Wordpress: A RSS Feed for Categories

Posted on July 19, 2008, under PHP.

Wordpress can expose every category or tag as a RSS feed. For example, you can announce the feed for a category by adding this into your theme file at the part where the HTML-Head is generated:

 

<?php
if (is_category())
{
?>
   <link rel="alternate" type="application/rss+xml"
   title="RSS 2.0 for category"
   href="<?php print $_SERVER['REQUEST_URI'] . ‘/feed’ ?>” />
<?php
};
?>

You can check out more conditional tags from the Wordpress API

Windows Vista Tips & Tricks

Posted on July 14, 2008, under Vista Tips.

Find useful tools and helpful tips to help you with your daily tasks. There are webcasts to attend and a cheat sheet to download so you can easily master new capabilities that will improve your productivity.

Featured Downloads

Videos

Watch these videos to learn more about Windows Vista features and how you can make the most of Windows Vista.

On-Demand Webcasts

Check out this month’s featured webcast!
How Windows Vista and the 2007 Office System Work Better Together (Level 300)

Never miss a webcast. View all previous Windows Vista Tips & Tricks webcasts at your convenience.
Windows Vista Tips & Tricks webcasts

Training Tools

Download the tools below to help you develop a customized Tips & Tricks presentation or plan for training employees in your company.

How to display your Preferred Folders in Vista’s Start Menu.

Posted on July 14, 2008, under Vista Tips.

On the RHS part of the Windows Vista Start Menu, you have the option of displaying User, Documents, Games, Music & Pictures Folders. While the first 3 are commonly use, most find little use for the last two folders; and would instead like to replace them with their oft accessed folders like Downloads or any other.

Well, in Vista too, you can replace the Music & Pictures Folders with the folders of your choice.

To do so, first, disable showing of, of the Pictures Folder & Music Folder, through Properties > Start Menu > Customize > Don’t display this item/s.

Next download the following vbs scripts FOR XP from Kellys-Korner. These scripts are for XP, but can be made to work for Vista too.

Replace Pictures Folder
Replace Music Folder

Click on the script and Run it.
Now, enter the path of the desired folder in the space provided. Click OK. Reboot.
Now click open the Start Menu > Rt Click > Properties > Start menu > Customize > Display this item/s > Apply > OK.
Your Vista Start Menu will display the desired folders for easy access !
This way you can change the paths of these two positions to show any folders; including, back, the Default folders, should you wish to reverse the changes.
To manually make the changes, open Registry Editor. Be careful when you touch the registry & do create a system restore point first.
Log in as Administrator. In Vista start menu search type regedit and hit enter and navigate to following key/s:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\My Music
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\My Music

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\My Pictures
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\My Pictures

Against it, in RHS col, you will see, NOT their default paths, but the new one’s you have inserted.
Double click on, say, My Music to open its Edit String box. Here replace the new (existing) path, as string in Value Data box, with the old (your) default folder path. Work similarly for Pictures folder. Click OK, Reboot. This way you will have reversed the changes.

List of Rundll32 shortcut commands for Windows Vista.

Posted on July 14, 2008, under Vista Tips.

I have compiled a list of Rundll32 commands, which can be used for directly invoking the specified functions or to create shortcuts of those, which you use and require frequently. These shortcut / commands have been compiled from various sources, all of which have been acknowledged at the end of the article.

To Create Desktop Shortcuts : Rt click on desktop > New > Shortcut. In the first box of the Create Shortcut Wizard, copy-paste the desired command. Then Click Next. Give the Shortcut a Name. Finally, select an appropriate icon for it. More on How to Create a Shortcut on the Desktop at KB140443.

Some of them can prove to be rather useful, eg, copy-paste rundll32.exe keymgr.dll,KRShowKeyMgr in Vista’s Start Menu Search bar and hit enter; and you will see the Stored User Names and Passwords Box pop up ! The Stored User Names and Passwords Applet lets you assign user names and passwords to use, when needing to authenticate yourself, to services in domains other than the one you are currently logged into. Its normally very awkward to access buts this way lets you do so faster ! You can thus access quite a few useful functions easily !

Add/Remove Programs
RunDll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0

Content Advisor
RunDll32.exe msrating.dll,RatingSetupUI

Control Panel
RunDll32.exe shell32.dll,Control_RunDLL

Delete Temporary Internet Files:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 8

Delete Cookies:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 2

Delete History:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 1

Delete Form Data:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 16

Delete Passwords:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 32

Delete All:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255

Delete All + files and settings stored by Add-ons:
RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 4351

Date and Time Properties
RunDll32.exe shell32.dll,Control_RunDLL timedate.cpl

Display Settings
RunDll32.exe shell32.dll,Control_RunDLL access.cpl,,3

Device Manager
RunDll32.exe devmgr.dll DeviceManager_Execute

Folder Options - General
RunDll32.exe shell32.dll,Options_RunDLL 0

Folder Options - File Types
RunDll32.exe shell32.dll,Control_Options 2

Folder Options - Search
RunDll32.exe shell32.dll,Options_RunDLL 2

Folder Options - View
RunDll32.exe shell32.dll,Options_RunDLL 7

Forgotten Password Wizard
RunDll32.exe keymgr.dll,PRShowSaveWizardExW

Hibernate
RunDll32.exe powrprof.dll,SetSuspendState

Internet Explorer’s Internet Properties dialog box.
Rundll32 Shell32.dll,ConBring up trol_RunDLL Inetcpl.cpl,,6

Keyboard Properties
RunDll32.exe shell32.dll,Control_RunDLL main.cpl @1

Lock Screen
RunDll32.exe user32.dll,LockWorkStation

Mouse Button - Swap left button to function as right
Rundll32 User32.dll,SwapMouseButton

Mouse Properties Dialog Box
Rundll32 Shell32.dll,Control_RunDLL main.cpl @0,0

Map Network Drive Wizard
Rundll32 Shell32.dll,SHHelpShortcuts_RunDLL Connect

Network Connections
RunDll32.exe shell32.dll,Control_RunDLL ncpa.cpl

Organize IE Favourites
Rundll32.exe shdocvw.dll,DoOrganizeFavDlg

Open With Dialog Box
Rundll32 Shell32.dll,OpenAs_RunDLL Any_File-name.ext

Printer User Interface
Rundll32 Printui.dll,PrintUIEntry /?

Printer Management Folder.
Rundll32 Shell32.dll,SHHelpShortcuts_RunDLL PrintersFolder

Power Options
RunDll32.exe Shell32.dll,Control_RunDLL powercfg.cpl

Process Idle Tasks
rundll32.exe advapi32.dll,ProcessIdleTasks

Regional and Language Options
Rundll32 Shell32.dll,Control_RunDLL Intl.cpl,,0

Stored Usernames and Passwords
RunDll32.exe keymgr.dll,KRShowKeyMgr

Safely Remove Hardware Dialog Box
Rundll32 Shell32.dll,Control_RunDLL HotPlug.dll

Sound Properties Dialog Box
Rundll32 Shell32.dll,Control_RunDLL Mmsys.cpl,,0

System Properties Box
Rundll32 Shell32.dll,Control_RunDLL Sysdm.cpl,,3

System Properties - Advanced
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,4

System Properties: Automatic Updates
RunDll32.exe shell32.dll,Control_RunDLL sysdm.cpl,,5

Taskbar Properties
RunDll32.exe shell32.dll,Options_RunDLL 1

User Accounts
RunDll32.exe shell32.dll,Control_RunDLL nusrmgr.cpl

Unplug/Eject Hardware
RunDll32.exe shell32.dll,Control_RunDLL hotplug.dll

Windows Security Center
RunDll32.exe shell32.dll,Control_RunDLL wscui.cpl

Windows - About
RunDll32.exe SHELL32.DLL,ShellAboutW

Windows Fonts Installation Folder
Rundll32 Shell32.dll,SHHelpShortcuts_RunDLL FontsFolder

Windows Firewall
RunDll32.exe shell32.dll,Control_RunDLL firewall.cpl

Wireless Network Setup
RunDll32.exe shell32.dll,Control_RunDLL NetSetup.cpl,@0,WNSW



Your Ad Here

Disable Blocked File Protection Control in Windows Vista

Posted on July 14, 2008, under Uncategorized, Vista Tips.

In my neverending quest to make Vista more usable, I finally caved and took the time to figure out how to disable Blocked File Protection Control. This “feature” requires you to unblock files you download before they are usable (for the most part). This is a bad decision in my opinion - I decided to download a file and of course I’m going to want to work with it. I don’t want to figure how how to unblock before I can use it. What a pain - anyway enough with the rant.

Unblocking files sucks

If you want to be able to use your files after you download them, you’ll need to either use the Group Policy Editor described here in as Method #3 or edit the registry.

Unfortunately I happen to be running Windows Vista Home Premium on one of my systems - this means no gpedit. The entry we need to set is:


HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments\SaveZoneInformation

This value needs to be a DWORD set to 1. You can enter this manually or download the reg file and “Unblock” your last file! Be sure to close all instances of Internet Explorer or reboot your computer after making the change to your registry.

The requested operation requires elevation in Windows Vista

Posted on July 14, 2008, under Vista Tips.

So I’ve been using Vista for a few weeks now and for whatever crazy reason I decided I needed to flush dns. I received this message: “The requested operation requires elevation”. Okay, to get around this go to All Programs, Accessories, right click Command Prompt and click Run as administrator. Good to go!

Update:

  • I’ve been running Vista for quite some time now and finally got fed up with User Account Control (UAC). What UAC really turns into is security by nagging so I disabled it altogether. To disable UAC open the Control Panel/User Accounts then click Turn User Account Control on or off. Uncheck the box. Click OK.
  • We finally found the solution, instead of simply opening a command prompt like before, we now need to run the command prompt as administrator.To do this, all you need to do is go to:
    All Programs > Accessories > right click Command Prompt and click Run as administrator!

    I hope this helps you !

Release TortoiseSVN 1.5.0

Posted on July 8, 2008, under Tortoise SVN.

A Subversion client, implemented as a windows shell extension.

TortoiseSVN is a really easy to use Revision control / version control / source control software for Windows.

Since it’s not an integration for a specific IDE you can use it with whatever development tools you like.TortoiseSVN is free to use. You don’t need to get a loan or pay a full years salary to use it.

  • TortoiseSVN 1.5.0, built against Subversion 1.5.0. Released 21. June 2008.
    Grab it from the download page.
    Make sure to read the release notes first!
  • Features of TortoiseSVN/Subversion
  • Easy to use
    • all commands are available directly from the windows explorer.
    • only commands that make sense for the selected file/folder are shown. You won’t see any commands that you can’t use in your situation.
    • See the status of your files directly in the Windows explorer
    • descriptive dialogs, constantly improved due to user feedback
    • allows moving files by right-dragging them in the windows explorer
  • All Subversion protocols are supported
    • http://
    • https://
    • svn://
    • svn+ssh://
    • file:///
    • svn+XXX://
  • Powerful commit dialog
  • The big picture
  • Per project settings
    • minimum log message length to avoid accidentally committing with an empty log message
    • language to use for the spell checker
  • Integration with issue tracking systems
    • A separate input box to enter the issue number assigned to the commit, or coloring of the issue number directly in the log message itself
    • When showing all log messages, an extra column is added with the issue number. You can immediately see to which issue the commit belongs to.
    • Issue numbers are converted into links which open the webbrowser directly on the corresponding issue
    • Optional warning if a commit isn’t assigned to an issue number
  • Helpful Tools
  • Available in many languages
  • TortoiseSVN is stable
    • Before every release, we create one or more ‘release candidates’ for adventurous people to test first.
    • During development cycles, many people test intermediate builds. These are built every night automatically and made available to all our users. This helps finding bugs very early so they won’t even get into an official release.
    • A big user community helps out with testing each build before we release it.
    • A custom crash report tool is included in every TortoiseSVN release which helps us fix the bugs much faster, even if you can’t remember exactly what you did to trigger it.
  • Support
    • Extensive and descriptive documentation is available in several formats and languages
    • A big list of frequently asked questions and problems with all the answers is also available
    • For your specific problems, we have a mailing list where many users can help you. Usually you get an answer for your problem within a few hours.

System Requirements