Re: [PHP-WIN] PHP OOP

2004-06-30 Thread Ross Honniball
Have a 'look' at the object that is getting returned. Insert 'asdf($obj_name);' as shown below and also put this script in your code. function asdf($object, $where=false) // Used for debugging. Reason for odd name is easy to type but also easy to find in code to get rid of { $type = gettype($o

Re: [PHP-WIN] HTTP 400 Bad Request

2004-06-30 Thread Oliver John V. Tibi
Hi. In addition to Luis's comment, freshly installed WINDOWS XP Professional machines default the installation directory to C:\WINDOWS. Cheers. O.J. - Original Message - From: "Luis Moreira" <[EMAIL PROTECTED]> To: "Stephen Cassidy" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wedn

Re: [PHP-WIN] PHP OOP

2004-06-30 Thread Ragnar
Ok .. I figured it out now guys. Sorry for the hassle. returning the object is fine, but if you don't assign another variable with it after the function call it doesn't presist. So what I did was (after the function declaration in the code): if ($_GET['item']) $newitem = show_item($_GET['item']

Re: [PHP-WIN] PHP OOP

2004-06-30 Thread Ragnar
Thanks for the answers so far guys ... the thing that puzzles me is that the query definately works fine, because if I do this: --- function show_item($item) { $sublvl = $_GET['sub']; $qry_item = query("select ITMLIST.*, GRPLIST.NAME AS SUBNAME from ITMLIST, GRPLIST where ITMLIST.IT

Re: [PHP-WIN] PHP OOP

2004-06-30 Thread Ross Honniball
I'm guessing your ibase_fetch_object($qry_result) call does not successfully retrieve any data. It then returns false and your calling script does nothing if false is returned. At 09:32 PM 30/06/2004, you wrote: Hi lads, I'm just tinkering around in PHP again recently, I haven't done much OO in

[PHP-WIN] CGI Application misbehaved

2004-06-30 Thread Raj Gopal
Hi All, I am testing the PHP - JAVA Integration. I am using Windows 2000 Server with SP4, IIS 5.5 and PHP 4.3.4 and Java 1.4.1. The Java works with PHP. I am able to test the Java class Java.lang.system Now I want to test with one of my class files. When I did the following $publ = new Jav

[PHP-WIN] Strange dumping session behavior

2004-06-30 Thread Ron.Herhuth
Hi, I am having this strange session related problem. Basically I am starting a session on a succesful login and forwarding them to a page using: This works fine and they can naviagate around a bit. But when they return to a few of the pages for some reason the session appears to be terminat

[PHP-WIN] Re: > Problems with php_domxml and his xslt support (output settings not used)

2004-06-30 Thread Weyert de Boer
Anyone happen to have any idea? I currently kicked out DOMXML for XSLT transforms, someting I don't prefer because the XSLT library (libxsl) is faster then Sablotron. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] PHP OOP

2004-06-30 Thread Luis Moreira
Ragnar wrote: Hi lads, I'm just tinkering around in PHP again recently, I haven't done much OO in general, so I wasn't too surpised when some of the stuff I did today didn't work. Example: (DB abstraction): function data($qry_result){ if ($qry_result){ return ibase_fetch_object($qry_result); }

[PHP-WIN] PHP OOP

2004-06-30 Thread Ragnar
Hi lads, I'm just tinkering around in PHP again recently, I haven't done much OO in general, so I wasn't too surpised when some of the stuff I did today didn't work. Example: (DB abstraction): function data($qry_result){ if ($qry_result){ return ibase_fetch_object($qry_result); } } (I

Re: [PHP-WIN] HTTP 400 Bad Request

2004-06-30 Thread Luis Moreira
Stephen Cassidy wrote: Hi all, I am fairly new to this (attended a beginners course last week) and I have been asked to install PHP on or 4 web servers (spread over 4 sites), all the servers are exactly the same running Windows XP and IIS 5. I downloaded the latest PHP 4.3.7 and managed to install

[PHP-WIN] HTTP 400 Bad Request

2004-06-30 Thread Stephen Cassidy
Hi all, I am fairly new to this (attended a beginners course last week) and I have been asked to install PHP on or 4 web servers (spread over 4 sites), all the servers are exactly the same running Windows XP and IIS 5. I downloaded the latest PHP 4.3.7 and managed to install it perfectly on 3 of t