Hello!
I am doing this
$newpath = "./uploads/newdir/";
if (!is_dir($newpath)) mkdir($newpath, 0666);
$decperms = fileperms($newpath);
$octalperms = sprintf("%o",$decperms);
$perms=(substr($octalperms,2));
echo $perms;
if ($perms != 777)
{
rmdir ($newpath);
}
This will not delete the dir crea
Hello!
First of all, i am trying to solve this problem for more then a week now, i
looked through php.net for hours and have posted on numerous boards but
nobody could come up and tell me what is going wrong.
Basically, i have two multidimensional arrays, and i want to compare those
two usi
Well of course $foo[0] contains the first dimension of the $foo array and
the same goes for $bar[0].
It is still not working as it should, i am close to going nuts.
At 11:43 09.08.2002 +0800, you wrote:
>On Friday 09 August 2002 06:14, Gandalf wrote:
>
> >
> > $diff = array_
Hello!
Please have a look at the following sample code and help me out if you can
$db = new db_SQL();
$sql = "SELECT Name, Email FROM whatever WHERE whatever=whatever";
$db->query( $sql );
while ($db->next_record())
{
//This is my first array
$foo[] = array ("name"=>$db->f("Name"),
4 matches
Mail list logo