Re: Help!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Misleading to who? I own the app and am the only person who will ever use
it. Rather anal.

On 29/04/06, Martin Alterisio <malterisio777@xxxxxxxxx> wrote:

2006/4/28, Barry <barry@xxxxxxxxxxxxxx>:
>
> Martin Alterisio schrieb:
> > 2006/4/28, Dave Goodchild <buddhamagnet@xxxxxxxxx>:
> >>
> >> Hi all - I am attempting to solve some maddening behaviour that has
me
> >> totally stumped and before I take a blade to my throat I thought I
> would
> >> pick the brains of the group/hive/gang.
> >>
> >> I am working on a viral marketing application that uses multipart
> emails
> >> to
> >> notify entrants of their progress in the 'game'. I have a demo
version
> >> which
> >> works fine, and the current rebranded version was also fine until the
> >> client
> >> asked for some changes then POWWWWW!
> >>
> >> I will try and define the issue as simply as I can. I am passing 11
> >> arguments to a function called sendSantaMail (don't ask) and as a
> sanity
> >> check I have called mail() to let me know the values just before they
> are
> >> passed in to the function. I get this result:
> >
> >
> > sendSantaMail???? That's just not a *declarative* way of naming a
> function.
> Do you know what "santa" means? No? so how can you tell it's not
> declarative.
> Santa could be a coded Mailer and that functions uses that specific
> Mailer Deamon called "santa" to send mails.


Yeah you're right, I was thinking the exact same thing a while after I
posted that. Maybe it was a correct name in the context used, but, I still
think "Santa" is a really misleading name for a mailer, and not to mention
that a mass mailer identifying itself as "Santa mailer" in the headers is
asking to be send directly to spam. Anyway, I was wrong.

> Then, 11 arguments???? Errr, passing an associative array with the email
> > parameters wouldn't have been a cleaner and better option?
>
> He just told he passes 11 arguments, never told how he does that.


Well, if somebody tells you a function has 11 arguments what would you
think?




--
http://www.web-buddha.co.uk

dynamic web programming from Reigate, Surrey UK (php, mysql, xhtml, css)

look out for project karma, our new venture, coming soon!

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux