FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » pear include path
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
pear include path [message #175791] Wed, 26 October 2011 04:06 Go to previous message
Beshoo is currently offline  Beshoo
Messages: 1
Registered: October 2011
Karma:
Junior Member
Dear All:


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.

any way to solve this?
Many thanks in advance !
[Message index]
 
Read Message
Read Message
Previous Topic: execute php in template
Next Topic: New start-up seeking a programmer (vesting only!)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 07:25:58 GMT 2024

Total time taken to generate the page: 0.04043 seconds