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
Can anyone help me with a way to determine of two or more variables have
the same value? For instance,
$a1 = 1000
$a2 = 2000
$a3 = 2000
$a4 = 4000
$a5 = 5000
I want check these five variables and determine whether, as in this
case, two or more of the variables have the same value.
Any sugg
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
)
)
This is what we see:
echo $db['fullname']; // nope
echo $db[0]->fullname // ahhhhh !!!
-- 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
[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
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
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
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
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
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" (
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
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
Greetings.
(I've seen this subject discussed, but cannot find a solution in the
archives.)
I have a file upload site to which I need to add code for uploading of
an entire folder/subdirectory ... I realize this can't be done in PHP
alone but I'm hoping that a solution (possibly involving Javas
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
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
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
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
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
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:
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 ...
>
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
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
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.
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
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
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
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
Greetings.
I've written a simple form to allow my clients to upload files to me, and it
works fine EXCEPT that the uploaded file is owned by "www" and I while I can
read the file, I don't have the necessary permissions to delete it when done
...
Since this site is being hosted elsewhere, is there
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
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
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
Greetings.
I've had to reinstall linux/apache/php on my new laptop ... if i browse
http://localhost, i'm told that i'm running
apache-advancedExtranetServer/1.3.20 (mandrake linux/3mdk) mod_ssl/2.8.4
OpenSSL/0.9.6b PHP/4.0.6.
sounded as though i'd successfully recreated my server, yet when i try
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
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
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
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
36 matches
Mail list logo