Re: [PHP] iCal parsing and processing

2010-05-25 Thread Larry Garfield
Hm. Thanks, but it looks like that's all in Python. I'm not a parcel tongue so that wouldn't be much use to me in a PHP app. :-) Thanks though. --Larry Garfield On Tuesday 25 May 2010 06:43:30 pm Jason Pruim wrote: > Hi Larry, > > Take a look at: http://trac.calendarserver.org/ > > It's App

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-25 Thread Edwin
Hi Adam, I am not sure this would help but does echo command end with semi colon ; ?. value=""/> Maybe the echo is having some issue? Else, you could try passing the variables as method = get and view the variables in Ur address bar regards, Edwin. -Original Message- From: Adam

[PHP] Re: Looking for PHP/Solr developer

2010-05-25 Thread Manuel Lemos
Hello, on 05/25/2010 04:40 PM Walden Bay said the following: > We're looking for a developer that has experience with integrating Apache > Solr with PHP. We currently have a PHP web system, but we'd like to build > in Solr to be able to search across all parts of the site. > > Does anyone have a

Re: [PHP] displaying database output in a table

2010-05-25 Thread Adam Richardson
On Tue, May 25, 2010 at 9:27 PM, David Mehler wrote: > Hello, > I'm trying to display mysql database output in a formatted table. My > problem is i'm getting a blank screen with no errors. I've got > debugging on, and have run the cli php on this file which produces no > errors either, but neithe

Re: [PHP] displaying database output in a table

2010-05-25 Thread Ashley Sheridan
On Tue, 2010-05-25 at 21:27 -0400, David Mehler wrote: > Hello, > I'm trying to display mysql database output in a formatted table. My > problem is i'm getting a blank screen with no errors. I've got > debugging on, and have run the cli php on this file which produces no > errors either, but neith

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-25 Thread Ashley Sheridan
On Tue, 2010-05-25 at 21:17 -0400, Alice Wei wrote: > > Subject: Re: [PHP] Select Values Didn't Get Passed in From Two Different Forms > From: a...@ashleysheridan.co.uk > To: aj...@alumni.iu.edu > CC: php-general@lists.php.net > Date: Tue, 25 May 2010 20:37:29 +0100 > > > > > > > > >

[PHP] displaying database output in a table

2010-05-25 Thread David Mehler
Hello, I'm trying to display mysql database output in a formatted table. My problem is i'm getting a blank screen with no errors. I've got debugging on, and have run the cli php on this file which produces no errors either, but neither does it give me any output. My eventual goal is to select the t

RE: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-25 Thread Alice Wei
Subject: Re: [PHP] Select Values Didn't Get Passed in From Two Different Forms From: a...@ashleysheridan.co.uk To: aj...@alumni.iu.edu CC: php-general@lists.php.net Date: Tue, 25 May 2010 20:37:29 +0100 On Tue, 2010-05-25 at 15:41 -0400, Alice Wei wrote: > Date: Tue, 25 May 2010 13

Re: [PHP] iCal parsing and processing

2010-05-25 Thread Jason Pruim
Hi Larry, Take a look at: http://trac.calendarserver.org/ It's Apple's open source page which includes their iCal web server... Maybe something can be pulled from that? Just something to think about and see if it helps :) Also... Not sure if you've looked at the CalDav protocol but that i

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Bruce Gilbert
thanks again for all the help. >The output of strtotime() is an int - specifically a number of >seconds. Subtract two number of seconds from each other and what do >you get? Furthermore, divide by 60 and what do you get? > Should you want to format this, you can consider sprintf(), though, >if you

Re: [PHP] Looking for PHP/Solr developer

