[PHP] Test - don't read just delete

2002-02-27 Thread BUDINSCHI Cosmin





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




[PHP] Help - Variables

2002-03-15 Thread BUDINSCHI Cosmin


Could smbdy please help me


I have  a variable with the name 
$name(="the_name_of_the_variable")

and I want to know if $the_name_of_the_variable
is set.


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




Re: [PHP] Re: Help - Variables

2002-03-15 Thread BUDINSCHI Cosmin

On Fri, 15 Mar 2002, Julio Nobrega Trabalhando wrote:

:>if (isset($var_name)) {
:>echo 'Isset!';
:>}
:>
:>  ?

This I knew ... i don't know the variable's name untill I execute 
the script.
I want to found out if a cookie is set who's name is $var1.$var2
and $var2 is the result of a function.
:>>
:>>
:>> I have  a variable with the name
:>> $name(="the_name_of_the_variable")
:>>
:>> and I want to know if $the_name_of_the_variable
:>> is set.
:>>


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




Re: [PHP] Re: Help - Variables

2002-03-15 Thread BUDINSCHI Cosmin

On Fri, 15 Mar 2002, bvr wrote:
:>isset($_COOKIE[$var1 . $var2])
:>isset($HTTP_COOKIE_VARS[$var1 . $var2])  // (for ancient PHP versions)
:>
:>http://www.php.net/manual/en/features.cookies.php
:>
:>or
:>
:>isset(${$var1 . $var2})
:>
:>http://www.php.net/manual/en/language.variables.variable.php
:>
:>bvr.
:>

Thanks a lot . I'll try it and tell you the result


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