Implementing a PHP Poll without compromising server filesystem security.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Simon27
    New Member
    • May 2007
    • 8

    Implementing a PHP Poll without compromising server filesystem security.

    I found a tutorial to make a PHP poll for my website from the site here.

    I just wanted to know if it was safe to use PHP to write to a text file on the server. I think I remember once hearing that it can be dangerous to allow things like this since it doesn't use MySQL to store the results (but I'm probably wrong).

    Any reassurance would be greatly received.
  • epots9
    Recognized Expert Top Contributor
    • May 2007
    • 1352

    #2
    as long as u have the right permissions set u should be ok, but here some info about being safe http://www.onlamp.com/pub/a/php/2003...undations.html

    Comment

    • Simon27
      New Member
      • May 2007
      • 8

      #3
      That's great thanks!

      Comment

      • pbmods
        Recognized Expert Expert
        • Apr 2007
        • 5821

        #4
        Changed thread title to better describe the problem.

        Comment

        Working...