writting files to a different directory
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3313779/php-write-outside-document-root">PHP write outside document root</a>  </p>
</blockquote>



<p>assume i have a script in somewhere in the htdocs directory and i want this script to write files in a directory that is of the same parent as htdocs. how do i do it?</p>
