[PHP] mysql help..

2006-02-24 Thread ganu ullu
Hi all,

I installed a opensource php project, and now is working fine for me.
Now that project has some 40-50 MySQL tables..

now I want to change something in that but the I am not able to get the DB
flow..
Is any body knows any tool by which we can create/make the relationship
diagram like we are doing in SQLserver or Access..

To understand the DB is very tough... any body knows how I can create the
relationship diagram from that .SQL file...

thnx to alll...


[PHP] getting error in connecting COM ..

2006-02-03 Thread ganu ullu
Hi

I am getting error like that ..

Fatal error: Uncaught exception 'com_exception' with message 'Error
[0x80020003] Member not found. ' in c:\Inetpub\wwwroot\php\flix.php:14 Stack
trace: #0 c:\Inetpub\wwwroot\php\flix.php(14): unknown() #1 {main} thrown in
c:\Inetpub\wwwroot\php\flix.php on line 14

And I am running this line as on line :14

// CREATE THE FLIX COM OBJECT
$flix = new COM(Flix_COM.WF_FlixCOMEncoder) or die(Couldn't create the
Flix_COM.WF_FlixCOMEncoder COM Component);

Can some body help me , how to run this oblect and how to solve this
error..

Great Thnx..


[PHP] problem in create new diretory..

2005-11-18 Thread ganu ullu
Hello all,
I have created a new dir, with php code .. which is like that

function mkDirE($dir,$dirmode=777)
{
if (!empty($dir))
{
if (!file_exists(./microsite/.$dir))
{
preg_match_all('/([^\/]*)\/?/i', $dir,$atmp);
$base=;
foreach ($atmp[0] as $key=$val)
{
$base=$base.$val;
if(!file_exists(./microsite/.$base)){
 if (!mkdir(./microsite/.$base,777))
{
echo Error: Cannot create .$base;
return 2;
}
//echo Inside mk;
touch(./microsite/.$base./index.php);
$source = ./microsite/index.php;
$destination = ./microsite/.$base./index.php;
$copy_file = copy($source,$destination);
}
}
}
else
if (!is_dir($dir))
{
//echo Error: .$dir. exists;
return Error: .$dir. already exists;
}
}
return 0;
}
-
this will create a new folder in my root folder,
Locally every thing is working fine
but when I upload the files then in my live server dir is creating
but with the permission 410 drx--t

can any body help me ... wt is the problem 

thnx...