Flock and fopen () with mode 'a'

    Date: 02/14/06 (PHP Community)    Keywords: no keywords

    Hello!

    How do you think, need I use flock () for files which opens with mode 'a'.

    For example:

    $fp = fopen ($filename, 'a');
    fwrite ($fp, $string);
    close ($fp);
    


    Need I use flock () there?

    Source: http://community.livejournal.com/php/412735.html

« Any suggestions? || Quick Question... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home