Re: About XML XSLT
| From: | Jim Lucas | Date: | Sat, 21 Jul 2007 05:36:36 +0000 |
| Subject: | Re: About XML XSLT | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-259289@lists.php.net to get a copy of this message | ||
Kelvin Park wrote:
I'm trying to make a web site that it entirely XML/XSLT/PHP driven, without MYSQL. However, since I need to reuse the database from my last web site, I had to parse XML with PHP and save it as a file (e.g. xmlFile.xml) in my htdocs folder in FTP. However, I understand that this can cause some security issues such as someone just accessing the xml file from the htdocs folder. Would it be the best way to just place the parsed/saved XML file in the root folder of the FTP server for security purposes? Root folder meaning, the parent folder of htdocs, where it cannot be accessed normally through the browser. What you are suggesting would be the best way of making the file in accessible from the web server.But their is another ways. If you are running apache, you could setup apache to not serve that file, or file type. -- Jim Lucas "Some men are born to greatness, some achieve greatness, and some have greatness thrust upon them." Twelfth Night, Act II, Scene V by William Shakespeare