Well, dreamweaver is probably not going to be your best friend in the situation. In fact you might find it simplest to do it all through 'shell'. I'll give you a breif explination here, and then I reccomend that you start a new thread here with specific questions.
'Shell' is a way to access your server's 'command line'. Like the MS-Dos prompt the command line is a way to issue commands to your server through a text-only mode. It may look scarry at first, but it's really very easy. Read the Wiki article on SSH to learn how to access this 'shell'. If you've heard of telnet before, then know that SSH is the secure version of telnet.
Now, if I were doing this I would just use one of the text editors aviable on your server through shell. my favorite is called "nano". It's very easy to use - especially for copy, paste, and edit a few lines. you can have nano create the new file for you - after you've loged into ssh it would go something like this:
nano -w php_update.sh
After you type that and press enter nano will come up. (the -w flag turns off line wraping so that your commands don't get messed up.) copy the script from the wiki and paste it into nano. If you're using putty right clicking should do it, or press ctrl-shift-v. Once you've edited the appropiate lines press ctrl-o to write out the file and ctrl-x to exit.
The rest of the commands that the wiki article talks about will be carried on through your shell connection as well. The ".sh" extension is a shell script.
If you need help changing that script around to edit different fileds, post that in your new thread and someone will help you out. The wiki often has articles that cover all that jargon, but they're not always obviously named - so try searching for anything that confuses you first and then post if you can't find it. Hope this helps...
art.googlies.net - personal website