Re: [PHP] Friday's Question

2013-09-20 Thread Kirk . Johnson
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

[PHP] PHP: "superior code quality"

2012-03-28 Thread Kirk . Johnson
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

Re: [PHP] Do an LDAP Password Modify Extended Operation?

2012-02-21 Thread Kirk . Johnson
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

Re: [PHP] Do an LDAP Password Modify Extended Operation?

2012-02-17 Thread Kirk . Johnson
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

[PHP] Do an LDAP Password Modify Extended Operation?

2012-02-17 Thread Kirk . Johnson
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

[PHP] pcntl_fork, catching STDOUT of child?

2012-01-19 Thread Thomas Johnson
ket_create_pair). However, this seems to be a dead-end, I get a "connection reset by peer" when I try to socket_read() from the parent. I assume this is because the socket is closed by the exit of the child. Any insight or criticism is appreciated. -- Thomas Johnson ClaimLynx, Inc. <952-593-5969%20x2302>

Re: [PHP] When will the ereg extension be removed from PHP?

2012-01-17 Thread Kirk . Johnson
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

[PHP] When will the ereg extension be removed from PHP?

2012-01-17 Thread Kirk . Johnson
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

Re: [PHP] $_POST vars

2011-04-13 Thread Kirk . Johnson
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

RE: [PHP] php processing name vs. id field

2010-07-02 Thread Kirk . Johnson
"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

Re: [PHP] a trivial little function (PostToHost)

2009-10-05 Thread Kirk . Johnson
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

Re: [PHP] a trivial little function (PostToHost)

2009-10-04 Thread Kirk . Johnson
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

Re: [PHP] POST without POSTing

2009-10-01 Thread Kirk . Johnson
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 >

Re: [PHP] Re: Epiphany - a salute to APC

2009-07-04 Thread Brandon Johnson
ok thanks for information was just something I was reading about the other night. Then I came across this message. Brandon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Epiphany - a salute to APC

2009-07-04 Thread Brandon Johnson
you think this is similar to http://www.danga.com/memcached/ or you think this method would be faster ? Which do you say would be the greatest benfit ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] modifying within foreach

2009-06-23 Thread Kirk . Johnson
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,

Re: [PHP] Re: Can someone tell me why this is not working?

2009-06-18 Thread Kirk . Johnson
> [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 >

Re: [PHP] PHP Security

2009-06-02 Thread Kirk . Johnson
> 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] php5activescript.dll

2009-03-27 Thread Robert Johnson
I've been trying to locate this file and could not find it in the downloads area and got this message when I tried - http://pecl4win.php.net/ "The pecl4win build box is temporarily out of service. We're preparing a new build system. " Any suggestions? Thanks.

Re: [PHP] Trying To Read - Show A Csv File Line By Line

2009-03-20 Thread Kirk . Johnson
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

Re: [PHP] switch vs elseif

2009-01-13 Thread Kirk . Johnson
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

Re: [PHP] Since I speak with some of you more than people I see in person....

2008-12-30 Thread Kirk . Johnson
> >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

Re: [PHP] Can GD make a JPG thumbnail of a PDF?

2008-12-10 Thread Stephen Johnson
test my installation like this: > echo ""; > system("convert -version"); > echo ""; > ?> > But it just returns blank. Can anyone help me get ImageMagick working > on my server? > > > On Nov 20, 2008, at 4:41 PM, Stephen Johnson wrote: &

Re: [PHP] Can GD make a JPG thumbnail of a PDF?

2008-11-20 Thread Stephen Johnson
No but you can use imagemagicks convert to convert the pdf to an image and then make a thumbnail of it. On 11/20/08 4:39 PM, "Brian Dunning" <[EMAIL PROTECTED]> wrote: > Well can it? -- Stephen Johnson The Lone Coder http://www.ouradoptionblog.com *Join us on our adopti

Re: [PHP] Required files not being parsed properly...

2008-10-07 Thread Stephen Johnson
t; <[EMAIL PROTECTED]> wrote: > Eric Butera wrote: >> On Mon, Oct 6, 2008 at 7:28 PM, Stephen Johnson >> <[EMAIL PROTECTED]> wrote: >>> OK .. I am upgrading to PHP5 on a clients box, and after doing so I have >>> run into the problem that files that get br

[PHP] Required files not being parsed properly...

