PHP has those variables in $argv
$argc tells you how many args there were.
$argv[0] is the actual script name, eg, myscript.php
On Sat, April 8, 2006 2:58 pm, Alan Schneider wrote:
> What is the best way to pass a variable value from one script to
> another?
>
> In unix or dos all I would need
1. the only other ways to pass things around would be in sessions, or by
setting a cookie on the user's computer... i hate the latter, and would
prefer the former, but would NEVER carry things like a MySQL uname and
password around in cookies or sessions. cookies, sessions, and even post &
get (ur
Stefan Hoelzner wrote:
nevertheless: 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
Sessions. The data is
On Tue, 10 Dec 2002, Stefan Hoelzner wrote:
> Hi folks,
>
> surely this question has already been answered many times before in
> this ng, but nevertheless: 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
If they are static you could store them in another php file and include
them.
HTTP is stateless, meaning one person can go from one page to another or
log out in between all of this. It also means there is no authentication
for users, you can not prove that one person is the same person the nex
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 scr
6 matches
Mail list logo