Reply to Include problem

Your name:

Reply:


Posted by John on 11/15/00 11:25

I am setting up a number of web pages and need to use an include with
the following code :

require_once dirname(__FILE__) . '/HTML_ToPDF.php';

$linkToPDFFull = $linkToPDF = tempnam(dirname(__FILE__), 'PDF-');

when this is inside an include statement the path is set to /tmp on
the file created which is wrong and I also get a parse error on the
second line - 'Cannot instantiate non-existent class' (although this
relates to something latter in the code).

However if I past these lines into the html outside of an include all
works fine.

Any ideas?

Thanks John

[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

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