https://bz.apache.org/bugzilla/show_bug.cgi?id=47950
--- Comment #10 from joony kohe <avini...@gmail.com> --- I am trying to create and save a file to the root directory of my site $content = "some text here"; $fp = fopen("myText.txt","wb"); fwrite($fp,$content); fclose($fp); $content = "some text here"; $fp = fopen($_SERVER['DOCUMENT_ROOT'] . "/myText.txt","wb"); fwrite($fp,$content); fclose($fp); <?php $fileLocation = getenv( https://matkavip.com/ ) . "/myfile.txt"; $file = fopen($fileLocation,"w"); $content = "Your text here"; fwrite($file,$content); fclose($file); ?> $fp = fopen("myText.txt","wb"); if( $fp == false ){ //do debugging or logging here }else{ fwrite($fp,$content); fclose($fp); } -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org For additional commands, e-mail: dev-h...@poi.apache.org