You are here: Re: a variable can to be used in every place « PHP Language « IT news, forums, messages
Re: a variable can to be used in every place

Posted by Steve Belanger on 02/23/07 16:39

one way you could do that is to save the variable into the user sessions and
retreive it with $_SESSION or something of that nature.


"den" <spamnot@not.not> wrote in message
news:f02k3n8x5y1b$.1g8bypxw8ag0b.dlg@40tude.net...
> If I have in this dir :\AA\BB\E\F\G\H\I\
> one file.php with this variable:
> $pip['value']=50;
>
> If I want to use in other dir's file \AA\BB\CC\
>
> 1) is possible?
> but I not want to require or include the file.php.
> I would like use directly the variable.
>
>

 

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

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