NYCPHP Meetup

NYPHP.org

[nycphp-talk] NEW PHundamentals Question (digression)

Joel De Gan joel at tagword.com
Wed Feb 11 18:03:18 EST 2004


On Wed, 2004-02-11 at 17:49, David Mintz 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?
> 

That would have been nice, but they declined to offer us that or to
provide it due to some policy about that particular data. So in response
we just automated going through their captcha. :)

-- 
joeldg - developer, Intercosmos media group.
http://lucifer.intercosmos.net


>From hans not junk at nyphp.com  Wed Feb 11 18:03:43 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 2D570A85E9
	for <talk at lists.nyphp.org>; Wed, 11 Feb 2004 18:03:43 -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] isset or not
Date: Wed, 11 Feb 2004 15:03:41 -0800
Message-ID: <41EE526EC2D3C74286415780D3BA9F877729B3 at ehost011-1.exch011.intermedia.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [nycphp-talk] isset or not
Thread-Index: AcPw7V9akDU/CHbtQiKC0Yt26yYnQAABaELA
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 23:03:43 -0000


> I find myself testing arrays for certain values all the time (of =
course) -
> but sometimes the element may not be set, so to avoid the Notice that =
the
> index does not exist, I often wrap the test in an isset.  This seems a

Good man.  Also:

http://phundamentals.nyphp.org/PH_variableevaluation.php

> little silly to me, and I wonder if anyone has a more elegant approach =
to
> handling this (besides better code :) or if there is some simple PHP
> function I'm just not using...

Some simple function?  isset()   :)  That's the way to do it.

H




More information about the talk mailing list