php-windows Digest 24 May 2007 21:26:48 -0000 Issue 3237

Topics (messages 27954 through 27960):

Re: send mail when iis goes down?
        27954 by: Gustav Wiberg

HTTP authenticate header
        27955 by: chandar
        27957 by: Darren Whitlen
        27958 by: chandar
        27959 by: Stut

Mdaemon + send mail
        27956 by: Gustav Wiberg

LAST_INSERT_ID  & LAST_UPDATE_ID
        27960 by: sam rumaizan

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 ---
Hi there!

Is it a script you want to share? :-)

Isn't there any built-in-functionality in Windows for achieving this??? Hm..

Best regards
/Gustav Wiberg



----- Original Message ----- From: "Mikael Grön" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2007 2:24 PM
Subject: Re: [PHP-WIN] send mail when iis goes down?


We have a solution to that at the company I'm employed.
One server, my private server actually, curls a PHP script on the work server every 15 minutes and if it gets anything other than "true" it sends an SMS to me and 5 more people. Works great! But you need a server somewhere else so you get alerts on power-outs and stuff too.

I guess you could write a semi advanced batch file on the windows machine that keeps track of running processes, or even checks a file on http://127.0.0.1/ and uses some kind of text based email program to alert you if it doesn't find the stuff it's supposed to.

Mike


Gustav Wiberg skrev:
Hi there!

Anyone who knows how to recieve a mail to (administrator"-mail) account when II_S6.0 goes down?

Best regards
/Gustav Wiberg

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



--- End Message ---
--- Begin Message ---
Hi,
I am invoking a HTTP authenticate header in PHP,it opens as a popup.Is it possible for emebeding the same in the web page and ask the user for entering the user credentials and send the same data to the backend?

thanks/Chandar

--- End Message ---
--- Begin Message ---
chandar wrote:
Hi,
I am invoking a HTTP authenticate header in PHP,it opens as a popup.Is it possible for emebeding the same in the web page and ask the user for entering the user credentials and send the same data to the backend?

thanks/Chandar

You'll be needing Javascript for that.
Google around for "javascript prompt"

Darren

--- End Message ---
--- Begin Message --- but basically i don't want to popup,i want to embedd the same in webpage.can you breif me on this??
thanks/Chandar
Darren Whitlen wrote:
chandar wrote:
Hi,
I am invoking a HTTP authenticate header in PHP,it opens as a popup.Is it possible for emebeding the same in the web page and ask the user for entering the user credentials and send the same data to the backend?

thanks/Chandar

You'll be needing Javascript for that.
Google around for "javascript prompt"

Darren


--- End Message ---
--- Begin Message ---
chandar wrote:
I am invoking a HTTP authenticate header in PHP,it opens as a popup.Is it possible for emebeding the same in the web page and ask the user for entering the user credentials and send the same data to the backend?

You're using HTTP authentication, therefore PHP does not get involved at all in providing a way for the user to enter their username and password. What you're talking about is providing an HTML form for the user to enter their details into - also known as form-based authentication - which is a very simple thing to do.

Google for terms like "php login form" or similar, you'll get a good starting point from that.

-Stut

--- End Message ---
--- Begin Message ---
Hi there!

I'm searching for a way to send mail through Mdeamon (version 6)-server through 
the command-prompt... Is it possible? Anyone who knows?
Or is the only solution just by something like this?
http://www.febooti.com/products/command-line-email/online-help/batch-file-errorlevel.html#batch

Is the file MDSendAppMsg.exe (in the Mdaemon-directory) something I can use?

Best regards
/Gustav Wiberg

--- End Message ---
--- Begin Message ---
How can I select (retrieve) the last updated cell (field). Basically I need to 
pull the new information only.
   
  I'm using for updating my database:
   
  UPDATE table SET column = CONCAT_WS ('column,'" . $column."') WHERE column= 
value;
   
  I need to select data:
   
  SELECT * FROM table WHERE column=Whatever
   
    I found LAST_INSERT_ID but i doesn't work  



       Choose the right car based on your needs.  Check out Yahoo! Autos new 
Car Finder 
tool.http://us.rd.yahoo.com/evt=48518/*http://autos.yahoo.com/carfinder/;_ylc=X3oDMTE3NWsyMDd2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDY2FyLWZpbmRlcg--
 hot CTA = Yahoo! Autos new Car Finder tool

--- End Message ---

Reply via email to