Re: [PHP] checking for duplicate values among five variables

2007-07-07 Thread Kenn Murrah
Thanks, Robert ... that was EXACTLY what I needed. kennM Robert Cummings wrote: On Fri, 2007-07-06 at 23:03 -0400, Robert Cummings wrote: On Fri, 2007-07-06 at 21:51 -0500, Kenn Murrah wrote: Can anyone help me with a way to determine of two or more variables have the same value

[PHP] checking for duplicate values among five variables

2007-07-06 Thread Kenn Murrah
suggestions how I can do this? Thanks in advance. kenn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP or Bridge (card game)

2007-02-10 Thread Kenn Murrah
pub wrote: which do you think is harder to learn, PHP or bridge? Well, PHP *can* be a lot more complicated, but at least it's more or less predictable, and I've RARELY had a bridge partner that played the game predictably and consistently kennM -- PHP General Mailing List (http://www.p

Re: [PHP] connection error on file upload

2006-04-03 Thread Kenn
Jay Blanchard wrote: > [snip] > Jay Blanchard wrote: > >> [snip] >> That was my first thought, but two things: 1. the error occurs >> IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think >> > that > >> arbitrarily high number would prevent that error? >> [/snip] >> >>

Re: [PHP] connection error on file upload

2006-04-03 Thread Kenn
neglected to mention: upload_max_filesize = 200M post_max_size = 250M Kenn wrote: > That was my first thought, but two things: 1. the error occurs > IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think that > arbitrarily high number would prevent that error? &g

Re: [PHP] connection error on file upload

2006-04-03 Thread Kenn
That was my first thought, but two things: 1. the error occurs IMMEDIATELY, and 2. the max_execution_time = 6000 so I would think that arbitrarily high number would prevent that error? Jay Blanchard wrote: > [snip] > The connection was reset. > The connection to the server was reset while the

[PHP] connection error on file upload

2006-04-03 Thread Kenn
tments but can't find the magic solution. I've just rebuilt the box from scratch, and I must be overlooking something -- nothing I've tried so far works. Any ideas? Thanks in advance. Kenn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] specifying a font in PHP-generated email

2005-09-20 Thread Kenn
ny and all help appreciated. Kenn New Document <!-- h1 {color: #00; font-family: \"verdana\" ; } --> testing TESTING 222 test over. ")); //send message mail("[EMAIL PROTECTED]", "Another HTML Message", "", $headers); ?> -- PHP G

Re: [PHP] elementary question about reading an array ...

2004-04-01 Thread Kenn Murrah
) ) This is what we see: echo $db['fullname']; // nope echo $db[0]->fullname // ah !!! -- red Kenn Murrah wrote: [snip] [snip] In code that I did not create (and do not entirely understand), an array ($db) was created which, if displayed with print_r($db), shows the

Re: [PHP] elementary question about reading an array ...

