[PHP-DB] Interbase: How to get table structure via SQL ?

2004-02-18 Thread DiZEM PGC
Hi, does anyone know how to get the Structure of a table using SQL. (ex.: SELECT ?RELATION_SOURCE?, RDB$RELATION_NAME FROM RDB$RELATIONS) Isn't there any table containing the CREATE STATEMENT for a table? Maybe I have to use another command? Please help ! Thx, DiZEM -- GMX ProMail (250 MB

RE: [PHP-DB] Interbase: How to get table structure via SQL ?

2004-02-18 Thread Hutchins, Richard
To: [EMAIL PROTECTED] Subject: [PHP-DB] Interbase: How to get table structure via SQL ? Hi, does anyone know how to get the Structure of a table using SQL. (ex.: SELECT ?RELATION_SOURCE?, RDB$RELATION_NAME FROM RDB$RELATIONS) Isn't there any table containing the CREATE STATEMENT

RE: [PHP-DB] Interbase: How to get table structure via SQL ?

2004-02-18 Thread Hutchins, Richard
Sorry...just re-read the subject and realized you're using Interbase. Need coffee. ;) -Original Message- From: Hutchins, Richard [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 18, 2004 8:24 AM To: 'DiZEM PGC'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] Interbase: How to get table

[PHP-DB] Interbase: How to get table structure via SQL ?

2004-02-18 Thread DiZEM PGC
Hi, ...table structure without PEAR ? Is it possible to accomplish this by a sql-statement or do I really HAVE TO install this xtension (PEAR) ? Cuz I've already written a few scripts containing many function calls (self written classes, too). I read the PEAR extension organizes everything

[PHP-DB] Interbase and PHP- SHOW TABLE sql command

2003-10-10 Thread George Georgeus
Hello, I do not know how to get the list of tables in an Interbase databse. When I tried to use the sql command SHOW TABLE; in the php function ibase_query(); I got Dynamic SQL Error SQL error code = -104 Token unknown - line 1, Select commands work well but this not. SHOW TABLE is a regular

Re: [PHP-DB] Interbase and PHP- SHOW TABLE sql command

2003-10-10 Thread George Patterson
I haven't used Interbase but could it be show tables;. Just a thought... On Fri, 10 Oct 2003 09:34:49 +0100 (BST) George Georgeus [EMAIL PROTECTED] wrote: Hello, I do not know how to get the list of tables in an Interbase databse. When I tried to use the sql command SHOW TABLE; in the php

Re: [PHP-DB] Interbase and PHP- SHOW TABLE sql command

2003-10-10 Thread Alexey Trunyov
George Georgeus wrote: Hello, I do not know how to get the list of tables in an Interbase databse. When I tried to use the sql command SHOW TABLE; in the php function ibase_query(); I got Dynamic SQL Error SQL error code = -104 Token unknown - line 1, Select commands work well but this not.

Re: [PHP-DB] Interbase and PHP- SHOW TABLE sql command

2003-10-10 Thread George Georgeus
Thank very much for your help. :o) That's what I need. Ge0rge --- Alexey Trunyov [EMAIL PROTECTED] wrote: George Georgeus wrote: Hello, I do not know how to get the list of tables in an Interbase databse. When I tried to use the sql command SHOW TABLE; in the php function

[PHP-DB] Interbase queries

2003-07-31 Thread Evan Morris
Hi I am new to using PHP with Interbase. If I want to issue a query, I use: $sth = ibase_query ($dbh, $sqlstmt); I am assuming this issues the query to the database, and commits at the same time? Do I need to release anything after having done this, or does it take care of that by itself?

[PHP-DB] interbase/firebird - There was a time with multiple conections

2003-03-13 Thread Mauricio Junqueira
Hello, I have been using php --with-interbase for some time and I enjoy using php scripts to everything so I did some small scripts to use as a datapump to the interbase. My scripts relay on the fact that I can have two simultaneos connections to the different databases in order to pump data from

[PHP-DB] Interbase and PHP locking (was: Interbase locking)

