RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Vincent DUPONT
hat directory DOES exist, right? I assume the is_dir() line is 69 and the opendir() is line 70, correct? -TG > -Original Message- > From: Mike [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 30, 2004 12:06 AM > To: 'Pravin-Kumar'; [EMAIL PROTECTED] > Subject: RE

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Gryffyn, Trevor
[mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 30, 2004 12:58 AM > To: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] problem to open dir > > > Try changing your $dir variable to: > > $dir="C:\\Documents and Settings\\pravin\\Desktop\\abcd2"; > > Failing t

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Gryffyn, Trevor
Also.. Any permissions issues? Can PHP or the user that PHP is running as access that folder? > -Original Message- > From: Pravin-Kumar [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 30, 2004 1:28 AM > To: Mike > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] p

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Gryffyn, Trevor
- > From: Mike [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 30, 2004 12:06 AM > To: 'Pravin-Kumar'; [EMAIL PROTECTED] > Subject: RE: [PHP-WIN] problem to open dir > > > When you set the $dir variable, try doing so with single > quotes - the \ > character

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Mike
11 4616-1394 > > -Mensagem original- > De: Luis Moreira [mailto:[EMAIL PROTECTED] > Enviada em: terça-feira, 30 de novembro de 2004 08:04 > Para: Pravin-Kumar > Cc: [EMAIL PROTECTED] > Assunto: Re: [PHP-WIN] problem to open dir > > Remove the double quotes. &

Re: [PHP-WIN] problem to open dir

2004-11-30 Thread Luis Moreira
Remove the double quotes. $dh = opendir('F:/vyapar-2/test/cdaci'); Pravin-Kumar wrote: hi list! $dest='F:/vyapar-2/test/cdaci'; or $dest='F:\vyapar-2\test\cdaci'; or $dest='F:\\vyapar-2\\test\\cdaci'; or $dh = opendir($dest); $a=dir($dest); the above code giving following problem on apache 1.3 o

RE: [PHP-WIN] problem to open dir

2004-11-30 Thread Pravin-Kumar
hi list! $dest='F:/vyapar-2/test/cdaci'; or $dest='F:\vyapar-2\test\cdaci'; or $dest='F:\\vyapar-2\\test\\cdaci'; or $dh = opendir($dest); $a=dir($dest); the above code giving following problem on apache 1.3 on windows Warning: opendir(F:/vyapar-2/test/cdaci): failed to open dir: Invalid

RE: [PHP-WIN] problem to open dir

2004-11-29 Thread Armando
Windows related issues so blew away my development box and put Linux on it instead :-) But I digress... Cheers. Armando -Original Message- From: Mike [mailto:[EMAIL PROTECTED] Sent: November 29, 2004 11:06 PM To: 'Pravin-Kumar'; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] pro

RE: [PHP-WIN] problem to open dir

2004-11-29 Thread Pravin-Kumar
hi mike! $source='F:\cdac2'; echo $source; if(is_dir($source)){echo "it is a dir.";} else{echo "it is not a dir..";} i had tried ur suggestion .. not working dude :( see i had one more thing .. it says "it is not a dir.." please help me list... --

RE: [PHP-WIN] problem to open dir

2004-11-29 Thread Mike
When you set the $dir variable, try doing so with single quotes - the \ character is used to escape things and might be causing some problems. If that makes no sense, it's because I'm falling asleep. Good luck. -M > -Original Message- > From: Pravin-Kumar [mailto:[EMAIL PROTECTED] > S