Re: [PHP-WIN] RE: TPN POSSIBLE SPAM:Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-29 Thread German Piqué
bject: TPN POSSIBLE SPAM:Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc mmm... let me guess... you're saying that I must do something like this: $argo = fgets($fileID,sizeof($file)) And then work with the string? What do you mean by "using {} syntax"? Are you talking

[PHP-WIN] RE: TPN POSSIBLE SPAM:RE: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-29 Thread Alex Turner
Piqué'; Alex Turner Cc: php-windows@lists.php.net; 'Stanislav Malyshev' Subject: TPN POSSIBLE SPAM:RE: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc The "{} syntax" means to run a command whithin another command, whitout having to store results previously. As an ex

[PHP-WIN] RE: TPN POSSIBLE SPAM:Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-29 Thread Alex Turner
http://www.project-network.com"www.project-network.com _ From: German Piqué [mailto:[EMAIL PROTECTED] Sent: 29 September 2006 11:35 To: Alex Turner Cc: php-windows@lists.php.net; Stanislav Malyshev Subject: TPN POSSIBLE SPAM:Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc mmm..

Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-29 Thread German Piqué
php-windows@lists.php.net; Stanislav Malyshev Subject: Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc mmm... let me guess... you're saying that I must do something like this: $argo = fgets($fileID,sizeof($file)) And then work with the string? What do you mean by "using {} sy

RE: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-29 Thread Luis Moreira
quot;; And Echo "{fgets($fileID,sizeof($file))}"; Luis -Original Message- From: German Piqué [mailto:[EMAIL PROTECTED] Sent: sexta-feira, 29 de Setembro de 2006 11:35 To: Alex Turner Cc: php-windows@lists.php.net; Stanislav Malyshev Subject: Re: [PHP-WIN] Re: Problems with fs

Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-29 Thread German Piqué
mmm... let me guess... you're saying that I must do something like this: $argo = fgets($fileID,sizeof($file)) And then work with the string? What do you mean by "using {} syntax"? Are you talking about regular expressions or what? Thanks. 2006/9/28, Alex Turner <[EMAIL PROTECTED]>: Stanis

Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-28 Thread Alex Turner
Stanislav Malyshev wrote: German Piqué wrote: Well, I managed to work with the spaces but using fgetc instead of fscanf. Just as a note I think it would be much more efficient to use fgets or fread and then parse resulting string using regular expressions. Unless you have some limitations

Re: [PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-26 Thread Stanislav Malyshev
German Piqué wrote: Well, I managed to work with the spaces but using fgetc instead of fscanf. Just as a note I think it would be much more efficient to use fgets or fread and then parse resulting string using regular expressions. Unless you have some limitations that weren't mentioned. --

[PHP-WIN] Re: Problems with fscanf [WORKAROUND] fgetc

2006-09-26 Thread German Piqué
Well, I managed to work with the spaces but using fgetc instead of fscanf. Scanning char by char, i haven't need to worry about the spaces or new lines. 2006/9/26, German Piqué <[EMAIL PROTECTED]>: Hello. I'm trying to parse some XML files to get all in only one file, deleting the first and l