2008-10-06 Thread Stephen Johnson
Produces what you see here : http://www.thumbnailresume.com/index.html?allow=1 Any one have any thoughts on what is going on? -- Stephen Johnson c | eh The Lone Coder office: 562.366.4433 fax: 562.278.0133 http://www.thelonecoder.com continuing the struggle against bad

Re: [PHP] Calculation assistance.. :)

2008-09-19 Thread Stephen Johnson
Eric ... I LOVE YOU... Thanks -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.fortheloveofgeeks.com I¹m a geek and I¹m OK! -- > From: Eric Gorr <[EMAIL PROTECTED]> > Date: Fri, 19 Sep 2008 16:13:49 -0400 &

Re: [PHP] Calculation assistance.. :)

2008-09-19 Thread Stephen Johnson
Right ... But that is producing even funkier results... doing pow( (1-(1+$nMonthlyInterest)) , ($iMonths*-1) ) ; Gives me : 4.2502451372964E-35 = 25000 * (0.00104167 / 6.1270975733019E+35); -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle

[PHP] Calculation assistance.. :)

2008-09-19 Thread Stephen Johnson
ephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.fortheloveofgeeks.com I¹m a geek and I¹m OK! --

Re: [PHP] quick php for perl coder question

2008-09-11 Thread Kirk . Johnson
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

Re: [PHP] CSV output.

2008-09-08 Thread Stephen Johnson
It sounds like you simply need to number format the data to ensure that PHP does not truncate http://php.net/number_format If excel, or whatever your using to view the csv file, is truncating then you will need to properly format that cell. -- Stephen Johnson c | eh The Lone Coder http

Re: [PHP] Does this seem wrong to anyone else?

2008-08-20 Thread Stephen Johnson
Thanks everyone ... It was a brain fart ... Long bad day today, and I am not paying proper attention ... :) -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.fortheloveofgeeks.com I¹m a geek and I¹m OK! -- -- PHP

[PHP] Does this seem wrong to anyone else?

2008-08-20 Thread Stephen Johnson
1057 -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.fortheloveofgeeks.com I¹m a geek and I¹m OK! --

Re: [PHP] Semi-ADVERT, OT

2008-08-20 Thread Stephen Johnson
t; tedd > -- That is disturbing. -- Stephen Johnson The Lone Coder http://www.ouradoptionblog.com *Join us on our adoption journey* [EMAIL PROTECTED] http://www.thelonecoder.com *Continuing the struggle against bad code* -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Floats and avoid exponential notation - How?

2008-07-17 Thread Kirk . Johnson
"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 "

RE: [PHP] Binary data in $_POST, not in $_FILES, why?

2008-06-16 Thread Kirk . Johnson
"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

Re: [PHP] the Y2K38 BUG

2008-05-06 Thread Stephen Johnson
s is implemented as a 64-bit unsigned (i think) > value. so if you use it you should be good to go. > > php > echo date_create('2040-10-24')->format('M-d-Y'); > Oct-24-2040 > > -nathan -- Stephen Johnson The Lone Coder http://www.ouradoptionblog.com *Join us on our adoption journey* [EMAIL PROTECTED] http://www.thelonecoder.com *Continuing the struggle against bad code* -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Quarters -- ERRORS --

2008-04-11 Thread Kirk . Johnson
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

Re: [PHP] Beware of round() function

2008-04-09 Thread Kirk . Johnson
> 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 > >

Re: [PHP] Arbitrary mathematical relations, not just hashes

2008-04-07 Thread Paul Johnson
On Sun, Apr 06, 2008 at 08:51:00PM -0700, Casey wrote: > I hit reply-all... now am I suddenly subscribed to Perl and Ruby lists!?! Be careful. Next time you do it you'll be subscribed to Haskell, OCaml and Smalltalk lists. Bwahahaha! -- Paul Johnson - [EMAIL PROTECTED] http://www.

Re: [PHP] Beware of round() function

2008-03-25 Thread Kirk . Johnson
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

[PHP] Beware of round() function

2008-03-24 Thread Kirk . Johnson
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.

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Stephen Johnson
Talk about a thread hijack... LOL In my day we had to write basic going up hill in the snow... Both ways... -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.fortheloveofgeeks.com I¹m a geek and I¹m OK! -- > F

Re: [PHP] Guidance

