Re: [PHP] Why is it dangerous to have register_globals on?

2001-04-24 Thread Euan Greig
Now I understand! I hadn't twigged to the danger of _internal_ variables getting overwritten by bogus get/post variables. Thanks to you all. Euan "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Actually it's not "dangerous" per se. > > > >

[PHP] Wierd error messages

2001-04-25 Thread Euan Greig
Today my php 4/Apache/NT 4/Oracle 8i setup has started misbehaving. First sign was a huge slowing down in the delivery of pages. Then Apache crashed. I couldn't find anything interesting in the apache error log, but in the php error log there are hundreds of messages like the ones below. Can anyon

Re: [PHP] Wierd error messages

2001-04-26 Thread Euan Greig
Sorrry, if this wasn't clear, but the problem _has_ persisted after the reboots. Euan ""Brian S. Dunworth"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > At 03:03 PM 4/25/01 +0100, Euan Greig wrote: > >[

[PHP] PHP equivalent for Oracle ORA_FFI

2001-06-22 Thread Euan Greig
We have a data load program written in Oracle Reports 2.5 (yes, I know, it wasn't me!). This uses ORA_FFI to interface with a .dll to validate and reformat addresses. I would like to perform the same interface in PHP if possible, without needing to do any development work on or around the .dll. Ca

[PHP] OCIExecute hangs with invalid sql statement

2001-06-22 Thread Euan Greig
The following code works fine if passed a valid sql statement in $sql, but if not it hangs. $this->conn=OCIPLogon($orauser,$orapwd,$tns) or die ("Could not log on to database"); $this->stmnt = OCIParse($this->conn, $sql) or die ("Could not initialize database query (parse)"); $result = OCIE