Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3574
| From | "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: pear include path |
| Date | 2011-10-26 09:25 +0200 |
| Organization | http://alvaro.es/ |
| Message-ID | <j88cm2$hrv$1@dont-email.me> (permalink) |
| References | <ba93c80f-7340-431c-bb62-845bb7c8c131@i15g2000yqm.googlegroups.com> |
El 26/10/2011 6:06, Beshoo escribió/wrote: > I am using PHPmailer for sending a mailAttached > I submit the form target to an iframe and in the target page I include > the "class.phpmailer.php" > > 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. 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 --
Back to comp.lang.php | Previous | Next — Previous in thread | Find similar | Unroll thread
pear include path Beshoo <basheermoro@gmail.com> - 2011-10-25 21:06 -0700 Re: pear include path "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-10-26 09:25 +0200
csiph-web