On Feb 10, 2008 6:30 PM, Ron Piggott [EMAIL PROTECTED] wrote:
What is the command which shows the value of all the variables in
memory? Ron
get_defined_vars()
-nathan
What is the command which shows the value of all the variables in
memory? Ron
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
If i set a variabele in lets say 'script one'. When i jump into 'script
two', is there a way (without cookies) to read the variable set in
'script one'
Like: SCRIPTONE.PHP:
html
body
?php
$var=¨How are you¨;
?
form method=post action=scripttwo.php
table
tr
td style=vertical-align:
[snip]
$var=¨How are you¨;
THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO.
[/snip]
Pleace $var in a hidden form element.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Read about sessions in the manual.
Onno Kuipers wrote:
Hello,
If i set a variabele in lets say 'script one'. When i jump into 'script
two', is there a way (without cookies) to read the variable set in
'script one'
Like: SCRIPTONE.PHP:
html
body
?php
$var=¨How are you¨;
?
form method=post
Jay Blanchard wrote:
[snip]
$var=¨How are you¨;
THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO.
[/snip]
Pleace $var in a hidden form element.
I tried... something like this
input type=hidden name=var2
value=¨?php print $var2; ?¨
but it doesn't work. Maybe you mean something totaly
[EMAIL PROTECTED]
Onno Kuipers:
Jay Blanchard wrote:
[snip]
$var=¨How are you¨;
THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO.
[/snip]
Pleace $var in a hidden form element.
I tried... something like this
input type=hidden name=var2
value=¨?php print $var2; ?¨
but it
Should also work if you use the POST method...
Comex [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[EMAIL PROTECTED]
Onno Kuipers:
Jay Blanchard wrote:
[snip]
$var=¨How are you¨;
THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO.
[/snip]
Pleace $var in a hidden
Page 1
input type=hidden name=var2 value=test
Page 2
echo $_REQUEST['var2'];
//or
echo $_POST['var2'];
//==
//Sometime noticed some glitch with $_POST because sometime PHP think the
data go to $_GET...
//So, to prevent future headache, I use $_REQUEST['var2'] at all time...
Hi,
Tuesday, October 14, 2003, 12:42:18 AM, you wrote:
OK Jay Blanchard wrote:
[snip]
$var=¨How are you¨;
THE PROBLEM IS THAT I ALSO WANT TO USE $VAR IN SCRIPTTWO.
[/snip]
Pleace $var in a hidden form element.
OK I tried... something like this
OK input type=hidden name=var2
OK
Hey guys,
Thanks in advance for your help.
I'm working on emailing the contents of a form using php. It worked fine,
until I turned global_variables off in an attempt to secure the form (I
still have yet to write the data validation part).
Anyway, I have an IF statement that fires depending on
11 matches
Mail list logo