2008-02-27 Thread Stephen Johnson
This is AWESOME!... I am so saving this post for my next Review... Couldn't have said it better Dan... -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.fortheloveofgeeks.com I¹m a geek and I¹m OK! -- > From

Re: [PHP] Are these Truthful Proof about PHP ??

2008-02-27 Thread Stephen Johnson
> I thought ASP was the language and .NET was the framework. I was under this impression as well.. I always equated .NET to ASP the same way I would ZEND to PHP... -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code h

Re: [PHP] checking for and enforcing https

2008-02-25 Thread Stephen Johnson
standard ports, so I have never had any issues on that front. -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.fortheloveofgeeks.com I¹m a geek and I¹m OK! -- > From: Wolf <[EMAIL PROTECTED]> > Date: Mon, 25 Feb 2

Re: [PHP] checking for and enforcing https

2008-02-25 Thread Stephen Johnson
> Or you can cheat... > > $url = $_SERVER['SERVER_NAME']; > header( 'Location:https://'.$url.''); > > I think that would cause an infinite loop of redirection... This would be better https://www.domain.com$pageTo";); exit; }

Re: [PHP] New years resolution: To get serious with my programming! Anyone wanna help? :)

2008-01-08 Thread Stephen Johnson
ailed."; } Because mysql_insert_id() acts on the last performed query, be sure to call mysql_insert_id() immediately after the query that generates the value. -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.thumbnailresume.com --

Re: [PHP] Why I sart getting "Fatal error: Allowed memory size..." after php upgrade?

2007-12-20 Thread Stephen Johnson
y opinion that you, as a PHP developer, have a responsibility to understand what the php.ini file is, what it does, and how to change it if necessary and you should have this knowledge before you begin writing code that would be used by anyone but yourself. -- Stephen Johnson c | eh The Lone Coder http:

Re: [PHP] Assign variable to a block of html code

2007-12-19 Thread Stephen Johnson
> >   >   > > > > > "; > > Although example above is not working, what I want to achieve is something > like that. Is it possible how can I do that ? > > Regards, > > Feris -- Stephen Johnson T

Re: [PHP] Re: running cmd via php

