Name: Anonymous 2007-01-13 22:30
So I'm trying to modernize this guy's site, and I get the bright idea to use PHP to make updating sidebars and stuff like that easier. Basically, the idea is to type up a script that reads HTML code from a text file and echoes it onto the sidebar of each page - a rather simple operation.
I put together a test page to see whether or not his server is PHP-enabled, and it turns out that it is - only problem is, fopen() doesn't seem to be able to open any files on the server. I can do the job just fine using an ASP script instead, but ASP is long-winded and ugly and unpleasant to code in.
So, my question is: Any idea why fopen() doesn't do jack on this guy's server? All that I know about the server itself so far is that it uses Microsoft FTP Service and is PHP- and ASP-enabled, as stated above; and that up until now he's been putting the site together in FrontPage. I don't know how telling that information is, but any and all help would be greatly appreciated.
I put together a test page to see whether or not his server is PHP-enabled, and it turns out that it is - only problem is, fopen() doesn't seem to be able to open any files on the server. I can do the job just fine using an ASP script instead, but ASP is long-winded and ugly and unpleasant to code in.
So, my question is: Any idea why fopen() doesn't do jack on this guy's server? All that I know about the server itself so far is that it uses Microsoft FTP Service and is PHP- and ASP-enabled, as stated above; and that up until now he's been putting the site together in FrontPage. I don't know how telling that information is, but any and all help would be greatly appreciated.