| 
	
 | 
 Posted by Rob on 12/19/07 13:35 
On Dec 19, 12:53 pm, Vanscot <vans...@gmail.com> wrote: 
> Ok, first of all, dont reinvent the wheel, there are plenty of 
> mail script out there, but if you must/want to do so here 
> are some guidelines: 
> 
> 1 Avoid mixin logic, functions declarations and output: just like 
> you take apart html from css, you should take your functions 
> declaration 
> in one file, your script logic into another file and do the output in 
> a template or something like that. 
> 
> 2 Do you have _only_ apache installed?: if so, you need to instal php 
> as well. 
> 
> 3 Avoid "SuperScripts" that does all-what-you-need, use includes and 
> separated scripts. 
> 
> 4 Define (and on this case explain) your goal: I can say that you want 
> to send an email, 
> but maybe I'm wrong at that. 
> 
> 5 Try to ease your life, use (if you can) the pear, pecl or pecl4win. 
> (Just add a .php.net and browse). 
> 
> I'll be waiting your reply so maybe we can crack this down. 
> 
> On Dec 19, 6:39 am, "Majki Majk" <comit...@europe.com> wrote: 
> 
> 
> 
> > "Jeff Gaines" <jgaines_new...@yahoo.co.uk> wrote in message 
> 
> >news:xn0ff4k8y2knfuj000@news.individual.net... 
> 
> > > On 19/12/2007 in message <Jd1aj.686$Ry2....@newsfe05.lga> Steve wrote: 
> 
> > >>dude, DON'T crosspost. multipost if you must, but DON'T crosspost!!! 
> 
> > > Is that a Christmas joke or have you confused the two terms? 
> 
> > > -- 
> > > Jeff Gaines Damerham Hampshire UK 
> > > The facts, although interesting, are irrelevant 
> 
> > Sorry if something went wrong....:) 
> > Heh, dude could You help me  rather, i'm breaking down here... 
> > Majki- Hide quoted text - 
> 
> - Show quoted text - 
 
Firstly, I'd like to say that I'm NOT trying to have a go at 
you......but, I think you're comments are completely wrong in this 
case. 
 
This guy is obviously a complete noob to PHP (and possibly 
programming), and throwing him into MVC is not the way to learn the 
basics. 
 
As a first attempt, the way he's going about the script is fine and 
will allow him to learn, and more importantly, debug the problems. 
 
Rob.
 
[Back to original message] 
 |