2003-03-03 Thread Koleszr Tibor
Hello everybody, Some days ago I've posted a question about interbase locking. I've solved the problem after searching at interbase developers network and php manuals. Let me drop some line about my experiences... Deadlock is when two (or more) transactions want update or delete a field in the

[PHP-DB] Interbase locking

2003-02-28 Thread Koleszr Tibor
Hello, I've an interbase locking question. Sometime i got interbase deadlock from php scripts at updates and at inserts. I'm using simple ibase_query, and as i've read the manual of the interbase, it should handle the locking with the default transaction WAIT option. Is it enoug to using

RE: [PHP-DB] Interbase BLOB problem

2002-10-30 Thread David Russell
(Pty) Ltd Tel: +2711 444-7250 Fax: +2711 444-7256 e-mail: [EMAIL PROTECTED] web: www.BarloworldOptimus.com -Original Message- From: Peter Beckman [mailto:beckman;purplecow.com] Sent: 29 October 2002 05:47 PM To: David Russell Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Interbase BLOB

[PHP-DB] Interbase BLOB problem

2002-10-29 Thread David Russell
Hi all, I have a file I need to insert into a blob in a interbase table. Code as follows: $filehandle = fopen($file, r); $blob_id = ibase_blob_import($filehandle); $qry = INSERT INTO BPFATTACHMENTS ; $qry = $qry . (BPFATTACHMENTNO, BPF, ATTACHMENTTYPE, FILENAME, FILESIZE,

Re: [PHP-DB] Interbase BLOB problem

2002-10-29 Thread Peter Beckman
Your SQL query doesn't need that semicolon at the end of the query -- lose it. I never used ibase, so here's what I found from the PHP Manual page for ibase_query: Using BLOB Insert BLOB: /* create blob */ $blob_id = ibase_blob_create(); /* fill blob */ ibase_blob_add($blob_id,

Re: [PHP-DB] Interbase transaction question

2001-08-24 Thread Yves Glodt
On Friday 24 August 2001 16:55, Balak, Frank wrote: yves, Start the transaction with ibase_trans() before you call ibase_execute. As to how is it possible, I don't really know for sure. I would presume it has to do with how Interbase handles transactions. Frank Frank, thank you, I've

[PHP-DB] Interbase : Double SELECT

2001-08-22 Thread Enrico Comini
With Interbase functions I have to make 2 select. SELECT count(*).. to count valid record and SELECT * .. to extract the records There is a simple solutions to have unique Select ? I use Pgsql too but here I Have the pg_numrows variable. Someone sau to me: just make the SELECT * .. to extract

[PHP-DB] Interbase blob question

2001-08-22 Thread Yves Glodt
Hi, is there a way to treat the output of ibase_blob_echo? I want to do some str_replace with its content before displaying it. thank you, yves -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP-DB] interbase or postgres

2001-08-17 Thread J-E-N
just want to here comments from you guys. i will be doing a shopping cart and i'm still looking for the best database which i could use aside from Oracle.i'm still thingking which is better. interbase or postgres?

[PHP-DB] Interbase lob field on the web

2001-08-13 Thread alex.tesi
Hi i have a problem printing a lob field containing an image. The database i use is Interbase 6.0 I have a blob/lob field with a gif image inside an i like to print this image on the web. Can you help me? Bye Alessandro

[PHP-DB] Interbase double select

2001-08-01 Thread Enrico Comini
With Interbase functions I have to make 2 select. SELECT count(*).. to count valid record and SELECT * .. to extract the records There is a simple solutions to have unique Select ? I use Pgsql too but here I Have the pg_numrows variable. Someone sau to me: just make the SELECT * .. to extract

[PHP-DB] Interbase Blob

2001-08-01 Thread Enrico Comini
This is my page to extract image (from blob) in a interbase table. I call it with :echo src=\blob2img.php?id_product=.$id_product.\ ; ?php //BLOB2JPG $conn = ibase_connect($host,$user,$pass,$charset,$buffers,$dialect,$rules) $set = ibase_query(SELECT IMAGE from products where (id_product =

[PHP-DB] InterBase - selecting from a non existing id value?

2001-08-01 Thread Henning Heyne
Hello, is it possible with InterBase to fire a select statement against an empty table witout getting in trouble. if the table X looks like this: id - integer dummy - varchar and if I do now a select like select * from x where id='$id'; I will get the error Warning: InterBase:

Odp: [PHP-DB] InterBase

2001-07-29 Thread Jarek Zgoda
Od: "Sergey Larionov" [EMAIL PROTECTED] Temat: [PHP-DB] InterBase "Warning: InterBase: arithmetic exception, numeric overflow, or string truncation Cannot transliterate character between character sets in /home/larionov/public_html/base.php on line 6" How I can tur

[PHP-DB] InterBase

2001-07-28 Thread Sergey Larionov
Warning: InterBase: arithmetic exception, numeric overflow, or string truncation Cannot transliterate character between character sets in /home/larionov/public_html/base.php on line 6 How I can turn off tranliteration? ·•·•·•· Sergey Larionov-[EMAIL PROTECTED],

[PHP-DB] INTERBASE PHP

2001-07-23 Thread Enrico Comini
With Interbase functions I have to make 2 select. SELECT count(*).. to count valid record and SELECT * .. to extract the records There is a simple solutions to have unique Select ? I use Pgsql too but here I Have the pg_numrows variable. -- PHP Database Mailing List (http://www.php.net/)

[PHP-DB] Interbase BLOB

2001-07-18 Thread Enrico Comini
This is my page to extract image (as blob) in a interbase table. I call it with :echo src=\blob2img.php?id_product=.$id_product.\ ; but i don't see the image ?php //BLOB2JPG // in = id_product $host = 10.10.0.200:/home/interbase/WEB02/WEBG02; $user = TEST_USER; $pass = PassUser; $charset=;

Odp: [PHP-DB] Interbase/PHP/Apache implimentation

2001-07-13 Thread Jarek Zgoda
Od: "Jordan" [EMAIL PROTECTED] Temat: [PHP-DB] Interbase/PHP/Apache implimentation So my question is this: Can DBMS support be enabled using the extension=php_interbase.dll directive in the php.ini file (as opposed to MySQL, where support is built in) ONLY while i

Re: [PHP-DB] Interbase: how can I insert null values with placeholders?

2001-07-07 Thread Kiss Marton
So I guess I'm saying that in the code if you change the $asinteger assignment to: $asinteger = NULL; /* notice the quotes */ it may work. This would make the $asinteger PHP variable a string, but since the SQL would either like to have a numeric value there or the keyword NULL, that is

Re: [PHP-DB] Interbase Problem

2001-06-26 Thread Jorge Alvarez
What OS is running in the InterBase machine? Are you running IB Classic or SuperServer? I haven't seen this error but have read about it a few times, in those cases the machine was running Windows NT and IB SS. -Jorge Niel Zeeman [EMAIL PROTECTED] escribió en el mensaje 9h76jh$ik6$[EMAIL

Re: [PHP-DB] Interbase Problem

2001-06-26 Thread Niel Zeeman
Hi We are running Firebird 0.94 SS on RedHat 7.1 Compaq Server Hope this rings a bell?? Niel Jorge Alvarez [EMAIL PROTECTED] wrote in message 9h90ja$1a8$[EMAIL PROTECTED]">news:9h90ja$1a8$[EMAIL PROTECTED]... What OS is running in the InterBase machine? Are you running IB Classic or

[PHP-DB] Interbase blob

2001-06-21 Thread Enrico Comini
I have many problem to view image stored like blob in interbase6. Is impossible. I Use ibase_blob_echo(). my php is 4.0.5

[PHP-DB] Interbase BLOB Insertion Problem

2001-05-22 Thread Xanir
Hi, I want to insert data in to a blob. So I followed the steps in de docs, but when I try to execute this script in the IBConsole: begin declare section; based on test.v1 document; based on test.v1.segment BlobV1Buffer; based on test.state CA; unsigned short BlobV1Len;

Odp: [PHP-DB] Interbase BLOB Insertion Problem

2001-05-22 Thread Jarek Zgoda
Od: "Xanir" [EMAIL PROTECTED] Temat: [PHP-DB] Interbase BLOB Insertion Problem begin declare section; based on test.v1 document; based on test.v1.segment BlobV1Buffer; based on test.state CA; unsigned short BlobV1Len; end declare section; This is DSQL

Re: [PHP-DB] interbase (?) field contents does not show

2001-05-03 Thread GMansky
Meir, Thanks for the response. I believe I tried it with caps but did not get any message. Anyway, I tried it again, and it's now working. Why does $row-LASTNAME give me a result on an ibase_fetch_object() and not on ibase_fetch_row()? Thanks, George -- PHP Database Mailing List

RE: [PHP-DB] interbase (?) field contents does not show

2001-05-03 Thread Larry Rivera
:[EMAIL PROTECTED]] Sent: Thursday, May 03, 2001 10:40 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] interbase (?) field contents does not show Meir, Thanks for the response. I believe I tried it with caps but did not get any message. Anyway, I tried it again, and it's now working. Why does

