On Wednesday 11 December 2002 07:56, Stefan Hoelzner wrote:
> Hi folks,
>
> surely this question has already been answered many times before in this
> ng, but nevertheless: 

So why don't you search the archives to read the answers!?!

> I want to pass variables  from one .php to another
> .php script. But I do not want to use either the
> http://localhost/target.php?var1=test&var2=test2 nor the
> POST method. I would like to pass over general variables like usernames and
> passwords for several MySQL-connects;  obviously it is not a good way to
> pass these vars via the mentioned ways.
>
> What else does PHP offer? Are there any other methods? Can I define these
> vars as some kind of "global variables" in any ini-file?

Use sessions.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
OS/2 must die!
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to