You are here: Re: multiple files using the same include file « PHP Programming Language « IT news, forums, messages
Re: multiple files using the same include file

Posted by Will on 10/06/53 11:17

Cylindric wrote:
> I don't think the variables and classes defined in first.php will be
> visible in second.php unless you store them in a session or cookie or
> database or something.
>
> The bottom of first.php might need to have a
>
> $_SESSION['first_helper'] = $helper_first;
>
> and then the second.php could contain
>
> $fileUsedInFirst = $_SESSION['first_helper']->getFileName();
>

Thanks, that is exactly what I needed to know.

Will

 

Navigation:

[Reply to this 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

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