[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

[PHP-WIN] unlink permission problems

2006-09-25 Thread Niel Archer
I have a function that compares two files, and deletes the first if they are identical. The problem is, that whenever the function attempts to unlink the file it causes an error "unlink(): Permission denied". I first tried this using an Administrator account. Then to be sure I tried a user acco

Re: [PHP-WIN] Problems accessing the net units through PHP

2006-09-25 Thread Alex Turner
German Piqué wrote: 2006/9/13, Alex Turner <[EMAIL PROTECTED]>: Dale Attree wrote: > PHP on windows does not support mapped network drives, you would need to use > sockets and connect to the IP of the machine you wish to write to. With this solution... I readed that i need php version 5 or

[PHP-WIN] Re: FastCGI with IIS on Windows?

2006-09-25 Thread Alex Turner
Aspen Olmsted wrote: Hello, I need to use IIS on windows 2003 boxes and I am trying to figure out the best way to configure this. I believe fastcgi is the way to go but I am confused on the setup. There is an isapi_fgi.dll that works with 5.2? but not 5.1.x? What is php-cgi.exe? Is this a

Re: [PHP-WIN] A problem writting to a file

2006-09-25 Thread Alex Turner
German Piqué wrote: Well, I tried and all of you were right... but I tried it a days ago and it didn't worked!! :( That's fustrating... I don't understant why works now... Well... Thank you all :D 2006/9/20, Mikael Krogius (Winwap Technologies) <[EMAIL PROTECTED]>: > I don't know if its a wi

Re: [PHP-WIN] Reverse DNS/IP

2006-09-25 Thread Alex Turner
Stut wrote: Daniel Anderson wrote: I see what you mean though, but it would still be handy to find out how to find the Reverse IP/DNS anyway. Does anyone know? http://php.net/gethostbyaddr -Stut Daniel, Just be careful because if you ban people by ip/dns you will end up banning a lot of