-
Alright, I am trying to make a script that would up date a pre-made html file.
I am lost. I need to get my prog to access the server, and update a pre-made html file between two tags:
I am a Webmaster to a small site, and I have a client that needs to update 1 paragraph of a site almost every day if not a few times a day. I put the paragraph between to hidden tags:
<!--0365-->Paragraph here<!--/0356-->
After he writes the paragraph in a box, I need the program to access the server for this file, and change only the text within that tag to his new paragraph.
I am stuck on getting the prog to acces and make correct motifications to the file.
If you know how to help, please do.
Thanks.
-
Access/write to a text file as you normally would (using PUT
or GET etc.), using the UNC path for the location of the
file (ie. \\servername\sharename etc.). However, none of
this will work unless you have rights to access the
particular location on the server - see your administrator
about this.
I hope I am accurate enough!