php-general Digest 25 May 2010 13:56:07 -0000 Issue 6763

2010-05-25 Thread php-general-digest-help
php-general Digest 25 May 2010 13:56:07 - Issue 6763 Topics (messages 305494 through 305503): Re: editing a file 305494 by: Rene Veerman 305495 by: Andres Gonzalez 305496 by: Ryan Sun 305497 by: shiplu Re: Remove blank lines from a file 305498 by:

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: ul liSelect the type of your starting point of

[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: ?php $computer = TestComputer; $groupName = TestGroup; $server_config =

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

[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] determining time difference between two timestamp fields.

2010-05-25 Thread Peter Lind
On 25 May 2010 15:55, Bruce Gilbert webgu...@gmail.com 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

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 trthCompletion Time:/th/trtrtd . date('F j, Y g:i:sa', strtotime($row[login_timestamp] - [submit_timestamp])/60) . /td/tr; On Tue, May 25, 2010 at 10:01 AM, Peter Lind peter.e.l...@gmail.com wrote: On 25

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

2010-05-25 Thread Peter Lind
On 25 May 2010 16:14, Bruce Gilbert webgu...@gmail.com wrote: Thanks. I know my syntax isn't quite right, but is this close to what I need to do? echo trthCompletion Time:/th/trtrtd . date('F j, Y g:i:sa', strtotime($row[login_timestamp] - [submit_timestamp])/60) . /td/tr; No. Assuming

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

2010-05-25 Thread Bruce Gilbert
Here is what I currently have. echo trthCompletion Time:/th/trtrtd . (strtotime($row['submit_timestamp']) - strtotime($row['login_timestamp']))/60 , /td/tr; 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

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 trthCompletion Time:/th/trtrtd . (strtotime($row['submit_timestamp']) - strtotime($row['login_timestamp']))/60 , /td/tr; this gives me an output of 21235172.75 not sure what format that is in?

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:

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 are not

[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 any

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 ; ?. input type=hidden name=form2 value=?php echo $end?/ 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,

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 Apple's