[PHP-WIN] Problems with fscanf

2006-09-26 Thread German Piqué
All of it :P I only want to delete the initial and final tags in order to unify various archives with the sames patterns. To work with this archives I need to put it one by one, so I thought that I can unify all in only one archive. I'm doing it in php for my partners, because i'm not the only on

Re: [PHP-WIN] Problems with fscanf

2006-09-26 Thread Niel Archer
Hi First, if you're parsing XML files, I'd suggest using the XML modules to do so. I'm not sure what you're attempting. From the line: The Communards are you trying to retrieve all of it, or just "The Communards"? If the latter then try a regex and not fscanf This is a little loose on the

[PHP-WIN] Problems with fscanf

2006-09-25 Thread German Piqué
Hello. I'm trying to parse some XML files to get all in only one file, deleting the first and last tag when needed. But when i try to read a line like this: The Communards with the code line: fscanf($fr,"%s") the output is the following: The And i want to retrieve all the line without doin