Reply to Passing a variable between pages or scripts

Your name:

Reply:


Posted by kenoli on 11/13/06 01:43

What's the best way to pass an array or variable between pages or
scripts on different pages? For instance, I have tried to separate out
my html from my process scripts so that I can edit and stylel the html
pages more easily and so that I can keep all my scripts and functions
together where it is easy to find them.

This results in my creating some variables which I then need to pass to
one of the html pages to provide content for those pages. I'm not sure
what the proper approach is to making these variables accessible on
those pages.

I know making them global variables achieves this goal, though I always
hear, "Don't make variables global!"

--Kenoli

[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

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