NYCPHP Meetup

NYPHP.org

[nycphp-talk] NEW PHundamentals Question (digression)

David Mintz dmintz at davidmintz.org
Wed Feb 11 17:49:21 EST 2004


On Wed, 11 Feb 2004, Joel De Gan wrote:

>
> I just finished a project for bypassing one of our partners captchas so
> we could automate using curl to snag some pages we needed..  So you say
> "captcha?" and you got that... :)

Maybe they oughta save you the trouble by exposing the data you need as a
web service, or something sexy like that?

---
David Mintz
http://davidmintz.org/

        "Anybody else got a problem with Webistics?" -- Sopranos 24:17

>From hans not junk at nyphp.com  Wed Feb 11 17:53:44 2004
Return-Path: <hans not junk at nyphp.com>
Received: from ehost011-1.exch011.intermedia.net (unknown [64.78.21.3])
	by virtu.nyphp.org (Postfix) with ESMTP id 15E17A85E9
	for <talk at lists.nyphp.org>; Wed, 11 Feb 2004 17:53:44 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] Session question
Date: Wed, 11 Feb 2004 14:53:43 -0800
Message-ID: <41EE526EC2D3C74286415780D3BA9F877729AD at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] Session question
Thread-Index: AcPwzq5x6a/3phSuT/aKgWFULw/7CAAIw8xw
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: NYPHP Talk <talk at lists.nyphp.org>
List-Id: NYPHP Talk  <talk.lists.nyphp.org>
List-Unsubscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=unsubscribe>
List-Archive: <http://lists.nyphp.org/pipermail/talk>
List-Post: <mailto:talk at lists.nyphp.org>
List-Help: <mailto:talk-request at lists.nyphp.org?subject=help>
List-Subscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Feb 2004 22:53:44 -0000


> I am working on some pages to create an image
> dynamically. I need pass information among different
> pages. so I use session strategy.=20
> But I get wrong data from some sessions at last page.
> Most data are correct, only few are wrong.=20
> Like, I define an array of color.=20
> $color =3D array(0=3D>"Black", 1=3D>"White", 2=3D>"Tan");
> A text color id should be less than 2, but i get its
> id as 16777215, so I can't get text color name from

16777215 is 2^24, so somewhere your going out of range most likely.

> above array according to the id. But I use same way to
> define the background color, it works well.
>=20
> I am using Windows XP OS.

How are you passing the session data around?  Maybe a couple lines of =
code would help...

H


>From hans not junk at nyphp.com  Wed Feb 11 17:57:19 2004
Return-Path: <hans not junk at nyphp.com>
Received: from ehost011-1.exch011.intermedia.net (unknown [64.78.21.3])
	by virtu.nyphp.org (Postfix) with ESMTP id 250DCA85E9
	for <talk at lists.nyphp.org>; Wed, 11 Feb 2004 17:57:19 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Subject: RE: [nycphp-talk] looking for qa procedures
Date: Wed, 11 Feb 2004 14:57:18 -0800
Message-ID: <41EE526EC2D3C74286415780D3BA9F877729AF at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] looking for qa procedures
Thread-Index: AcPw0W6sEsn1yTGqSNGz+1b1qB9/mAAII7fg
From: "Hans Zaunere" <hans not junk at nyphp.com>
To: "NYPHP Talk" <talk at lists.nyphp.org>
X-BeenThere: talk at lists.nyphp.org
X-Mailman-Version: 2.1.2
Precedence: list
Reply-To: NYPHP Talk <talk at lists.nyphp.org>
List-Id: NYPHP Talk  <talk.lists.nyphp.org>
List-Unsubscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=unsubscribe>
List-Archive: <http://lists.nyphp.org/pipermail/talk>
List-Post: <mailto:talk at lists.nyphp.org>
List-Help: <mailto:talk-request at lists.nyphp.org?subject=help>
List-Subscribe: <http://lists.nyphp.org/mailman/listinfo/talk>,
	<mailto:talk-request at lists.nyphp.org?subject=subscribe>
X-List-Received-Date: Wed, 11 Feb 2004 22:57:19 -0000


> I'm close to finishing an overhaul of a large application and will =
soon
> need to start up the testing, bug fixing, and "oops I forgot about =
that"
> phase. In the past, testing and qa have been handled pretty =
informally.
> They've also been pretty ineffective. Does anyone have suggestions or
> how-to stories for how to come up with test plans and procedures =
without
> having the luxury of a dedicated QA department? I'm not so much =
looking
> at things like unit testing as I am more user-related issues, like
> making sure an error message appears when it should or confirming that
> when a user deletes a database record, it really gets deleted.

This might sound silly, even demeaning, but have the users use it.  =
Seriously though, go through a beta phase, where real users can begin to =
use it.  For instance, when Yahoo! roles something new out, there's =
always a link on the old page to the effect of "Test Drive Our New =
Version."

Sure, it's good as a developer to go through the entire site, watching =
log files, and ensuring everything is up to par.  But really... you =
wrote it, and will never find the errors like someone who is just using =
it (ironic as it sounds).

H




More information about the talk mailing list