i need to remove elements in array which are empty.
this code works but is it ok to do it like this?
code:
if(in_array(, $people)) unset($people[array_search(, $people)])
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is there some kind of problem with output buffering in php 4.2.1.
i use ob_start() ob_end_clean(), ob_get_contents() to capture output.
everything worked before and i don't know what could be the problem. my
upgrade was focused on xml/xslt stuff. any solution/similar problem?
session cookie exists on client side and it is set to last 5 days.
the problem is that after some time session data expires. cookie
on client side exists ($PHPSESSID), but session data on server side
does not exists.
i think that the answer is something like:
ini_set(session.cache_expire, 7200);
i have problems with client side cache, how can i disable it?
i use this, but it still caches pages.
header(Expires: Mon, 26 Jul 1997 05:00:00 GMT);
header(Cache-Control: no-store, no-cache, must-revalidate);
header(Cache-Control: post-check=0, pre-check=0, false);
header(Pragma: no-cache);
4 matches
Mail list logo