> When I run the command on the server itself, it > works just fine. When I run the same command via a webpage, the text file > does not generate. I also have a similar problem but reversed. It works in a webpage but not on the command line. mysql_connect, mssql_connect, and a non-db function. A command line script calling file() to call the web page works however. And it just stopped working about 2 months ago (from the command line). _________________________________________________________________ Help yourself to FREE treats served up daily at the Messenger Café. Stop by today. http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline