Reply to Re: variables between different php files

Your name:

Reply:


Posted by JDS on 07/19/05 18:41

On Tue, 19 Jul 2005 17:31:28 +0200, Josef Blösl wrote:

> hi,
>
> how must i declare a variable in php to get access from another php file
> who is later called?


One of several ways

1) Pass the variable value along from page to page in the URL or via an
http POST form

2) use SESSIONS

3) use COOKIES

4) include() the file inside another file and most gloabl variables are
maintained within the scope of the included file

5) possibly other ways.


Now, what are you trying to do?

--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/

[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

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