Help please - "#exec cmd" stops working after downloading to Windows
Sorry if I'm posting in the wrong place but I need some help with some code on a UNIX server running Apache.
The index.html runs fine with the exec cmd command if the html is updated on the Unix server itself with VI editor, but if it's downloaded to a Windows machine then uploaded back, the exec cmd doesn work. It's as if the server is reading the code as a remark. If you look at the source code of the page, it's just in there like a remark. It also doesn't make a difference if I don't even open the code. If I just FTP it to my PC then put the file back, the command is read as a remark.
Can anyone help me with fixing this problem? I'm not familiar enough with VI editor to make the changed using Putty so I need to make the changed in a text editor in Windows.