server offers the .php as download

See all posts See thread Reply

Re: server offers the .php as download new!
by Boris, 18 years, 2 months ago
I traced the problem to the next function:

function recursiveMkdir($strPath, $mode = 0777) {
  return is_dir($strPath) or ( recursiveMkdir(dirname($strPath), $mode) and @mkdir($strPath, $mode) );
}

any ideas on reasons for the problem?Reply
Re: server offers the .php as download new!
by colin, 18 years, 2 months ago
What do you mean you traced the problem to the function? What do it do?

Are you using PHP5? Do you attempt to create sub directories, or is the directory already existing?Reply