2007-12-11 Thread Stephen Johnson
(taken from > http://www.php.net/manual/en/funcref.php) to look for a particular fn > that you don't know the name of let alone which area it belongs in. OK then how about a STFW answer... Google : php exexcute windows commands You can even hit the "I'm feeling lucky but

Re: [PHP] Generating Random Numbers with Normal Distribution

2007-12-10 Thread Stephen Johnson
Wow... You clearly put a lot of thought into randomization... I am impressed..LOL Personally, most of my web applications do not have to factor 13.7 billion years of space drift in to the calculations, so php's rand function has been great for me... ;) -- Stephen Johnson c | eh The Lone

Re: [PHP] Generating Random Numbers with Normal Distribution

2007-12-10 Thread Stephen Johnson
LOL.. Guess I need to keep up with the change log a little better... -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.thumbnailresume.com -- > From: Nathan Nobbe <[EMAIL PROTECTED]> > Date: Mon, 10 Dec 2

Re: [PHP] Generating Random Numbers with Normal Distribution

2007-12-10 Thread Stephen Johnson
True randomization is only really possible in nature, so I am not sure you ever be completely happy with programming random numbers... But it may help you get better results if you include srand() in your randomization code. -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com

Re: [PHP] How to handle rows of checkboxes upon form submit?

2007-12-06 Thread Stephen Johnson
for your reading enjoyment : http://php.net/array http://us.php.net/manual/en/reserved.variables.php // specifically the section on $_POST -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.thumbnailresume.com -- > From

Re: [PHP] Banned from #php

2007-12-03 Thread Stephen Johnson
man how to fish" philosophy, and answering lazy questions breeds lazy programmers, which in the end hurts us all. Part of this job is learning how to learn, and so many times people just want you to write the code for them. -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com con

Re: [PHP] Banned from #php

2007-12-03 Thread Stephen Johnson
are friends. Everyone else hates you. It is not personal, it's just a fact. -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.thumbnailresume.com -- > From: Brenden Wilson <[EMAIL PROTECTED]> > Date: Mon, 3

Re: [PHP] Re: PHP RFC # 0001 --- List Etiquette

2007-11-28 Thread Stephen Johnson
lists like this tend to get very noisy, and anything that can cut down on unnecessary noise is friend not foe.. -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.thumbnailresume.com -- -- PHP General Mailing List (h

Re: [PHP] two small issues with php mail OT

2007-11-20 Thread Stephen Johnson
Who says you can't please them all... ;) -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.thumbnailresume.com -- > From: Jay Blanchard <[EMAIL PROTECTED]> > Date: Tue, 20 Nov 2007 14:25:21 -0600 >

Re: [PHP] two small issues with php mail

2007-11-20 Thread Stephen Johnson
I wrote about this a long time ago ... In a galaxy far far away... http://www.thelonecoder.com/Blog/?p=7 Be good lemmings and do as you're told... -- Stephen Johnson c | eh The Lone Coder http://www.thelonecoder.com continuing the struggle against bad code http://www.thumbnailresum

[PHP] html2png

2007-09-07 Thread timothy johnson
I was wondering if anyone knew of some php code that I could use to create thumbnails of webpages.

Re: [PHP] getting from one table listing from another

2007-08-18 Thread Stephen Johnson
#x27;s > and I have another table that has the name's and points > I want to know how to list the name's of the first table by the points > of the second table -- Stephen Johnson The Lone Coder http://www.myonlinepros.com *How can we help you today?* [EMAIL PROTECTED] http://

Re: [PHP] About Login Authentication

2007-07-20 Thread Stephen Johnson
entication enabled web site? > I would appreciate any good references. -- Stephen Johnson The Lone Coder http://www.thumbnailresume.com *Network with your Resume, not just your card.* [EMAIL PROTECTED] http://www.thelonecoder.com *Continuing the struggle against bad code* -- --

Re: [PHP] Why won't this query go through?

2007-03-12 Thread Stephen Johnson
> From: Richard Lynch <[EMAIL PROTECTED]> > On Sun, March 11, 2007 11:24 am, Mike Shanley wrote: >> I am just not understanding what I could have possibly done wrong with >> this query. All of the variables are good, without special characters >> in >> any sense of the word... So why isn't it impor

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

2007-02-10 Thread Stephen Johnson
What an odd question Personally PHP makes much more sense to me then the many variations of bridge... http://www.ouradoptionblog.com Join our journey of adoption http://www.thelonecoder.com [EMAIL PROTECTED] continuing the struggle against bad code */ ?> > From: pub <[EMAIL PROTECTED]

[PHP] Digitizing Service

2006-05-09 Thread Johnson
ne in just a few hours - all with the same flat rate. -Price : $3.00/1000 stitches -Payment: Paypal We would like you to use our service ,we confident that you will like our service and excellent digitizing quality.if you need ,please email me . Best Regards Johnson -- PHP General Mailing List

Re: [PHP] PHP Post & forms

2006-04-13 Thread Stephen Johnson
ss the checkboxes as an array value with the JobID as the identifier. Then on the other side, you can run through the list of JobID's and see which ones need to be updated. Hope this helps -- Stephen Johnson The Lone Coder http://www.ouradoptionblog.com *Join us on our adoption journey

Re: [PHP] Can "output_buffering" be set in a script?

2006-03-30 Thread Stephen Johnson
http://us2.php.net/ob_start Hope this helps http://www.ouradoptionblog.com Join our journey of adoption http://www.thelonecoder.com [EMAIL PROTECTED] continuing the struggle against bad code */ ?> > From: Todd Cary <[EMAIL PROTECTED]> > Date: Thu, 30 Mar 2006 08:02:16 -0800 > To: > Subject

[PHP] Need help interpreting server log entries

2006-02-17 Thread Kirk . Johnson
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

Re: [PHP] Google using PHP @ http://www.google-store.com

2006-01-26 Thread ben johnson
Oscommerce itself hasn't released a new version for an age. I am guessing their next release will be better. Still ive seen a lot worse... Strange javascript with frames aggh! I think it was a quick knock-up job to see if anyone else would buy their tat. I don't see the google radio they sent me t

Re: [PHP] Google using PHP @ http://www.google-store.com

2006-01-25 Thread ben johnson
They are using oscommerce specifically. An open source PHP shopping cart. I have also come accross php errrors when accessing googles suggest feature, some strange reaction with greesemonkey. On 1/25/06, tedd <[EMAIL PROTECTED]> wrote: > > >Looks like google are using PHP and oscommerce for their

[PHP] New PHP MVC Framework

2006-01-02 Thread Ryan Johnson
ear future, will be released under the MIT license for all to enjoy. We'd love any feedback, so have a look and tell us what you think. http://livepipe.net/ Happy New Year, Ryan Johnson, Architect and Founder Nicholas Zulauf, President -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] php / JS / DOM question

2005-12-29 Thread Kirk . Johnson
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

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
Woohoo! I got it to work. Thanks everyone! This is exactly what I needed: making multiple-page files in one file. It saves me the hassle of trying to know what file is what, and where. Instead.. one big file! On 12/18/05, Łukasz Hejnak <[EMAIL PROTECTED]> wrote: > > Erik Johns

Fwd: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
;ve tested it and it works fine. I think I just need someone to make sure my PHP.ini file is normal.. hence the reason I made the phpinfo() file to give much of the information that may help. If anyone needs it (e-mail a yes/no), and I'll send it as an attachment. Thanks, Erik Johnson (I th

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
Echo "Undefined!page isn't > > defined correctly!"; > > } > > > > is useless code. Why? > > $page = null; never happens (you made sure of that further up the page). > > $page = "one"; never happens (you already pulled that one ou

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
I still can't seem to get it to work. If you want to see my phpinfo(), then go to http://lom.game-host.org/uploads/erik/info.php . I'll keep trying, and hope for the best! It may be my php.ini file, but I have no clue.

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
es, please just upload it to ftp://lom.game-host.org/ . Thanks again, Erik Johnson

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
I was wondering.. how exactly does the isset function work? I saw that Robert Cummings wrote: $page = isset( $_GET['page'] ) ? $_GET['page'] : null; What exactly does that mean?

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
Well. Here's an example of the page -- http://lom.game-host.org/uploads/erik/ It is just loading the second page, no matter what. I haven't added the isset thing yet, but I'll try it. BTW: I'm only 14, so I have yet to use an older version, and upgrade to a newer PHP. ;-) T

[PHP] Someone please help me with this PHP script.

2005-12-17 Thread Erik Johnson
"two") { Echo "Page TwoThis is page " . $page . " -- ;D"; } elseif( ($page != "one") or ($page != "two") or ($page != NULL) ) { Echo "Undefined!page isn't defined correctly!"; } if($page == "") { Echo "Main Page.."; } ?> Thank you, Erik Johnson

