Hi,
Is there a way, technique or even php function to make transfere all variables
from php file to another. To clearly understand what's I mean, Suppose:
file1.php contains
var1, after some processess has the value = 4445
var2, after some processess has the value = hello
var3, after some processess has the value = her to be.
and
file2.php
echo "var1"
So, I want the value of this variable to be printed without the common error message: undefined variable
or in other word, I want to call any variable exist in file1.php inside file2.php with
its identifier and value.
Please don't tell me to use form, I want another way.
Also include it will do nothing because it will trance only the identifier, to prevent Undefined
variable.
😕 😕 😕 😕