Re: [nyphp-talk] Disappearing $_SESSION variables after using header ()

2008-11-24 Thread Chris Shiflett
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

Re: [nyphp-talk] Disappearing $_SESSION variables after using header ()

2008-11-24 Thread Tim Lieberman
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

Re: [nyphp-talk] Disappearing $_SESSION variables after using header ()

2008-11-24 Thread Michael Southwell
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

[nyphp-talk] UPDATE: Bypassing Registration forms on vBulletin forums ...

2008-11-24 Thread mikesz
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

[nyphp-talk] Disappearing $_SESSION variables after using header ()

2008-11-24 Thread Tony Furnivall
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

Re: [nyphp-talk] CRM software

2008-11-24 Thread Corey H Maass - gelform.com
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

[nyphp-talk] CRM software

2008-11-24 Thread Matt Juszczak
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

Re: [nyphp-talk] passing array/object data

2008-11-24 Thread anoland
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

Re: [nyphp-talk] passing array/object data

2008-11-24 Thread Elijah Insua
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

[nyphp-talk] passing array/object data

2008-11-24 Thread Michael Southwell
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