Re: Help!

From: Date: Fri, 28 Apr 2006 14:58:58 +0000
Subject: Re: Help!
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-235010@lists.php.net to get a copy of this message
Martin Alterisio schrieb:
2006/4/28, Dave Goodchild <buddhamagnet@gmail.com>:
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.
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. -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

« previous php.general (#235010) next »