php-windows Digest 26 Sep 2006 06:47:00 -0000 Issue 3043
Topics (messages 27172 through 27176):
Re: A problem writting to a file
27172 by: Alex Turner
Re: FastCGI with IIS on Windows?
27173 by: Alex Turner
Re: Problems accessing the net units through PHP
27174 by: Alex Turner
unlink permission problems
27175 by: Niel Archer
Problems with fscanf
27176 by: German Piqué
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
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 windows php version problem, but when I
> try to insert
> the newline caracter: '\' like this:
>
> fputs($this->fileID,'\n');
>
> it writes "\n" instead of creating a new line...
Try doing this:
$RowToWrite = $WriteThis."\r\n";
- Mikael
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
There will have been some detail that was different ;-)
--
www.deployview.com
www.nerds-central.com
www.project-network.com
--- End Message ---
--- Begin Message ---
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 fastcgi with out the isapi_fgi.dll?
Thanks,
Aspen
php-cgi.exe would appear to be the cgi version of php. It automatically
thinks that it is in fcgi mode when the stdout an stderr streams are
shut down by the fcgi server process. This is how TAG.net run php in
fcgi mode.
As to how to get IIS to act as a fcgi client (ie an ISAPI-fcgi pluging)
and get set up an fcgi server for php - I don't know.
At TPN we are currently thinking about making a ISAPI plugin to let IIS
act as a front end to TAG.net (thus making php availible to IIS but with
resource management and queuing). You can have a look at the sort of
stuff we are up to at nerds-central and deployview (see below).
Why would you want isapi_fgi.dll that works for 5.2 but not 5.1???
Cheers
AJ
--
www.deployview.com
www.nerds-central.com
www.project-network.com
--- End Message ---
--- Begin Message ---
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 above to work
with COM objects... It's true?
Currently, I have version 4 installed.
Sorry - had network problems for the last few days :-(
No - php4 is OK (depending on which version). We use php4.4x and so far
I have found that it is slightly faster than php5x for COM work.
AJ
--
www.deployview.com
www.nerds-central.com
www.project-network.com
--- End Message ---
--- Begin Message ---
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(<filename>): Permission
denied".
I first tried this using an Administrator account. Then to be sure I
tried a user account, creating the files in that account before running
the script.
I can see no reason why permission is denied. Anyone have an idea?
Niel Archer
--- End Message ---
--- Begin Message ---
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:
<ARTIST>The Communards</ARTIST>
with the code line:
fscanf($fr,"%s")
the output is the following:
<ARTIST>The
And i want to retrieve all the line without doing something like this:
fscanf($fr,"%s/t%s")
Because I have to adapt this line to the maximum spaces existing in a line
of the file... There isn't another better solution? Thank you :)
--- End Message ---