2004-04-01 Thread Kenn Murrah
[snip] In code that I did not create (and do not entirely understand), an array ($db) was created which, if displayed with print_r($db), shows the following: Array ( [0] => bc Object ( [fullname] => Kent Huffman [industry] => Technology Solutions [url] => /tsi [address1] => 2300 W. Plano Parkwa

[PHP] elementary question about reading an array ...

2004-04-01 Thread Kenn Murrah
Greetings. In code that I did not create (and do not entirely understand), an array ($db) was created which, if displayed with print_r($db), shows the following: Array ( [0] => bc Object ( [fullname] => Kent Huffman [industry] => Technology Solutions [url] => /tsi [address1] => 2300 W. Plano P

Re: [PHP] Re: extracting data from XML file to PHP variable ..

2004-03-31 Thread Kenn Murrah
will have virtually no portability to any future project, it would help me out of a terrible mind in dealing with today's issue :-) thanks. kenn Jason Barnett wrote: Kenn Murrah wrote: Greetings. I've been RTFM all morning and for the live of me can't figure out how to relat

[PHP] extracting data from XML file to PHP variable ..

2004-03-31 Thread Kenn Murrah
Greetings. I've been RTFM all morning and for the live of me can't figure out how to relate the element name to its data, e.g. if the element name is "fullname" and the data is "John Doe' how do I achieve $fullname = "John Doe" I must not be understanding how xml_parse works, and my searches

Re: [PHP] odd, sporatic upload problem ...

2004-03-05 Thread Kenn Murrah
No, it happens immediately upon clicking the "submit" button on the previous page Sam Masiello wrote: How long is it before the "Page Not Found" error occurs? Is the browser possibly timing out? --Sam Kenn Murrah wrote: Greetings. I have an odd (to me) pr

[PHP] odd, sporatic upload problem ...

2004-03-05 Thread Kenn Murrah
Greetings. I have an odd (to me) problem ... from most computers, the upload code (shown, in part, below) works just fine but from at least one computer, if the user uploads a small file (under 1meg), it works properly . but if he uploads a larger file he gets either a "page not found" (

[PHP] PHP syntax error or javascript mistake?

2003-11-19 Thread Kenn Murrah
Greetings: I can't decide if my problem is PHP or Javascript, but I've been staring at this line of code for too long without being able to see why it's behaving the way it is I'm trying to open a new window on top of the current window, and it does that, but the "original" (bottom) windo

[PHP] passing PHP variables to Javascript ...

2003-11-17 Thread Kenn Murrah
Greetings. I need to be able to pass a PHP variable to a Javascript and can't figure out how to do it. In short, the Javascript win() statement is used open a page as defined in PHP -- i.e., $php_name = "http://www.somewhere.com/something/3.jpg"; , a filename that was generated dynamically in

[PHP] searching for javascript (or others) that can be used in conjunctionwith PHP for file folder uploads

2003-08-29 Thread Kenn Murrah
sibly involving Javascript) can be found that can be added to my existing PHP solution ... I've seen ASP-related sites that can do this, but I can't find a way with PHP ... Can anyone point me to a javascript (or other) script that I can buy and incorporate into my PHP ? Thanks for

Re: [PHP] uploading entire directory, with or without compression ...

2003-04-02 Thread Kenn Murrah
sage - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 8:14 AM Subject: Re: [PHP] uploading entire directory, with or without compression ... > On Wednesday 02 April 2003 22:08, Kenn Murrah wrote: > > yes, of course they

Re: [PHP] uploading entire directory, with or without compression ...

2003-04-02 Thread Kenn Murrah
er instead ... - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "Kenn Murrah" <[EMAIL PROTECTED]> Cc: "php list" <[EMAIL PROTECTED]> Sent: Wednesday, April 02, 2003 7:47 AM Subject: Re: [PHP] uploading entire directory, with or without c

[PHP] uploading entire directory, with or without compression ...

2003-04-02 Thread Kenn Murrah
Greetings. I have a web site which permits my clients to upload a file via php4, and it works great ... however, some clients have requested that they be able to upload entire directories from their windows or macintosh computers ... that is, to select the entire folder rather than doing one file

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Kenn Murrah
oh, and that reminds me ... another O'Reilly title, "PHP Cookbook" is REALLY helpful if, like a lot of us, you like to learn from examples ... - Original Message - From: "Mike" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 28, 2003 4:10 PM Subject: Re: [PHP] Is there a P

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Kenn Murrah
well, B., i've read a LOT of 'em .. it sort of depends on YOUR background as to which is best ... i like "Professional PHP Programming" from Wrox ... don't bother with "Beginning PHP Programming" from Wrox ... it'll probably insult your intelligence ... one of the first i ever read, when i was fi

Re: [PHP] Removing columns from a text file

2003-03-27 Thread Kenn Murrah
could you just write a simple awk script to read each line and write out only the columns you wish to keep? - Original Message - From: "CPT John W. Holmes" <[EMAIL PROTECTED]> To: "George Pitcher" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 9:50 AM Subject: Re:

[PHP] Re: need help with parsing form input ...

2003-03-11 Thread Kenn Murrah
except ALPHA and NUM Chars Joel "Kenn Murrah" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Greetings. > > I'm out of my league here, not knowing enough about regular expressions yet > to do this, so I desperately need someone's help ... >

[PHP] need help with parsing form input ...

2003-03-11 Thread Kenn Murrah
Greetings. I'm out of my league here, not knowing enough about regular expressions yet to do this, so I desperately need someone's help ... I need to parse form input to eliminate unwanted characters (punctuation, mostly) ... for instance, if the web site visitor types " smith,susan--33" into the

[PHP] problem changing max file upload size

2003-03-05 Thread Kenn Murrah
Greetings. I'm having trouble uploading large files via PHP ... in my php.ini file, i have the lines: post_max_size = 100M upload_max_filesize = 100M yet I still can't get large files to upload. What am I doing wrong? Thanks in advance. -- PHP General Mailing List (http://www.php.net/) To

[PHP] loading a different web page ...

2003-01-06 Thread Kenn Murrah
i know this is an elementary question, but i can't even figure out what to search for at php.net i need php code that, when executed, takes you to a different web page, i.e. when browser goes to www.abc.com, he's automatically redirected to www.xyz.com ... thanks in advance for the help.

Re: [PHP] problems adjusting size of permissable file uploadRESOLVED

2003-01-06 Thread Kenn Murrah
that worked ... thanks !! - Original Message - From: Adam Voigt To: Kenn Murrah Cc: php list Sent: Monday, January 06, 2003 8:48 AM Subject: Re: [PHP] problems adjusting size of permissable file upload There's also a max POST size variable in the php.ini, try u

[PHP] problems adjusting size of permissable file upload

2003-01-06 Thread Kenn Murrah
Greetings. My code to upload file is working fine with very small files but not with larger ones Here's what I've tried so far: 1. I've edited my php.ini file to read: upload_max_filesize = 100M 2. I've the following line to my html file: when i try to upload a file of about 5 megs, it

[PHP] writing uploaded file to another drive on another network?

2002-12-17 Thread Kenn Murrah
admitting in advance that this may be a REALLY stupid question .. i've created a page for uploading files using PHP, and it works fine ... is it possible to write that uploaded file to another drive, on another network? for instance, my PHP pages are currently being hosted offsite ... would it be

Re: [PHP] controlling ownership on file uploads ...

2002-11-27 Thread Kenn Murrah
y 28 November 2002 01:04, Adam Voigt wrote: > > exec("/bin/chown newuser:newuser /path/to/file"); > > The user running apache (in this case 'www') will most likely not have the > requisite permissions to perform that operation. > > > On Wed, 2002-11-2

[PHP] controlling ownership on file uploads ...

2002-11-27 Thread Kenn Murrah
hosted elsewhere, is there a way I can control ownership so that I can delete the file? I've written my ISP/web hoster and received no response -- usually that's their subtle way of telling me I should ask the PHP quiestion here :-) Any and all help would be appreciated. Thanks, kenn

Re: [PHP] using .htaccess file to set max upload file size SOLVED

2002-11-13 Thread Kenn Murrah
Jon: You are absolutely right (and FYI, the units are bytes) ... Thanks so much for your help on this topic (as well as a couple of others lately, when I neglected to writ to "thanks" ) kennM - Original Message - From: "Jon Haworth" <[EMAIL PROTECTED]> T

[PHP] using .htaccess file to set max upload file size

2002-11-13 Thread Kenn Murrah
greetings. a couple of years ago, i used a .htaccess file to specify the maximum size for files i was uploading via html / php ... for the live of me, i can't find that file, or remember exactly how it needed to be written ... can anyone refresh my memory? thanks, kenn

[PHP] progress bar for use with PHP uploads

2002-11-12 Thread Kenn Murrah
Greetings Can anyone point me in the direction of a Javascript code snippet that would display a progress bar for a PHP upload? I'm sure it can be done that way, but honestly, I lack the Javascript skills to make it happen Any and all help would be appreciated. Thanks. Kenn

[PHP] re-installation problem ...

2002-08-09 Thread Kenn Murrah
y server, yet when i try to browse my *.php files, i see the code, in its entirety ... so, what have i done wrong? how can i fix this mess i've gotten myself into? thanks for the help. kenn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] remembering variables between pages when using forms ...

2001-10-18 Thread Kenn Murrah
didn't want to bother everyone with all the code, but here's a mildly edited version ... here's the form: password is " . $password; ?> You're authorized ! Click to continue. -- here's the framed page called by the form: Paymentech Print Orders

RE: [PHP] hosting

2001-07-26 Thread Kenn Murrah
this DOES sound like a nice one ... but has anyone actually used them? can someone give me an idea about realibility for commerical purposes? Thanks, KennM -Original Message- From: Aniceto Lopez [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 26, 2001 10:43 AM To: PHP list Subject: [P

RE: [PHP] concatentation problems ...

2001-07-19 Thread Kenn Murrah
never mind ... one lousy missing double quote on the form ... geez -Original Message- From: Kenn Murrah [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 19, 2001 3:00 PM To: [EMAIL PROTECTED] Subject: [PHP] concatentation problems ... Greetings. I've searched the manual and can&#

[PHP] concatentation problems ...

2001-07-19 Thread Kenn Murrah
Greetings. I've searched the manual and can't find what I need ... PLEASE point me in the right direction. I need to concatenate several variables, some of which are text and some of which are integers ... e.g. $desired_string = $number . $text . $number2 . $text where $text and $text2 are str