On Nov 24, 2008, at 21:39, Tony Furnivall wrote:
When I trace them at the end of one page they are all there
($_SESSION['userid'] = $userid; $_SESSION['badgename']=$badgename;),
but when I examine the $_SESSION array at the start of the next
page, the variables do not exist.
Give us the r
On Nov 24, 2008, at 11:01 PM, Michael Southwell wrote:
Tony Furnivall wrote:
Many thanks to [csnyder] and [Tim Lieberman] for their helpful
suggestions about header ().
I now have that part of things working fine. However, because there
is an implicit exit; after issuing the call to header
Tony Furnivall wrote:
Many thanks to [csnyder] and [Tim Lieberman] for their helpful
suggestions about header ().
I now have that part of things working fine. However, because there is
an implicit exit; after issuing the call to header (), I'm uncertain if
the $_SESSION variables are being s
Hello NYPHP,
Back in mid October, I posted a query here about badguys bypassing the
registration process on my vBulletin sites. I have since discovered
that they were not bypassing the process, they hijack it with a
Russian Hack called Xrumer. The latest version of it apparently have
the capabilit
Many thanks to [csnyder] and [Tim Lieberman] for their helpful suggestions
about header ().
I now have that part of things working fine. However, because there is an
implicit exit; after issuing the call to header (), I'm uncertain if the
$_SESSION variables are being set properly.
When I trace
Didn't Highrise just add new quote tracking feature? Maybe look at
Highrise?
On Mon, 24 Nov 2008 17:47:19 -0500 (EST), "Matt Juszczak"
<[EMAIL PROTECTED]> said:
> Hi all,
>
> A company I work with has a wonderful billing system in place, but is
> having difficulty keeping track of clients in the
Hi all,
A company I work with has a wonderful billing system in place, but is
having difficulty keeping track of clients in their already existing
home-grown database.
Can anyone here suggest a simple PHP application that helps manage
customers (almost like a CRM), but can also do things lik
Use SPL to implement ArrayAccess on your db object? Then you can use one check
and not resort to brute forcing all the others.
it would turn into:
echo $result['stuff'];
Dunno if that is completely clear.
-Original Message-
From: Michael Southwell <[EMAIL PROTECTED]>
Date: Monday, Nov 24
echo (object)$data->something
or even better, wrap the whole thing in a 'result object'..
class resultObject {
protected $data = array();
public function __construct($data)
{
$this->data = (array)$data;
}
public function __get($k) {
return (isset($this->data[$k])) ? $this->data[$k] : n
I have a method that takes a parameter that might be either an array or
a db result object. So on the one hand I might have:
echo $array['stuff'];
or on the other:
echo $result -> stuff;
Right now I'm just using is_array and repeated brute force to do this,
but obviously there's a better way. W
10 matches
Mail list logo