View Single Post

  #13 (permalink)  
Old 05-05-2008
Matthias Watermann
 
Posts: n/a
Default Re: code OK for large number of hits?

On Mon, 05 May 2008 11:51:09 +0100, Geoff Cox wrote:

> [...]
>>(There's no need for those "$result" variables: Why keep the same value
>>in memory multiple times?) Do _not_ assume all the expected CGI
>>arguments are there actually but always check that.

>
> Matthias,
>
> I'm not clear what you mean above re the "no need for those "$result"
> variables" - could you please explain?


As I've shown in my validation examples you can "clean" the CGI arguments
directly in the global "$_GET" list. I consider it a waste of memory to
duplicate those values. But just was just a hint. The other points were
more important.


--
Matthias
/"\
\ / ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL
X - AGAINST M$ ATTACHMENTS
/ \
Reply With Quote