Do you have a question? Post it now! No Registration Necessary. Now with pictures!
October 26, 2011, 4:06 am
rate this thread
I am using PHPmailer for sending a mailAttached
I submit the form target to an iframe and in the target page I include
but this way gives me an error
Fatal error: require() [function.require]: Failed opening required
'1' (include_path='.:/usr/local/lib/php/pear') in /usr/hom...
but when I get the file from outside (the target index.php?... itself)
it works fine.
any way to solve this?
Many thanks in advance !
- "Ãlvaro G. Vicario"
October 26, 2011, 7:25 am
Re: pear include path
There must be something wrong in your code because it's trying to open a
file called "1". Additionally, PEAR's mailer is called "Mail", not
PHPMailer. You simply don't need PEAR.
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com