Reply to PEAR used inside a function

Your name:

Reply:


Posted by kevin bailey on 07/25/07 10:02

Currently have had to give up on this one!

How would I use a PEAR class inside a new function?

I would like to include the mail_queue class inside a function to send out
emails when the function has been called.

However, when I try to do this I get the

Fatal error: Call to a member function on a non-object
in /usr/share/php/Mail/Queue.php

error

Currently I'm going to continue to call the mail_queue from the normal code
- but would like to know how to get it working from inside a function for
future reference.

Thanks,

Kevin

[Back to original 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

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