Re: [PHP] Variable $_POST vars?

2005-12-10 Thread Stephen Johnson
e.Rock" <[EMAIL PROTECTED]> wrote: > Here is an example of one of the fields: > > > I'm looping thru this form several times, so each time the name gets > incremented. Do you have an example of what your talking about? -- Stephen Johnson The Lone Coder http://ww

Re: [PHP] Variable $_POST vars?

2005-12-10 Thread Stephen Johnson
ideas? > > I can't seem to get anything to work > > Chris What type of field are you using? In these cases I have always passed the data in an array and passed the post into an array variable which I could then increment. -- Stephen Johnson The Lone Coder http://www.

Re: [PHP] Could you help me to solve this problem?

2005-12-04 Thread Stephen Johnson
upload files. > > Please help, > > Thanks a lot. > > Ran -- Stephen Johnson The Lone Coder http://www.ouradoptionblog.com *Join us on our adoption journey* [EMAIL PROTECTED] http://www.thelonecoder.com *Continuing the struggle against bad code* -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Howto search in SQL for a specific character?

2005-11-29 Thread Stephen Johnson
Try this : $sql = "SELECT nameOfPedigree FROM tbpedigrees WHERE nameOfPedigree like "'%"; The % is a wildcard and will give you the results you want. http://www.ouradoptionblog.com Join our journey of adoption http://www.thelonecoder.com [EMAIL PROTECTED] continuing the struggle against bad

Re: [PHP] $_GET and $_POST arrays not working

2005-11-25 Thread Stephen Johnson
You would access them by declaring them as regular variables and then using the regular variables in your code. As a side note - please do NOT turn global variables on in your php.ini file. There is a good reason for why it is shut off and "good" php does not need to have it turned on. Hope

Re: [PHP] 电子传单 ,最廉价的宣传方式

2005-10-13 Thread Stephen Johnson
请停止发送电子邮件到这个列表, 或我将被迫使解开一千头骆驼蚤入您的腋窝。 http://www.ouradoptionblog.com Join our journey of adoption http://www.thelonecoder.com [EMAIL PROTECTED] continuing the struggle against bad code */ ?> > From: KOKO电子传单 <[EMAIL PROTECTED]> > Date: Fri, 14 Oct 2005 06:33:57 +0800 > To: > Subject: [PHP] 电子

Re: [PHP] Can I call .html file as a form action instead of .php?

2005-10-03 Thread Stephen Johnson
ent, only the file name > is different. But if I do the former way(call editStaff.html as a form > action), it doesn't work. It calls some files but looks horrible. > So the advice of the guy was wrong, or did I do something wrong? > > Thanks, -- Stephen Johnson The Lone Coder ht

Re: [PHP] Is PHP the language for me???

2005-09-23 Thread Kirk . Johnson
"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

Re: [PHP] incrementing in a for loop

2005-09-12 Thread Stephen Johnson
code */ ?> > From: "M. Sokolewicz" <[EMAIL PROTECTED]> > Date: Mon, 12 Sep 2005 23:48:05 +0200 > To: Stephen Johnson <[EMAIL PROTECTED]> > Cc: Peppy <[EMAIL PROTECTED]>, > Subject: Re: [PHP] incrementing in a for loop > > >> >&g

Re: [PHP] incrementing in a for loop

2005-09-12 Thread Stephen Johnson
On 9/12/05 12:39 PM, "Peppy" <[EMAIL PROTECTED]> wrote: > for ($i = 1; $i <= 6; $i++) { >Is it possible to increment $i by 5? for ($i = 1; $i <= 6; $i+5) { -- Stephen Johnson The Lone Coder http://www.ouradoptionblog.com *Join us on our adoption jour

Re: [PHP] searching through a mysql db/tbl

2005-09-10 Thread Stephen Johnson
help you with these questions better then the folks here on the PHP list. > > thanks > > -bruce > [EMAIL PROTECTED] -- Stephen Johnson The Lone Coder http://www.ouradoptionblog.com *Join us on our adoption journey* [EMAIL PROTECTED] http://www.thelonecoder.com *Continuing the struggle against bad code* -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mixing $_POST and $_GET vars

2005-09-09 Thread Stephen Johnson
ter approach?? > > or do i really need/wind up doing something like > > if ($_GET['foo'])... > > if ($_POST['apple'])... > > and just have a mix of both methods within the code... > > thanks > > -bruce > [EMAIL PROTECTED] -- Stephen

RE: [PHP] session.gc_maxlifetime

2005-09-09 Thread Kirk . Johnson
> 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,

Re: [PHP] Session expires randomly

2005-09-08 Thread Kirk . Johnson
> > > 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

Re: [PHP] need information on sending email using php

2005-09-02 Thread Stephen Johnson
form. My question is How do I do that? > > the webserver that I will be placing this page on has php ver 4.4.0 on it. > > Any help would be appreciated > > Paul -- Stephen Johnson The Lone Coder http://www.ouradoptionblog.com *Join us on our adoption journey* [EMAIL PROTEC

Re: [PHP] Session expires randomly

2005-09-02 Thread Kirk . Johnson
> 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

Re: [PHP] Automatically generated emails

2005-08-29 Thread Stephen Johnson
Ravi - http://www.php.net/mail That page should get you on your way. http://www.ouradoptionblog.com Join our journey of adoption http://www.thelonecoder.com [EMAIL PROTECTED] continuing the struggle against bad code */ ?> > From: Ravi Gogna <[EMAIL PROTECTED]> > Reply-To: <[EMAIL PROTEC

Re: [PHP] Error #1136

2005-08-24 Thread Stephen Johnson
Can you include the SQL statement that is creating the error? The error basically means you are trying to put more data into the dB then you have data cells for. For instance : Good sql statement: $sql = "insert into table (name, address, city, state, zip) VALUES ('$name', '$address', '$city',

Re: [PHP] how to clear cache content in IE using php

2005-08-18 Thread Stephen Johnson
just tonight ;) -- Stephen Johnson The Lone Coder http://www.ouradoptionblog.com *Join us on our adoption journey* [EMAIL PROTECTED] http://www.thelonecoder.com *Continuing the struggle against bad code* -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   5   6   7   8   >