php-windows Digest 22 Oct 2001 11:42:02 -0000 Issue 816

Topics (messages 9945 through 9953):

Re: problems with personal webserver
        9945 by: Andrew Saturn

phpmyadmin
        9946 by: Brian Feliciano
        9947 by: Andrew Saturn
        9948 by: Brian Feliciano

Why WAIT??? Refinance NOW!!!
        9949 by: bradnelson.yahoo.com

ISAPI without IIS
        9950 by: Björn Lantz

.diff files
        9951 by: Brian Feliciano
        9953 by: _lallous

Re: Problem with Sablotron extention for Windows
        9952 by: Björn Lantz

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]


----------------------------------------------------------------------


At 06:36 PM, 10/21/2001, you wrote:
>spent 5 hours trying to figure it ot
>gave up
>spent 1 hour installing the windows apache server
>with perl ,php and mysql
>
>everything works just fine
>:-)
>perfect


I have apache with php, and php keeps starting zombie\runaway child 
processes, which returns a 500 error...(since the zombie\whatever (ones 
that wont "die") prevent new child processes from starting)

the real problem now is ... I'm confused
I ask the list, and I'm ignored, while receiving emails saying its a bug 
and I should report it to the bug thing
PHP people say its not a bug, and to RTFM

I used the default setup, and it still has problems....

...hmmmm,
-andrew saturn






i've got a copy of phpmyAdmin on my local and it's raw.
is there a copy out there that have a user login or some security access
before going inside the main database?

thanks.





At 10:59 PM, 10/21/2001, you wrote:
>i've got a copy of phpmyAdmin on my local and it's raw.
>is there a copy out there that have a user login or some security access
>before going inside the main database?
>
>thanks.

try editing the index to use this:

<?
     // checks if you have entered a username and a password
     if (!$PHP_AUTH_USER || !$PHP_AUTH_PW)
     {
         // if empty, send header causing dialog box to appear
         header('WWW-Authenticate: Basic realm="PHPMyAdmin Realm"');
         header('HTTP/1.0 401 Unauthorized');
         echo "Authorization Required.";
         exit;
     }
     else
     {
         // check if the username and password are correct
         if (($PHP_AUTH_USER == "sigferd") && ($PHP_AUTH_PW == "doodlepip"))
         {
             // dispay happy message and admin stuff
             echo "w00t!";
         }
         else
         {
             // display angry message for invalid user
             echo "go away!";
         }
     }
?>


*or*, try setting up an .htpasswd to require anything under /phpmyadmin (or 
whatever folder it is....) to require a password to GET or POST
<-- I'm sure someone else on this list could explain that one though

regards,
-andrew saturn






it doesn't works in my pc. i have win2k.

>
> try editing the index to use this:
>
> <?
>      // checks if you have entered a username and a password
>      if (!$PHP_AUTH_USER || !$PHP_AUTH_PW)
>      {
>          // if empty, send header causing dialog box to appear
>          header('WWW-Authenticate: Basic realm="PHPMyAdmin Realm"');
>          header('HTTP/1.0 401 Unauthorized');
>          echo "Authorization Required.";
>          exit;
>      }
>      else
>      {
>          // check if the username and password are correct
>          if (($PHP_AUTH_USER == "sigferd") && ($PHP_AUTH_PW ==
"doodlepip"))
>          {
>              // dispay happy message and admin stuff
>              echo "w00t!";
>          }
>          else
>          {
>              // display angry message for invalid user
>              echo "go away!";
>          }
>      }
> ?>
>
>
> *or*, try setting up an .htpasswd to require anything under /phpmyadmin
(or
> whatever folder it is....) to require a password to GET or POST
> <-- I'm sure someone else on this list could explain that one though
>
> regards,
> -andrew saturn
>
>
>
> --
> 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]
>





We can help!
Mortgage Rates have been slashed again!

*Lower your monthly payment!
*Shorten the term of your loan!
*Reduce your interest rate!

SAVE MONEY!!!

NOW is the time to refinance... rates have
NEVER been lower!

We CAN assist everyone, even if you've 
been turned down before!

Take just a minute to complete this form
and a Loan Consultant will contact you at
your convenience. 

http://www.firstmortgagedebt.com


Your information is secure, confidential and
you are under NO OBLIGATION for this
free analysis.

****************************************************************
Since you have received this message you have either responded
to one of our offers in the past or your address has been
registered with us.  If you wish to be removed please reply to:
mailto:[EMAIL PROTECTED]?subject=remove
**********************************************************





Hi all,

I'm writing an application with a built-in small http-server and using the
php4isapi.dll to process php scripts. It works fine under NT+Win2K but on
Win98 it craches when I terminate my application (if I have served any http
requests).

I have a socket listener that spawns a new thread for each request. The
newly spawned thread calls the HttpExtensionsProc(). I suspect that the
php4isapi.dll does not unload correctly if I have used any php ODBC
functions. I would therefore like to tell it to free up all resources
because we are going down, but the optional TerminateExtension() is not
there.

Suggestions anyone ?

/Björn Lantz







i've got a patch from source forge and received a diff file. 
 how do i open .diff files. or what should i do to implement the scripts.

 
 thanks
 





I guess the diff files are files like that:

fileoffset: original_byte patched_byte

example:
0001BCD: 74 EB

no idea how to open them though...but you can easily write your own patcher
in worst acses.

"Brian Feliciano" <[EMAIL PROTECTED]> wrote in message
015e01c15ad7$6f9d8ff0$1600a8c0@flashmaster">news:015e01c15ad7$6f9d8ff0$1600a8c0@flashmaster...
> i've got a patch from source forge and received a diff file.
>  how do i open .diff files. or what should i do to implement the scripts.
>
>
>  thanks
>
>






Try running php.exe from a command prompt. If there are any missing dll:s a
message-box will appear informing you of which. I bet it is libxml2.dll.





Reply via email to