[PHP-WIN] Remote Procedure Call Failed

2005-01-31 Thread Alex Gemmell
Hello, I am building a login system for my website but I keep experiencing an error on a specific PHP page that I have never encountered before and it seems worryingly low-level! It says: "The remote procedure call failed." And that's it! Nothing else is on the page. Sometimes I get

[PHP-WIN] Date Help Needed

2005-01-31 Thread Ron.Herhuth
I am trying to construct a function where I feed it a number such as "x" it returns the date "x" days ago. I tried checking out several resources that give you the difference between two dates, but not exactly what I was looking for. I was just hoping someone had a little algorithm in their bag

[PHP-WIN] Re: Date Help Needed

2005-01-31 Thread Jason Barnett
Ron Herhuth wrote: I am trying to construct a function where I feed it a number such as "x" it returns the date "x" days ago. $format = 'l dS of F Y h:i:s A'; /** Check that "now" relative time is ok, instead of midnight */ echo date($format, strtotime("now")) . "\n"; /** If now resolves correctly

[PHP-WIN] Re: Date Help Needed

2005-01-31 Thread Jeremy Schreckhise
You could also do: $daystosubtract = 3; $mydate = (date("m/d/y",mktime(0,0,0,date("m"),date("d")-$daystosubtract,date("Y"; Jeremy Schreckhise "Jason Barnett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Ron Herhuth wrote: > > I am trying to construct a function where

[PHP-WIN] Re: Timed redirection

2005-01-31 Thread Jeremy Schreckhise
Try: sleep(3); $myurl = "http://jsfree.com";; print("window.location = '$myurl'; "); Works for me, Jeremy Schreckhise "Jim MacDiarmid" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is there a way to programmatically add timed redirection to a page? I have > a page wi

RE: [PHP-WIN] Re: Date Help Needed

2005-01-31 Thread Ron.Herhuth
Thanks...that did the trick very nicely! i appreciate the help. Ron >From: Jeremy Schreckhise >To: php-windows@lists.php.net >Sent: 01/31/2005 12:56 PM >You could also do: >$daystosubtract = 3; >$mydate = >(date("m/d/y",mktime(0,0,0,date("m"),date("d")-$daystosubtract,date("Y")) )); > >

Re: [PHP-WIN] Re: NT username detectable?

2005-01-31 Thread winnesoup
It's unbelievable. This question is freaking me out for a year or so and when I started looking again for a solution Manuel made this post. Hopefully we will finally get to an answer!!! The internet is FULL of "supposed to be solutions" to this questions, but so far I came out with ZIP/ NADA. Nowh

Re: [PHP-WIN] server problem

2005-01-31 Thread winnesoup
There is a PEAR package for this. Search for PEAR ping() at pear.php.net good luck - Original Message - From: "Ross Hulford" <[EMAIL PROTECTED]> To: Sent: Wednesday, January 26, 2005 7:09 PM Subject: [PHP-WIN] server problem > I want to write a script that will check if the server is

RE: [PHP-WIN] Re: NT username detectable?

2005-01-31 Thread Wagner, Aaron
> -Original Message- > From: winnesoup [mailto:[EMAIL PROTECTED] > Sent: January 30, 2005 18:16 > To: Manuel Lemos; php-windows@lists.php.net > Subject: Re: [PHP-WIN] Re: NT username detectable? > > > It's unbelievable. This question is freaking me out for a > year or so and > when I s

Re: [PHP-WIN] Re: NT username detectable?

2005-01-31 Thread winnesoup
thnx Manuel for your reply. Problem is, no "binary" found so far for mod_ntlm. And then it turns out you need mod_auth_sspi for Apache 2.x After more reading found this article at the internet: http://twiki.org/cgi-bin/view/Codev.WindowsInstallModNTLM points to apache on windows configurations.