Hello!
We are running php 4.3.10
Therefore I need to use php_put_content s through
pear.
Thats what my file looks like:
<?php
require_once 'php/Compat/Function/file_put_conten ts.php';
$i=0;
while ($i <= 5){
$myArray[$i]="element position $i";
print("dollar-i er nå lik $i<br>\n" );
$i= $i + 1;
}
file_put_conten ts("array.txt" , $myArray);
?>
Im not sure this is related to using a pear version or not, but I get a
Warning: file_put_conten ts() failed to open stream: Permission denied
Greatful to any clues!
Thanks!!
We are running php 4.3.10
Therefore I need to use php_put_content s through
pear.
Thats what my file looks like:
<?php
require_once 'php/Compat/Function/file_put_conten ts.php';
$i=0;
while ($i <= 5){
$myArray[$i]="element position $i";
print("dollar-i er nå lik $i<br>\n" );
$i= $i + 1;
}
file_put_conten ts("array.txt" , $myArray);
?>
Im not sure this is related to using a pear version or not, but I get a
Warning: file_put_conten ts() failed to open stream: Permission denied
Greatful to any clues!
Thanks!!
Comment