2010-05-25 Thread Dan Joseph
On Tue, May 25, 2010 at 3:40 PM, Walden Bay wrote: > We're looking for a developer that has experience with integrating Apache > Solr with PHP. We currently have a PHP web system, but we'd like to build > in Solr to be able to search across all parts of the site. > > Does anyone have any ideas w

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Peter Lind
On 25 May 2010 21:50, Bruce Gilbert wrote: > yea, not sure why my Query isn't returning a value though? If I don't > use date(), what should I use? The output of strtotime() is an int - specifically a number of seconds. Subtract two number of seconds from each other and what do you get? Furthermo

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Bruce Gilbert
yea, not sure why my Query isn't returning a value though? If I don't use date(), what should I use? the SQL for the timestamps looks like this. `login_timestamp` datetime NOT NULL default '-00-00 00:00:00', `submit_timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP, sorry for the top-po

Re: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-25 Thread Ashley Sheridan
On Tue, 2010-05-25 at 15:41 -0400, Alice Wei wrote: > > Date: Tue, 25 May 2010 13:40:44 -0400 > > Subject: Re: [PHP] > Select Values Didn't Get Passed in From Two Different Forms > > > From: marc.g...@gmail.com > > To: aj...@alumni.iu.edu > > > > > > I would like to take those values away into

Re: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-25 Thread Alice Wei
> Date: Tue, 25 May 2010 13:40:44 -0400 > Subject: Re: [PHP] Select Values Didn't Get Passed in From Two Different Forms > From: marc.g...@gmail.com > To: aj...@alumni.iu.edu > > > I would like to take those values away into my third form, which is what you > > see with the hidden. If they ar

[PHP] Looking for PHP/Solr developer

2010-05-25 Thread Walden Bay
We're looking for a developer that has experience with integrating Apache Solr with PHP. We currently have a PHP web system, but we'd like to build in Solr to be able to search across all parts of the site. Does anyone have any ideas where I could go to find a PHP developer with Solr experience?

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Nathan Rixham
Ashley Sheridan wrote: On Tue, 2010-05-25 at 14:22 -0400, Bruce Gilbert wrote: echo "Completion Time:". date('F j, Y g:i:sa',strtotime($row['submit_timestamp']) - strtotime($row['login_timestamp']))/60 , ""; There's a good reason for that! What you're actually doing is this: echo "Completion

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Peter Lind
On 25 May 2010 21:09, Bruce Gilbert wrote: > the resulting output with that code is a little weird. I get September > 3, 1970 2:39:32pm > > I think part of the problem is my Query. When I run it in PHP MyAdmin > I get a null value for login_timestamp even though there is indeed a > timestamp there

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Ashley Sheridan
On Tue, 2010-05-25 at 15:09 -0400, Bruce Gilbert wrote: > the resulting output with that code is a little weird. I get September > 3, 1970 2:39:32pm > > I think part of the problem is my Query. When I run it in PHP MyAdmin > I get a null value for login_timestamp even though there is indeed a > t

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Bruce Gilbert
the resulting output with that code is a little weird. I get September 3, 1970 2:39:32pm I think part of the problem is my Query. When I run it in PHP MyAdmin I get a null value for login_timestamp even though there is indeed a timestamp there. The Query again is: SELECT Responses.editor_name,An

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Ashley Sheridan
On Tue, 2010-05-25 at 14:22 -0400, Bruce Gilbert wrote: > echo "Completion Time:". date('F j, Y > g:i:sa',strtotime($row['submit_timestamp']) - > strtotime($row['login_timestamp']))/60 , ""; There's a good reason for that! What you're actually doing is this: echo "Completion Time:" . date('F j,

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Bruce Gilbert
probably not fully understanding what I need to do. I am trying this. echo "Completion Time:". date('F j, Y g:i:sa',strtotime($row['submit_timestamp']) - strtotime($row['login_timestamp']))/60 , ""; but just returns a zero value. On Tue, May 25, 2010 at 12:55 PM, Ashley Sheridan wrote: > On

[PHP] iCal parsing and processing

2010-05-25 Thread la...@garfieldtech.com
Hi folks. I am looking for a good iCal processing library (open source / GPL compatible). Unfortunately, everything I've been able to find so far is half-assed, incomplete, buggy, or so horribly designed that I'd be embarrassed to use it (or several of the above). I was hoping someone could

Re: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-25 Thread Marc Guay
>> > I would like to take those values away into my third form, which is what >> > you >> > see with the hidden. If they are not populated, then how come I could >> > see >> > the drop down menus? >> >> So you're expecting the values selected in the first two forms to >> populate the values of the

Re: [PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-25 Thread Adam Richardson
On Tue, May 25, 2010 at 1:17 PM, Alice Wei wrote: > > Hi, > > It is kind of difficult to explain what I am trying to do here, I will > provide the form here to give a better idea. > > >Select the type of your starting point of > interest: >

[PHP] Select Values Didn't Get Passed in From Two Different Forms

2010-05-25 Thread Alice Wei
Hi, It is kind of difficult to explain what I am trying to do here, I will provide the form here to give a better idea. Select the type of your starting point of interest: Apartment

RE: [PHP] Dynamic Menus in a PHP Form Issue

2010-05-25 Thread Alice Wei
> From: ak...@telkomsa.net > To: aj...@alumni.iu.edu; php-general@lists.php.net > Subject: RE: [PHP] Dynamic Menus in a PHP Form Issue > Date: Tue, 25 May 2010 08:59:08 +0200 > > -Original Message- > From: Alice Wei [mailto:aj...@alumni.iu.edu] > Sent: 24 May 2010 04:47 PM > To: php-gen

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Ashley Sheridan
On Tue, 2010-05-25 at 12:46 -0400, Bruce Gilbert wrote: > Here is what I currently have. > > echo "Completion Time:" . > (strtotime($row['submit_timestamp']) - > strtotime($row['login_timestamp']))/60 , ""; > > this gives me an output of 21235172.75 > > not sure what format that is in? I was ho

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Bruce Gilbert
Here is what I currently have. echo "Completion Time:" . (strtotime($row['submit_timestamp']) - strtotime($row['login_timestamp']))/60 , ""; this gives me an output of 21235172.75 not sure what format that is in? I was hoping for something like 60 minutes, 30 minutes etc. Don't need the days or

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Peter Lind
On 25 May 2010 16:14, Bruce Gilbert wrote: > Thanks. I know my syntax isn't quite right, but is this close to what > I need to do? > > echo "Completion Time:" . date('F j, Y > g:i:sa', strtotime($row["login_timestamp"] - ["submit_timestamp"])/60) > . ""; > No. Assuming that your timestamp is of t

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Bruce Gilbert
Thanks. I know my syntax isn't quite right, but is this close to what I need to do? echo "Completion Time:" . date('F j, Y g:i:sa', strtotime($row["login_timestamp"] - ["submit_timestamp"])/60) . ""; On Tue, May 25, 2010 at 10:01 AM, Peter Lind wrote: > On 25 May 2010 15:55, Bruce Gilbert wro

Re: [PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Peter Lind
On 25 May 2010 15:55, Bruce Gilbert wrote: > Here is the situation. I have a form which sets a timestamp when a > user logs in using UPDATE in SQL. The field is called > 'login_timestamp' and is in a table called 'Candidates'. I have > another timestamp which is set when a user submits the form da

[PHP] determining time difference between two timestamp fields.

2010-05-25 Thread Bruce Gilbert
Here is the situation. I have a form which sets a timestamp when a user logs in using UPDATE in SQL. The field is called 'login_timestamp' and is in a table called 'Candidates'. I have another timestamp which is set when a user submits the form data into the DB and it is called 'submit_timestamp' .

Re: [PHP] exec in different directory where PHP is Installed

2010-05-25 Thread loki
I have a begin of explanation When PHP is run as CGI it's work but with this header message : '\\xxx.xxx.xxx.xxx\scriptdir' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory. Status: 200 OK X-Powered-By: PHP/5.2.8 Cont

[PHP] COM/DCOM

2010-05-25 Thread Mayer, Jonathan
Hello, I'm trying to write a few scripts to help automate some Windows administration tasks. One of these is to add people to groups on different networked machines. I've written something like the following: TestComputer' , 'Username' => 'TestUser' , 'Password' => 'TestPass'); // lis

RE: [PHP] Dynamic Menus in a PHP Form Issue

2010-05-25 Thread Arno Kuhl
-Original Message- From: Alice Wei [mailto:aj...@alumni.iu.edu] Sent: 24 May 2010 04:47 PM To: php-general@lists.php.net Subject: [PHP] Dynamic Menus in a PHP Form Issue Hi,I have a snippet as in the following: Select the type of your starting point of interest: A