Reply to Re: passing variables between php pages

Your name:

Reply:


Posted by Exyle on 06/15/05 03:51

It depends on how you're going to be accessing the files. a simple
include() might do, or you can just have your links to the toher file
include the variable:
<a href='b.php?var=<?php echo($var); ?>'>Link</a>
if those methods wont work, then you can use cookies and sessions.

Hendry Taylor wrote:
> If I have a php page that uses the header function to load a second php
> page, how can I access variables defined in the first php page without
> passing them via the url?

[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

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