Hi PHP gods, I've got a quick question. A page I maintain was stored on an Apache web server, but the organization just switched to a Microsoft virtual private server. I'm just trying to figure out what I need to modify to allow my code to work with the new server.
My codes revolve around posting to and reading from text files, all of which are stored in the cgi-bin/flatfiles folder. Previously, I had retrieved the text files using the following line:
$filename = "/homea/username/public_html/cgi-bin/flatfiles/announcements.txt";
and accessed the php file from an shtml document using:
<!--#include virtual="/cgiwrap/username/flatfiles/announcements-view.php3"-->
The main things I need to know are 1) where to store the files on the new server (Scripts folder?), 2) what permissions to give to the files and how to do it, and 3) how to modify the above lines to make it all work.
Any help, answers or directions to another answer source, would be most appreciated. Thanks.
Eric