in reply to XP messing up my CGI files

You didn't leave as much to go on as you possibly thought, but here is an idea or two that might be helpful, if in the debugging process.

First of all, what kind of server are you uploading to? Is it another Windows-based system (NT, 2K, XP, etc.), or a *nix system (linux, solaris, *bsd, etc.)? What error message are you actually seeing when you try to execute the script? I'm not convinced that it is strictly because of XP that you are having the difficulties, unless there are other symptoms that you have not mentioned.

Since you seem to indicate that all you did was save the content down to your local machine then re-uploaded it, could it possibly be that when the file is being uploaded, the line endings are not being translated from the Windows \n\r to the appropriate ending? I am unfamiliar with the editors you mentioned-do they have settings for saving text files with the appropriate line endings?

Just a few thoughts that I hope help.

Update: I ran across CGI Help Guide in the Tutorials section, which might also be useful.

Replies are listed 'Best First'.
Re: Re: XP messing up my CGI files
by Anonymous Monk on Aug 06, 2002 at 03:39 UTC
    I have no idea, Im just uploading to a site with FTP and I get a 500 error. Im using notpad now, I had no problem on Windoes 98.