Re: [PHP] php error loadin file

2008-02-11 Thread Shawn McKenzie
Daniel Brown wrote: > On Feb 11, 2008 11:12 AM, <[EMAIL PROTECTED]> wrote: >>> On Feb 11, 2008 10:40 AM, <[EMAIL PROTECTED]> wrote: HEllo with the next code i am trying for loading one file $mibool = FALSE; $Descriptor2 = fopen("usuarios.txt","r"); >>> Does this

Re: [PHP] php error loadin file

2008-02-11 Thread Daniel Brown
On Feb 11, 2008 11:12 AM, <[EMAIL PROTECTED]> wrote: > > On Feb 11, 2008 10:40 AM, <[EMAIL PROTECTED]> wrote: > >> HEllo > >> with the next code i am trying for loading one file > >> > >> > >> $mibool = FALSE; > >> $Descriptor2 = fopen("usuarios.txt","r"); > > > > Does this file exist in the

Re: [PHP] php error loadin file

2008-02-11 Thread miren
> On Feb 11, 2008 10:40 AM, <[EMAIL PROTECTED]> wrote: >> HEllo >> with the next code i am trying for loading one file >> >> >> $mibool = FALSE; >> $Descriptor2 = fopen("usuarios.txt","r"); > > Does this file exist in the directory from which the script is > ultimately run, and is it readable?

Re: [PHP] php error loadin file

2008-02-11 Thread Daniel Brown
On Feb 11, 2008 10:40 AM, <[EMAIL PROTECTED]> wrote: > HEllo > with the next code i am trying for loading one file > > > $mibool = FALSE; > $Descriptor2 = fopen("usuarios.txt","r"); Does this file exist in the directory from which the script is ultimately run, and is it readable? > $usuario

[PHP] php error loadin file

2008-02-11 Thread miren
HEllo with the next code i am trying for loading one file $mibool = FALSE; $Descriptor2 = fopen("usuarios.txt","r"); $usuarios=array(); $i=0; while(!feof($Descriptor2)){ $buffer = fgets($Descriptor2,4086); $usuarios[$i]=$buffer; $i++; } fclose($Descriptor2); $miusername = trim($userna