Rick, Thanks for the response. I had actually tried from the command line (and noted such in my post). Unfortunately, it works as expected from the command line, returning a resource id. It's only through FastCGI that it doesn't work. I have yet to test it with preview 2, but will do so when time permits...