[PHP] Re: anti-spam GD security image code validation

2007-02-21 Thread Scott Gunn
Could you not ? 1. Generate a code and put it in a session variable 2. Create the validation picture and display to the user 3. On validating compare the code to the session variable Regards Scott. ""Bare"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can someone explain how th

[PHP] New Menu Bar - Can people test it for me?

2007-02-21 Thread Scott Gunn
All, http://www.thebigspider.co.uk/test/menu.html I'm going to write some php code which will build this menu from an XML file. Before I do, I want to know what sort of browser compatibility it has? could you guys test it and let me know if it worked ok and looked like the preview picture? I

Re: [PHP] Can't printout class variable

2006-01-24 Thread Scott Gunn
You led me down the right path. I wasn't including the class definition file before adding the object to the session. Thanks. Sumeet wrote: Scott Gunn wrote: This should be simple. What am I doing wrong? Here is the code that is failing: $user = $_SESSION['user'];

[PHP] Can't printout class variable

2006-01-23 Thread Scott Gunn
This should be simple. What am I doing wrong? Here is the code that is failing: $user = $_SESSION['user']; print_r($user); echo "Welcome " . $user->firstName; The print_r command prints out: __PHP_Incomplete_Class Object ( [__PHP_Incomplete_Class_Name] => User [isLogg