You are here: Re: mail if I insert a function not work more « PHP Language « IT news, forums, messages
Re: mail if I insert a function not work more

Posted by Sebastiaan 'CrashandDie' Lauwers on 06/17/07 11:58

artev wrote:

> so not work;

It should work, maybe posting the whole function could be nice ? As
obviously the problem lays there...

> is necessary to have some similar at:
> mail(print function_x('parameter_x'),'a', 'b', 'c');

No not at all, print would show the information on screen (to the
client) and return a boolean (1) for return value...

From the PHP documentation:

<snippet>
Description
int print ( string $arg )

Outputs arg. Returns 1, always.
</snippet>

So if you use print, you'd be doing this:

mail (1, 'a', 'b', 'c');
// And the client would see the return value of function_x ();

HTH,

S.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация