[PHP] LAMP jobs

2003-11-20 Thread Susan Ator
It seems like this question came up before. Is there a resource for people looking for jobs working with open source products (LAMP specifically)? Thanks, susan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

FW: [PHP] Having fits with input to array

2003-11-17 Thread Susan Ator
Sorry, forgot to post to the list. sa -Original Message- From: Susan Ator Sent: Monday, November 17, 2003 11:12 AM To: 'CPT John W. Holmes' Subject: RE: [PHP] Having fits with input to array D'oh. You're right. I have a tendency to do things the hard way. That

RE: [PHP] Having fits with input to array

2003-11-17 Thread Susan Ator
15083 $var1 = bash $var2 = S $var3 = 4380 etc... How do I get to this point? Susan -Original Message- From: Susan Ator Sent: Friday, November 14, 2003 6:35 PM To: 'CPT John W. Holmes '; ''Lowell Allen' '; 'PHP ' Subject: RE: [PHP] Having f

RE: [PHP] Having fits with input to array

2003-11-14 Thread Susan Ator
Actually, what I need to do is: $var1 = $Array2[1] $var2 = $Array2[2] etc... but I just seem to get Array as the output of $var1, $var2, etc... susan -Original Message- From: CPT John W. Holmes To: Susan Ator; 'Lowell Allen'; PHP Sent: 11/14/03 4:01 PM Subject

RE: [PHP] Having fits with input to array

2003-11-14 Thread Susan Ator
ou, susan -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Friday, November 14, 2003 3:00 PM To: Susan Ator; 'Lowell Allen'; PHP Subject: Re: [PHP] Having fits with input to array $Array1 = array(); $Array2 = array(); $cmd = " -C $pgm --no-heade

RE: [PHP] Having fits with input to array

2003-11-14 Thread Susan Ator
Well, my understanding is the array($ps2); bit takes care of that. What I need to do is call the ps command with the options listed for each program I'm interested in tracking, take each line output and treat it as an element in an array. Then, for each array element I need to create another array

[PHP] Having fits with input to array

2003-11-14 Thread Susan Ator
I am sending this again as it seems like it didn't go the first time. I have a series of commands like so (with different programs on each line): display_pgm("bash"); Here is the bare bones of the function 'display_pgm': function display_pgm ($pgm) { $cmd = " -C $pgm --

[PHP] Having fits with input to array

2003-11-14 Thread Susan Ator
I have a series of commands like so (with different programs on each line): display_pgm("bash"); Here is the bare bones of the function 'display_pgm': function display_pgm ($pgm) { $cmd = " -C $pgm --no-headers -o pid,fname,state,vsz,start_time,flag,user,cputime,args --co

[PHP] Passing variables on the url and Macs

2003-11-12 Thread Susan Ator
Does anyone know of a problem on Macs (pre OSX) with passing variables on the URL? For example with the following url: http://someplace.org/file.php?ID=id&thingy=thingy only http://someplace.org/file.php actually gets passed. susan -- PHP General Mailing List (http://www.php

RE: [PHP] Session output question

2003-10-22 Thread Susan Ator
Perfect. Thank you so much. That was exactly what I needed. Susan -Original Message- From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 1:53 PM To: Susan Ator; [EMAIL PROTECTED] Subject: Re: [PHP] Session output question From: "Susan Ator&quo

[PHP] Session output question

2003-10-22 Thread Susan Ator
Two questions: 1) Is there any way to print out active sessions names? I have $_SESSION['SID'], $_SESSION['uid'], $_SESSION['msg'] can I output the literal strings: $_SESSION['SID'] $_SESSION['uid'] $_SESSION['msg'] 2) Is there any

[PHP] Session question

2003-10-14 Thread Susan Ator
What would cause the loss of a session in these circumstances: php page with search form - session good search form calls perl script php page with search results - php wrapper for perl search form displaying output - session good php page gotten to from link on php

RE: [PHP] pad numbers

2003-10-10 Thread Susan Ator
The way I have done it is to check the length of the number and if it is 1 then add the 0 myself. my $len = length($mm); if ($len eq 1) { $mm = "0$mm"; } Susan -Original Message- From: Diana Castillo [mailto:[EMAIL PROTECTED] Sent: Friday, October 10, 2003 10:45 AM To: [EMAIL PROTECTED]

RE: [PHP] File read and sort question

2003-10-06 Thread Susan Ator
003 1:06 PM To: PHP-General Subject: Re: [PHP] File read and sort question Susan Ator wrote: > The problem with using a database is the files within the directory are > changing on, sometimes, a minute by minute basis. I think reading them into > the database then deleting them when th

RE: [PHP] File read and sort question

2003-10-06 Thread Susan Ator
clear in my previous post; when the files are removed from the directory I no longer want them displaying in my web page. Susan -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Monday, October 06, 2003 12:18 PM To: Susan Ator Cc: PHP-General Subject: Re: [PHP] File

[PHP] File read and sort question

2003-10-06 Thread Susan Ator
I have a directory with an ever-changing number of files. Some will be removed and others added on a continuing basis. The files are ascii with the following layout: Name Subject line mm/dd/ hh:mm I can easily get a list of files and pull the necessary information. I need, however to be

[PHP] $_SERVER['UNIQUE_ID'] question

2003-09-23 Thread Susan Ator
I have looked and cannot find any information on this particular variable. How unique is this id and when does it get generated? I'm looking to use this as a session identifier. Susan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] is it possible to have the following URL?

2003-09-22 Thread Susan Ator
o have the following URL? This should work: https://url_locaion.org/prev_page.php?SID=$SID&uid=$uid&ELEM_ID=$id#tag Erwin Susan Ator wrote: >I am passing 3 pieces of information on every URL. For example: > >https://url_location.org/page.php?SID=$SID&uid=$uid&ELEM_ID=$id &g

[PHP] is it possible to have the following URL?

2003-09-22 Thread Susan Ator
I am passing 3 pieces of information on every URL. For example: https://url_location.org/page.php?SID=$SID&uid=$uid&ELEM_ID=$id I need to be able to return to a previous page using an anchor tag like so: https://url_locaion.org/prev_page.php#tag?SID=$SID&uid=$uid&ELEM_ID=$id So far it doesn't

RE: [PHP] How do I do this PERL in PHP?

2003-09-16 Thread Susan Ator
Thank y'all so much for all your help. sa -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 2:30 PM To: Susan Ator Cc: [EMAIL PROTECTED] Subject: RE: [PHP] How do I do this PERL in PHP? The following will do variable matching lik

RE: [PHP] How do I do this PERL in PHP?

2003-09-16 Thread Susan Ator
lot of fields and I hate doing the same thing over and over if there is a way to avoid it. :) sa -Original Message- From: Robert Cummings [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2003 12:05 PM To: Susan Ator Cc: [EMAIL PROTECTED] Subject: Re: [PHP] How do I do this PERL i

[PHP] How do I do this PERL in PHP?

2003-09-16 Thread Susan Ator
I have a text file with the following format: name stuff message text message text message text I need to be able to assign a variable to the data like so: $to = "everything to the left of "; $subject = "everything to the left of "; $message = "everything to the left of "; so $to = "name";