Re: Help!
| From: | Martin Alterisio | Date: | Sat, 29 Apr 2006 20:02:02 +0000 |
| Subject: | Re: Help! | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235112@lists.php.net to get a copy of this message | ||
That's ok, but then I can't help you more than I tried to.
Just check with what I told you about debug_backtrace(), at least that way
you can trace where the function was called with wrong arguments.
2006/4/29, Dave Goodchild <buddhamagnet@gmail.com>:
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@gmail.com> wrote: 2006/4/28, Barry < barry@flyerheaven.de>:Martin Alterisio schrieb:me2006/4/28, Dave Goodchild <buddhamagnet@gmail.com>:Hi all - I am attempting to solve some maddening behaviour that hasversionwouldtotally stumped and before I take a blade to my throat I thought Iemailspick the brains of the group/hive/gang. I am working on a viral marketing application that uses multipartto notify entrants of their progress in the 'game'. I have a demothewhich works fine, and the current rebranded version was also fine untiltheysanityclient 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 acheck I have called mail() to let me know the values just beforeareYeah 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.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.sendSantaMail???? That's just not a *declarative* way of naming apassed in to the function. I get this result:Then, 11 arguments???? Errr, passing an associative array with theemailWell, 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!parameters wouldn't have been a cleaner and better option?He just told he passes 11 arguments, never told how he does that.