On 18 Apr 2005 Proudly Pinoy wrote:
> I've read from php.net/setcookie and codecomments.com that using
> localhost won't work with cookies and neither are IP addresses. So
> how do I test cookies on local system?
Hmmm, this works just fine for me -- I do it all the time. I tend to
do it with a
On PHP 4.3.x ... (not using PHP 5)
Say I have two arrays, the first has keys 'key1' ... 'key20'. The
second has some other keys with different names (i.e. they do not
overlap those in the first array). I want to add certain elements from
array1 to array2. I can do it like this:
$arr
I have a multi-page form which I build up and store in session
variables. The data saved includes all an internal list of items on
the form (derived from a database table), all the form field specs
(derived from the internal item list), the data for the fields (from
another table), default dat
I have many places where I use references like this:
if ($fields['flags']['someflag']) ...
or perhaps
if ($_POST['checkboxfieldname']) ...
If there is no value for 'someflag', or if the check box was not
checked -- both of which are often the case -- these generate errors at
l
can't quite imagine this) current local scope?
Thanks,
--
Tom Rawson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
as quotes.
------
Tom Rawson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 matches
Mail list logo