I made a mistake, Nconvert is not an ImageMagick utility. ImageMagick\'s utility is called convert. Nconvert was originally a part of Xnview if i remember correctly.
However, nconvert is a free and very easy to use command line image manipulation too.
Use the exec() function to send the command line to the nconvert program. There are hundreds of switches for it, but to do simple resizing refer to my previous post. Basically, pass the path to the program, and the path to the images and specify your new sizes. The switches are pretty self explanatory. Use -ratio to force the width:height ratio to stay the same.