Re: [PHP] Weird Behavior

2010-10-21 Thread Alexander Schrijver
On Wed, Oct 20, 2010 at 07:02:49PM -0400, ad...@buskirkgraphics.com wrote: > Hm > > I guess the little person inside, just hates the long way of doing > something. > > > My suggestion > > $CD = 1287583899; > $q1s = 1283313600; > $q1e = 1291093200; > $q2s = 1291179600; > $q2e = 1298869200; >

RE: [PHP] Weird Behavior

2010-10-20 Thread admin
@dwdataconcepts.com] Sent: Wednesday, October 20, 2010 10:35 AM To: php-general@lists.php.net Subject: [PHP] Weird Behavior Little help please ;) $CD = 1287583899 $q1s = 1283313600 $q1e = 1291093200 $q2s = 1291179600 $q2e = 1298869200 $q3s = 1298955600 $q3e = 1306814400 $q4s = 1306900800 $q4e =

RE: [PHP] Weird Behavior

2010-10-20 Thread Steven Buehler
...@dwdataconcepts.com] Sent: Wednesday, October 20, 2010 9:35 AM To: php-general@lists.php.net Subject: [PHP] Weird Behavior Little help please ;) $CD = 1287583899 $q1s = 1283313600 $q1e = 1291093200 $q2s = 1291179600 $q2e = 1298869200 $q3s = 1298955600 $q3e = 1306814400 $q4s = 1306900800 $q4e

Re: [PHP] Weird Behavior

2010-10-20 Thread Alexander Schrijver
On Wed, Oct 20, 2010 at 07:35:26AM -0700, Don Wieland wrote: > Little help please ;) > > $CD = 1287583899 > $q1s = 1283313600 > $q1e = 1291093200 > $q2s = 1291179600 > $q2e = 1298869200 > $q3s = 1298955600 > $q3e = 1306814400 > $q4s = 1306900800 > $q4e = 1314763200 > > Why does the following not

Re: [PHP] Weird Behavior

2010-10-20 Thread Daniel Brown
On Wed, Oct 20, 2010 at 10:35, Don Wieland wrote: > Little help please ;) > > $CD = 1287583899 > $q1s = 1283313600 > $q1e = 1291093200 > $q2s = 1291179600 > $q2e = 1298869200 > $q3s = 1298955600 > $q3e = 1306814400 > $q4s = 1306900800 > $q4e = 1314763200 > > Why does the following not return the v

[PHP] Weird Behavior

2010-10-20 Thread Don Wieland
Little help please ;) $CD = 1287583899 $q1s = 1283313600 $q1e = 1291093200 $q2s = 1291179600 $q2e = 1298869200 $q3s = 1298955600 $q3e = 1306814400 $q4s = 1306900800 $q4e = 1314763200 Why does the following not return the value "1" in the $qCur var // Current Quarter if($CD >= $q1s && $CD <= $q

Re: [PHP] Weird behavior of exec()

2010-07-16 Thread Leonardo
Em 16/07/2010 12:18, Jim Lucas escreveu: I tried running the same script, and found that the php binary is not in my path. run this echo passthru('which php'); Also, modify your existing exec() command to the following and it will capture errors too. exec('php b.php> output.txt 2>&1&'); A

Re: [PHP] Weird behavior of exec()

2010-07-16 Thread Leonardo
Em 16/07/2010 09:09, Richard Quadling escreveu: I'm on Windows XP SP3 and using PHP 5.3.3RC3 (cli) (built: Jul 15 2010 02:00:11) Copyright (c) 1997-2010 The PHP Group All seems to work as expected. Z:\\output.txt'); echo ' File A (2) '; ?> And because of my setup matching the docs at [1]

Re: [PHP] Weird behavior of exec()

2010-07-16 Thread Jim Lucas
Leonardo wrote: > Hi everybody. I need to use exec() to run a background php script, but > it's not working properly. Take a look at this sample: > > a.php > >echo ' File A (1) '; > >exec('php b.php > output.txt &'); > >echo ' File A (2) '; > >?> > > b.php > >echo

Re: [PHP] Weird behavior of exec()

2010-07-16 Thread Richard Quadling
On 15 July 2010 16:51, Leonardo wrote: > Hi everybody. I need to use exec() to run a background php script, but it's > not working properly. Take a look at this sample: > > a.php >   >   echo ' File A (1) '; > >   exec('php b.php > output.txt &'); > >   echo ' File A (2) '; > >   ?> > > b.php >  

[PHP] Weird behavior of exec()

2010-07-15 Thread Leonardo
Hi everybody. I need to use exec() to run a background php script, but it's not working properly. Take a look at this sample: a.php output.txt &'); echo ' File A (2) '; ?> b.php output.txt (begins with 64 null bytes before the following) File A (2) I would expect the outpu

Re: [PHP] weird behavior: Apache mod rewrite

2010-02-26 Thread Ashley Sheridan
On Fri, 2010-02-26 at 18:39 +0900, Alberto Lepe wrote: > Hello everyone, this is my first time in this mailing list. > Using: PHP Version 5.2.10-2ubuntu6.4, Apache/2.2.12 > > I'm redirecting all the request into one file with ( .htaccess ): > > RewriteEngine On > RewriteRule .* index.php > > My

[PHP] weird behavior: Apache mod rewrite

2010-02-26 Thread Alberto Lepe
Hello everyone, this is my first time in this mailing list. Using: PHP Version 5.2.10-2ubuntu6.4, Apache/2.2.12 I'm redirecting all the request into one file with ( .htaccess ): RewriteEngine On RewriteRule .* index.php My index code is: In the same directory I just have other file besides in

Re: [PHP] weird behavior with a form

2001-08-08 Thread Richard Lynch
AIL PROTECTED]> Sent: Friday, August 03, 2001 7:25 PM Subject: RE: [PHP] weird behavior with a form > Perhaps a little clarification... I'm very sorry I wasn't clear in the > first place! => > > The page works fine if I click on submit with the mouse. I'm curious

Re: [PHP] weird behavior with a form

2001-08-04 Thread mike cullerton
on 8/3/01 6:43 PM, Ben Bleything at [EMAIL PROTECTED] wrote: > Whacky. It works now => i seem to remember a thread not that long ago (maybe it was on a different list) similar to this. the conclusion was that netscape and ie (and i'm sure others as well) handle this differently, and one of the

RE: [PHP] weird behavior with a form

2001-08-03 Thread Ben Bleything
Queen [mailto:[EMAIL PROTECTED]] Sent: Friday, August 03, 2001 5:31 PM To: Benjamin Bleything Cc: [EMAIL PROTECTED] Subject: Re: [PHP] weird behavior with a form On Fri, 3 Aug 2001, Benjamin Bleything wrote: >Date: Fri, 3 Aug 2001 17:05:54 -0700 (PDT) >From: Benjamin Bleything <[EMAIL P