Page 1 of 1

Getting Error: "Wrong parameter count" when using

Posted: Sat Nov 11, 2006 7:44 am
by eyal
Hello,
I'm getting the following error:

Code: Select all

Warning: Wrong parameter count for mkdir() in c:\apache\htdocs\direct_site\try3\mail_get.php on line 2
when I'm writing the following code:
<?
mkdir("aaa");
?>

How can I solve that?

Thank you.

Posted: Sat Nov 11, 2006 7:48 am
by volka
what does

Code: Select all

<?php phpinfo(INFO_GENERAL); ?>
print?

Posted: Sat Nov 11, 2006 7:50 am
by eyal
Already solved. I didn't wrote "777" next to the folder's name. Thank you anyway.

Posted: Sat Nov 11, 2006 7:51 am
by volka
strange
http://de2.php.net/mkdir wrote:bool mkdir ( string pathname [, int mode [, bool recursive [, resource context]]] )
the second parameter is marked as optional