> >And as a side note (some of you already know): for my wife and I
> > closing out the year, we heard the heartbeat of our first child for
> > the first time today in the ultrasound.
> Congrats on the new critter to be...they are a lot of fun after the
first
> year of eating sleeping and poo
I regret that I don't recall who made the brilliant observation that
programmers spend the majority of their time *reading* code (their own or
others) as opposed to *writing* code.
So, I make it a point to try to make my code easily scannable. I only and
always use the switch construct when eva
revDAVE wrote on 03/20/2009 03:11:00 PM:
> Newbie ... I'm trying to Trying to read / show a csv file line by line
...
fgetcsv is your friend.
http://us.php.net/manual/en/function.fgetcsv.php
Kirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
> On Jun 2, 2009, at 17:26, "Grant Peel" wrote:
>
> I am currently setting up the next generation web server for our
> company and am in need of general consulting/advice on php set up
> security issues.
For "general" considerations, start here:
http://www.php.net/manual/en/security.general.
> [PHP] Re: Can someone tell me why this is not working?
>
> > The center echo does not show. It will show if I replace $newmort
with
> > anything else. I have copied the first "if" statement,pasted it in
the
> > second position, and it works fine. Once I change the var to
$newmort, it
>
Andres Gonzalez wrote on 06/23/2009 12:26:38 PM:
> I want to modify $results within the foreach. In other words,
> during a given pass of this iteration, I want to delete some
> of the items based on particular conditions. Then on the next
> pass thru the foreach, I want $results to be the newer,
Paul M Foster wrote on 09/30/2009 09:29:17 PM:
> [PHP] POST without POSTing
>
> Paul M Foster
>
> to:
>
> php-general
>
> 09/30/2009 09:31 PM
>
> I have a form that collects certain info via POST. It is re-entrant, so
> when the user hits the "submit" button, it checks the input and does
>
tedd wrote on 10/04/2009 08:51:13 AM:
> [PHP] a trivial little function (PostToHost)
>
> tedd
>
> to:
>
> php-general
>
> 10/04/2009 09:05 AM
>
> Hi gang:
>
> The following 'trivial little' function I'm trying to get my head
around:
>
> http://aspn.activestate.com/ASPN/Mail/Message/php-g
tedd wrote on 10/05/2009 01:44:00 PM:
[snip]
> Hi Kirk:
>
> Okay, but what specifically is that script?
>
> I have written a script at server B to print_r($_POST), but I don't
> get anything other than log errors (see below*).
>
> Here's an example:
>
> http://www.webbytedd.com/aa/send-for
"Bob McConnell" wrote on 07/02/2010 08:53:30 AM:
> > Arguments against using/dismissing the "name" attribute in tags is
> > simply nonsense.
>
> This discussion began when I pointed out that the name attribute is
> deprecated in XHTML. This was later confirmed when someone pointed to
> the actu
Tedd Sperling wrote on 09/20/2013 10:51:49 AM:
>
> Do you use a Mousepad?
[-snip-]
Age: Bag Bomb
Mousepad: Yes
Padding for my wrist and quieter moving the mouse around - no scraping. So
yes, I'm even too old to be plugged into an iPud or an iPeed, whatever
they are :)
Kirk
Nathan Nobbe wrote on 04/13/2011 12:47:11 PM:
[much snippage]
> no, it's actually a better practice. users are expected to populate
arrays
> they create. the $GLOBALS array is expected to be populated by user
> scripts. The $_POST array is expected to be populated by PHP. by the
time
> you
All,
The ereg extension was deprecated as of version 5.3.0. Does anyone know
what the schedule is for removing it completely?
Thanks.
Kirk
kirk.john...@zootweb.com wrote on 01/17/2012 09:59:43 AM:
> The ereg extension was deprecated as of version 5.3.0. Does anyone know
> what the schedule is for removing it completely?
Answering my own question, it looks like not before 6.0:
http://marc.info/?l=php-internals&m=132618195307998&w=2
Is it possible to do an LDAP Password Modify Extended Operation, as
specified in RFC 3062? The password hashing scheme in the LDAP directory I
am working with may change periodically, so it is my understanding that I
can't hash a new password according to a specific scheme, e.g., {SHA}, on
my s
Mike Mackintosh wrote on 02/17/2012
12:36:06 PM:
> On Feb 17, 2012, at 10:57, kirk.john...@zootweb.com wrote:
>
> > Is it possible to do an LDAP Password Modify Extended Operation, as
> > specified in RFC 3062? The password hashing scheme in the LDAP
directory I
> > am working with may chang
Mike Mackintosh wrote on 02/17/2012
07:25:36 PM:
> [image removed]
>
> Re: [PHP] Do an LDAP Password Modify Extended Operation?
>
> Mike Mackintosh
>
> to:
>
> Kirk.Johnson, PHP General List
>
> 02/17/2012 07:26 PM
>
> On Feb 17, 2012, at 3:34 PM, kirk.john...@zootweb.com wrote:
>
> > M
A little note about our favorite language:
"
Linux 2.6, PHP 5.3, and PostgreSQL 9.1 are recognized as open source
projects with superior code quality and can be used as industry
benchmarks, achieving defect densities of .62, .20, and .21 respectively.
"
http://www.coverity.com/html/press/open-s
Beware: round() apparently has changed its behavior from PHP 4. For
certain special numbers that seem to be multiples of 100,000, the return
value is in exponential format, rather than the usual decimal format. Some
of these special values are 120, 140, 230, which are returned
as 1.
Thanks for the info, Jeremy. Regardless of the technical details, my code
still broke. I am little discouraged that an operation that should be so
simple has these sorts of gotchas.
BTW, I ended up casting to int as my solution.
Kirk
Jeremy Privett <[EMAIL PROTECTED]> wrote on 03/24/2008 02:04
> On Mon, 24 Mar 2008 13:10:17 -0600, [EMAIL PROTECTED] wrote:
> > Beware: round() apparently has changed its behavior from PHP 4. For
> > certain special numbers that seem to be multiples of 100,000, the
return
> > value is in exponential format, rather than the usual decimal format.
> Some
> >
tedd <[EMAIL PROTECTED]> wrote on 04/11/2008 02:49:21 PM:
> But the critter is dead in the water for all versions of IE -- if --
> I don't figure out a way around the following single statement.
>
> document.getElementById(id).checked = true;
>
> After reading a bunch, it seems that M$ has a be
"Jim Feniello" <[EMAIL PROTECTED]> wrote on 06/16/2008 03:16:02 PM:
> Anyone know if PHP keys off the content-disposition for form
pre-processing
> to populate the $_FILES array?
I believe that the $_FILES array is only populated when the tag
contains 'enctype="multipart/form-data"' and there
"k bah" <[EMAIL PROTECTED]> wrote on 07/17/2008 05:23:40 AM:
> Hi,
>
> From http://www.php.net/manual/en/language.types.float.php (second
comment in
> that page, from "kjohnson at zootweb dot com"):
>
> "PHP switches from the standard decimal notation to exponential notation
for
> certain "
Thomas Bolioli <[EMAIL PROTECTED]> wrote on 09/11/2008 01:10:18 PM:
> I want to return an array from a function.
> I have this:
> return array($found, $username, $email, $nickname);
> as my code. I have a bug in the code and I am not sure where yet. Should
> the above statement with this:
>
> a
> On Fri, 2 Sep 2005, Mauricio Pellegrini wrote:
>
> > Hi, I have this problem , When I start a Session everything seems to
be
> > ok but sometimes with no reason the session vanishes.
> >
> > All settings are default , I mean session_cache_expire is 180 min.
> > I understand that this setting sh
> > > So I was thinking on implementing some sort of automatic session
refresh
> > > after a short period, let's say every 20 minutes of inactivity.
> > >
> > > And of course I should provide the users with a manual way to make
> > > session end, sort of a logout from the application.( no problem
> Also, I thought you could use ini_set to change your php.ini
configuration
> for your current script.
>
> But I could be wrong... Did I miss read the manual?
ini_set() can be used to change *some* settings. Some items that are
configured in php.ini come into play before the script is parsed,
"Emily McCall" <[EMAIL PROTECTED]> wrote on 09/23/2005 03:07:39
PM:
> I am trying to figure out whether php will help me to set up a
> website which is essentially just links to donwloadable material.
Emily, you certainly came to the right place to get an endorsement of PHP
;)
Yes. PHP will h
Add the "value" property: document.forms['query_form'].elements['q']
.value.
Kirk
jonathan <[EMAIL PROTECTED]> wrote on 12/29/2005 02:45:23 PM:
>
>
>
>
>
> When the user clicks on the button, I want the text that is in input
> elment 'q' to be sent to the Javascript function drawImg but wh
We are seeing this message in our server logs with respect to one of our
internal extensions. What is the meaning of "Overrun" in this context?
acd-result.c(114) : Block 0x0816D12C status:
Beginning: Overrun (magic=0x0021, expected=0x7312F8DC)
End: Unknown
TIA
Kirk
--
PHP
31 matches
Mail list logo