[PHP-DB] interbase (?) field contents does not show

2001-04-29 Thread GMansky
I followed the documentation on interbase. I have the following code: ?php $rowcount = 0;$dbh = ibase_connect ($host, $username, $password); $stmt = 'SELECT * FROM contact'; $sth = ibase_query ($dbh, $stmt); while ($row = ibase_fetch_object ($sth)) { print

Re: [PHP-DB] interbase (?) field contents does not show

2001-04-29 Thread Meir kriheli
On Sunday 29 April 2001 19:00, GMansky wrote: I followed the documentation on interbase. I have the following code: ?php $rowcount = 0;$dbh = ibase_connect ($host, $username, $password); $stmt = 'SELECT * FROM contact'; $sth = ibase_query ($dbh, $stmt); while ($row =

[PHP-DB] interbase

2001-04-24 Thread man
Hi, I tried to connect to remote Interbase server. There is a result below: Warning: InterBase: Unable to complete network request to host "192.168.1.10". Failed to locate host machine. Undefined service gds_db/tcp. in ... File services on remote Interbase server contains: gds_db

Re: [PHP-DB] interbase

2001-04-24 Thread Theo de Jong
Can you get to the Database / Interbase server using an interbase client, like Ibconsole? man [EMAIL PROTECTED] schrieb in im Newsbeitrag: [EMAIL PROTECTED] Hi, I tried to connect to remote Interbase server. There is a result below: Warning: InterBase: Unable to complete network request

Odp: [PHP-DB] ? interbase ?

2001-04-22 Thread Jarek Zgoda
Od: "Bart A. Verbeek" [EMAIL PROTECTED] Temat: [PHP-DB] ? interbase ? 1. Can interbase be installed and run on every Unix-type (BSD)? I've taken a look on the borland site but they only speak of Linux and windows. Official Borland builds run only on Win32 and Linux. There a

[PHP-DB] ? interbase ?

2001-04-21 Thread Bart A. Verbeek
Hello, I'm internet-databasing for over a year now and only used MySQL up untill now. Last week I spoke with a guy that was interested in running Interbase on a Unix-webserver, so I've got a couple of questions... 1. Can interbase be installed and run on every Unix-type (BSD)? I've taken a

[PHP-DB] Interbase 6.01 (dialect 3), PHP4 and DATE

2001-03-27 Thread Francisco Puentes
How can I manage DATE fieldtype in PHP4 with Interbase? The problem is that i manage DATEs in format DDMM (spain) but Interbase manage it in MMDD format; so queries expected data in that format while i need it in other format. % if(isset($action)) {

[PHP-DB] Interbase/Apache/Linux

2001-03-23 Thread Todd Cary
I have Interbase working on my client's WIN 2K platform with IIS as well as on mine; however, I do not have any experience with Linux/Apache (other than Apache running in DOS on my notebook for "on-the-road" programming). The client would now like to move over to a more stable environment:

[PHP-DB] Interbase: ibase_pconnect() problem

2001-03-15 Thread Wolfgang Hege
Hi ! I have following problem when connecting to Interbase: When trying to establish a persistent connection using 'ibase_pconnect()', a new connection is created each time. The database connection remains open, but it will not be re-used later. So I have loads of database connections and a

Re: [PHP-DB] Interbase

2001-03-11 Thread Meir kriheli
On Thursday 08 March 2001 23:05, you wrote: I am trying to connect to local Interbase server, folowing exactly PHP online documentation. But I always get a warning: "InterBase: unavailable database in d:\program files\apache group\apache\htdocs\\tabulka.php on line 22" my script is:

[PHP-DB] Interbase

2001-03-08 Thread Martin Meca
I am trying to connect to local Interbase server, folowing exactly PHP online documentation. But I always get a warning: "InterBase: unavailable database in d:\program files\apache group\apache\htdocs\\tabulka.php on line 22" my script is: $db=ibase_connect('D:\Program

[PHP-DB] Interbase + PHP Error

2001-03-01 Thread W. Yuen
I am getting this error, but I don't know what the reason is for this error. can somebody help me out? Warning: InterBase: Unable to complete network request to host "localhost". Failed to establish a connection. Connection refused in /home/httpd/html/test/php-test/ibconnect.php on line 12 Can't

Re: [PHP-DB] Interbase + PHP Error

2001-03-01 Thread Meir kriheli
On Thursday 01 March 2001 16:19, W. Yuen wrote: Hi Wicky To start with, never store the database file under your http document root, it is a big security risk. Can you connect to the databse with isql, using the same connection string ? If so, examine the log file to see what's going on

Re: [PHP-DB] Interbase + PHP

2001-02-26 Thread Meir kriheli
On Monday 26 February 2001 04:08, Duky wrote: I am using a Unix/Linux server. How can I recompile my php to use interbase?? Where can I find that, to recompile? what do I need to recompile and what do I have to include into that file? I am new to this. so if somebody can help me out.. really

Re: [PHP-DB] Interbase + PHP

2001-02-25 Thread Duky
my own OS is win98. Duky wrote: I am using a Unix/Linux server. How can I recompile my php to use interbase?? Where can I find that, to recompile? what do I need to recompile and what do I have to include into that file? I am new to this. so if somebody can help me out.. really thanks.

[PHP-DB] Interbase and php

2001-02-11 Thread Francesco Rossi
Hi, I use Interbase 6.01 in a Linux system and i want use php for my server side language for accessing the Interbase database. When i start to use php for accessing database i seen that i can't move my row pointer (cursor) into a quey after i use ibase_query() function. Only traverse one row at

[PHP-DB] Interbase help

2001-01-26 Thread Mage
Hello! I have just installed the Interbase 6.01 on a debian server. I compiled he php with: "/configure --with-mysql=/usr/local/mysql --with-apache=../apache_1.3.14 --enable-track -vars --with-interbase=/opt/interbase" but I get this error message: "Fatal error: Call to undefined function:

Re: [PHP-DB] Interbase and PHP support.

2001-01-22 Thread Mike
On Thu, 5 Oct 2000, Johan Hanson wrote: On Wed, 04 Oct 2000, Giovanni Tummarello wrote: Hello all, i am about to start a large project that has some heavy requirements and are evaluating the use of Interbase. The BLOB functionality in the PHP interface is unstable. The process

Re: [PHP-DB] Interbase and PHP support.

2001-01-22 Thread Mike
On Thu, 5 Oct 2000, Johan Hanson wrote: On Wed, 04 Oct 2000, Giovanni Tummarello wrote: Hello all, i am about to start a large project that has some heavy requirements and are evaluating the use of Interbase. The BLOB functionality in the PHP interface is unstable. The process

Odp: [PHP-DB] Interbase and PHP support.

2001-01-22 Thread Jarek Zgoda
Od: "Mike" [EMAIL PROTECTED] Temat: Re: [PHP-DB] Interbase and PHP support. The BLOB functionality in the PHP interface is unstable. The process running the blob function crashes when trying to insert a blob ID into a table. That is a pretty large flakiness. There was