php-windows Digest 24 Dec 2001 22:30:43 -0000 Issue 917

Topics (messages 11104 through 11112):

CGI mode still requires php4isapi.dll?
        11104 by: Steve Yates
        11105 by: Martin Halford
        11106 by: Steve Yates

Re: PHP software tool
        11107 by: Yoep

Re: MSSQL connect
        11108 by: Svensson, B.A.T. (HKG)

File question...
        11109 by: Anthony Ritter
        11110 by: Svensson, B.A.T. (HKG)
        11111 by: Svensson, B.A.T. (HKG)

my site works well on WinME but Doesn`t work on WinXP HEEELLLLLPPPPP MEEEEEEEEE
        11112 by: AiQUiDiE

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 ---
    On my development PC, if I do not have php4isapi.dll in my PATH then
I get 500 errors from PWS.  I have PWS running on Windows 98 SE, and am
running PHP in CGI mode per the Script Map registry entry (running
PHP.EXE).  As soon as I move php4isapi.dll into the PATH it starts
working.  Why is this DLL required?  Do I have something configured
incorrectly?

    I should note I do see one other oddity on my PC...if I access any
PHP page, I get a GPF on Windows shutdown.  If I open no .php pages
(i.e. PHP never runs), I do not get the error.  (This is bug report
#13396 in the database.)  I have encountered this problem for the last
few versions of PHP, but just with installing 4.1 did I notice that I
had php4isapi.dll in my PATH from previous versions, leading me to
wonder if PHP was still somehow running in ISAPI mode.


 - Steve Yates
 - SRT Enterprises
 - Do files get embarrassed when you unZIP them?

/ Taglines by Taglinator - www.srtware.com /



--- End Message ---
--- Begin Message ---
Steve,

I suspect we have the same problem - I've also tried setting up the registry
entry for the CGI mode and it makes no difference whatsoever.  If you do a
phpinfo() you can see whether or not you are in ISAPI mode I think.

Best regards,

Martin

----------------------------------
Martin Halford
V-Consult Limited
http://www.v-consult.co.uk
----------------------------------


-----Original Message-----
From: Steve Yates [mailto:[EMAIL PROTECTED]]
Sent: Monday, December 24, 2001 8:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] CGI mode still requires php4isapi.dll?


    On my development PC, if I do not have php4isapi.dll in my PATH then
I get 500 errors from PWS.  I have PWS running on Windows 98 SE, and am
running PHP in CGI mode per the Script Map registry entry (running
PHP.EXE).  As soon as I move php4isapi.dll into the PATH it starts
working.  Why is this DLL required?  Do I have something configured
incorrectly?

    I should note I do see one other oddity on my PC...if I access any
PHP page, I get a GPF on Windows shutdown.  If I open no .php pages
(i.e. PHP never runs), I do not get the error.  (This is bug report
#13396 in the database.)  I have encountered this problem for the last
few versions of PHP, but just with installing 4.1 did I notice that I
had php4isapi.dll in my PATH from previous versions, leading me to
wonder if PHP was still somehow running in ISAPI mode.


 - Steve Yates
 - SRT Enterprises
 - Do files get embarrassed when you unZIP them?

/ Taglines by Taglinator - www.srtware.com /




--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.309 / Virus Database: 170 - Release Date: 17-Dec-01

--- End Message ---
--- Begin Message ---
"Martin Halford" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I suspect we have the same problem - I've also tried setting up the
registry
> entry for the CGI mode and it makes no difference whatsoever.  If you
do a
> phpinfo() you can see whether or not you are in ISAPI mode I think.

    Of course, don't know why I didn't think of that.  I *am* running in
ISAPI mode.  Why is that?  Does PWS ignore the script map entries?  I
did have it set up as ISAPI at one point but since that's still
pre-release I thought I had changed back to CGI mode.  Even more
strange, when trying to debug the GPF-on-shutdown problem I had
reinstalled PWS and am 99% sure I didn't configure PHP for ISAPI mode
after.  So it's pulling that from somewhere.

 - Steve Yates
 - SRT Enterprises
 - Meticulously hand-crafted from only the finest ASCII...

/ Taglines by Taglinator - www.srtware.com /




--- End Message ---
--- Begin Message ---
I use this one too... its just 20$ or so though, and is a very great and
convient editor. I do all my PHP coding in it.

Yoep

"Mike" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> TextPad is another good text editor for all types of programming
languages.
> Unforuntatly it is not free but the demo my work for you.
> http://www.textpad.com
>
> It supports multiple languages like PHP, JAVA and HTML
>
>
> -Mike
>
> "Laserjetter" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > Does anybody know of or can recommend any freeware text editing tools
for
> > editing PHP code in Win32?
> > I can manage with Windows' Notepad but something with code highlighting
> etc
> > and of a similar footprint to notepad would be useful.
> >
> >
>
>


--- End Message ---
--- Begin Message ---
From: Jerry [mailto:[EMAIL PROTECTED]]

>I tried something like:
>
><?pup
>$h = "server adr";
>$u = "user";
>$p = "passw";
>$b = "db";
>$connexion = mssql_connect("$h", "$u", "$p");

Why do you uses quotes here?

>mssql_select_db($b);

>$sql = "select * from test";
.^^^^
>$result = mssql_query($sql_temp);
.                      ^^^^^^^^^^

??????

>mssql_close($connexion);
>?>



>But it didn't work. Please help me.
--- End Message ---
--- Begin Message ---
Happy holidays everyone.

Right now, if I want to update a fishing report using straight html I have
to type in the data in a .html page and *republish* that information to the
server.

Every time there is an update - say once a day - that information has to be
republished to the server.

This is my question:

Using PHP, could I type in the updated fishing report in a simple text file
called:
fishingreport.txt
and then... save that file to the server every time there is an update where
a php script (or function) could be called to read or write to that file
(fishingreport.txt) without the need of publishing the file every time there
was an update.

Any advice or URL's would be greatly appreciated.

Thanking all in advance.
Tony Ritter




--- End Message ---
--- Begin Message ---
From: Anthony Ritter

>Happy holidays everyone.
>
>Right now, if I want to update a fishing report using straight html I have
>to type in the data in a .html page and *republish* that information to the
>server.
>
>Every time there is an update - say once a day - that information has to be
>republished to the server.
>
>This is my question:
>
>Using PHP, could I type in the updated fishing report in a 
>simple text filecalled: fishingreport.txt
>and then... save that file to the server every time there is an update
where
>a php script (or function) could be called to read or write to that file
>(fishingreport.txt) without the need of publishing the file every time
there
>was an update.
>
>Any advice or URL's would be greatly appreciated.


http://www.php.net/manual/en/function.fopen.php


Merry x-mass and happy new year....

--- End Message ---
--- Begin Message ---

>>Any advice or URL's would be greatly appreciated.
>
>
>http://www.php.net/manual/en/function.fopen.php

Maybe you will appreciate this one to:

http://www.php.net/manual/en/function.fread.php


Merry x-mass and happy new year....
--- End Message ---
--- Begin Message ---
I do not understand why?

it works great on Win ME bu when I work on XP I get ""Supplied argument is
not a valid MySQL result resource in"" message.

and the weirdest thing is that the site defines the user but when listing
other users it gives that warning. So mysql works but makes some mistakes
somewhere. Maybe the php.

Please help meeeeeee


--- End Message ---

Reply via email to