OK, OK, Ha-ha Thought that you guys could read my mind... Here is the error Warning: fopen(C:\windows\Desktop\php\php pages\phpout.txt) [function.fopen]: failed to open stream: No such file or directory in C:\windows\Desktop\php\php pages\phpout.txt on line 12 and of course the fwrite and fclose do not work cause the file is an invalid stream. I have a few computers with php installed they are all Win based except for one nix based server. The script that I want to make portable will need to run on a Windows ME/9X box and an XP box. On my testing computer I have an Installed version of PHP 5.0.3 when I run my script with this version I have no problems On a different computer I have xampplite from http://www.apachefriends.org/en/xampp-windows.html#646 The version in it is 5.0.4 according to the website. I have no problems with this version either What I have been trying to do is get the files needed for my script to run and not have to have a lot of files that I don't need. So I made a dir on my desktop and copied in the files that I know I need and modified the php.ini accordingly but for some reason fwrite is not working. It is not creating the file. I have a file list if it is necessary. Thanks again... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php