[PHP-DB] RE: [PHP] question ! show binary

2001-01-30 Thread Maxim Maletsky
Why on the earth would you do that? It always happens to me associate images with my databases but I never actually insert them in. I just *copy* these graphics to somewhere on my server (or often even on in a webroot) and give them a logic name. So then when you need to call a graphic you do ( i

[PHP-DB] question ! show binary

2001-01-30 Thread Yui Hiroaki
HI! I am using PHP in mySQL. I create table in database and insert 'binary'(*.gif). But I do not know how to use this binary using PHP and show website. Please help me. $)create table xxx (col longlob); $)insert into xxx values("image\yyy.gif"); I want to display :yyy.gif in html Th

RE: [PHP-DB] Install PHP with custom ODBC

2001-01-30 Thread Andrew Hill
Hi WC, There is a HOWTO at www.iodbc.org/odbc-phpHOWTO.html If you have problems, free support is available at http://www.openlinksw.com/support/suppindx.htm Best regards, Andrew Andrew Hill Director Technology Evangelism OpenLink Software ht

Re: [PHP-DB] foreign key problem

2001-01-30 Thread Bob Hall
>hello all! >i have a little problem ,hope someone can help me out >the problem is : >let i have two tables T1 and T2 ,now T1 has following >fields >cntryid >cntryname >cntrycode etc. >now cntryid is the primary key now i want to make the >cntryid a foreign key in table T2 .so how can i do it >plz

[PHP-DB] load data conditionally

2001-01-30 Thread Mark @ 10base-t
Hey there, Can you use the load data infile command to load stuff in only if certain fields match? Or would I have to do this via some php loop? Basically I have a txt file with 5 fields in it. First name, extension, space, seat, cluster. I only wanna update a record with the space seat and clu

Re: [PHP-DB] newbie to db & php - help

2001-01-30 Thread Wayne Bastow
Andrew, Have a look for POST in your httpd.conf and see if it is allowed. Also have a look in the Apache FAQ - there are details on getting POST to happen. Wayne On Tue, 30 Jan 2001 15:57, blinddog wrote: > I have just started using PHP and MYSQL and am having a problem placing > data into my

Re: [PHP-DB] Error in accessing the database through MySQL

2001-01-30 Thread JJeffman
If you are running PHP3 in a Windows environment, check if you have enabled php3_mysql.dll in the Windows Extensions session of the php3.ini file. HTH. Jayme. http://www.conex.com.br/jjeffman -Mensagem Original- De: Devang P. Shah <[EMAIL PROTECTED]> Para: <[EMAIL PROTECTED]> Cc: <[E

Re: [PHP-DB] insert into mysql

2001-01-30 Thread Robert
I found the problem. I didn't give myself write access to the database :} - Original Message - From: "Darryl Friesen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 29, 2001 8:32 AM Subject: Re: [PHP-DB] insert into mysql > > > > > $sql = "INSERT INTO ecomm (ID,part

[PHP-DB] RE: Doing multiple updates

2001-01-30 Thread Randy Johnson
Does the Connection ID change if I use persistent connection through PHP using mysql_pconnect()? Is it possible to retrieve CONNECTION_ID() this though PHP? -Original Message- From: The Tilghman [mailto:[EMAIL PROTECTED]] Sent: Monday, January 29, 2001 4:31 PM To: 'Randy Johnson' Subje

Re: [PHP-DB] recursion

2001-01-30 Thread JJeffman
I think it might be $this->deptree ! Every time you create an object the "$" is replaced by "$this->" . HTH. Jayme. http://www.conex.com.br/jjeffman -Mensagem Original- De: <[EMAIL PROTECTED]> Para: Andrew <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Enviada em: terça-feira, 30 de janeir

Re: [PHP-DB] Error in accessing the database through MySQL

2001-01-30 Thread phobo
Why are you using php3.0.17? That is atleast 6 months old! You have downloaded a version of PHP which doesn't have MySQL functions built in. Beacuse you are using the Win32 version, you should just use PHP4 (the latest version), which WILL have MySQL functions built in. Go to http://www.php.net/

Re: [PHP-DB] Install PHP with custom ODBC

2001-01-30 Thread phobo
1. Instead of customodbc, you should use --with-openlink=/usr/local/openlink/ 2 .Are you sure it asks that odbc.h can't be found ? Or is it that you recieve this error: php_odbc.c: In function `odbc_column_lengths': php_odbc.c:606: `SQLINTEGER' undeclared (first use in this function) php_odbc.c

Re: [PHP-DB] Target window.

2001-01-30 Thread JJeffman
I attempt it but the browser told me it was a illegal operation ! TIA Jayme. http://www.conex.com.br/jjeffman -Mensagem Original- De: Beau Lebens <[EMAIL PROTECTED]> Para: JJeffman <[EMAIL PROTECTED]>; PHPDB <[EMAIL PROTECTED]> Enviada em: terça-feira, 30 de janeiro de 2001 03:46 Assu

Fwd: [PHP-DB] InterScan NT Alert

2001-01-30 Thread Steve Farmer
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm >list-help: >list-unsubscribe: >list-post: >Delivered-To: mailing list [EMAIL PROTECTED] >Date: Tue, 30 Jan 2001 10:34:49 +0100 (W. Europe Standard Time) >From: [

[PHP-DB] Error in accessing the database through MySQL

2001-01-30 Thread Devang P. Shah
Dear Sir/Mam, I am learing to use your php version "php-3_0_17-win32" downloded from your site. I am having MySQL installed on my computer. When I try to connect to a database through "mysql_connect()" it shows error that " Fatal error: Call to unsupported or undefined f

Re: [PHP-DB] Streaming a file from DB over SSL using IE

2001-01-30 Thread php3
Addressed to: Beau Lebens <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Beau Lebens <[EMAIL PROTECTED]> Tue, 30 Jan 2001 17:32:25 +0800 > > > >It does not work with Internet Exploder, does it work with other > >browsers? > > Yes, tested under Netscape and Lynx - both

Re: [PHP-DB] Streaming a file from DB over SSL using IE

2001-01-30 Thread Beau Lebens
>It does not work with Internet Exploder, does it work with other >browsers? Yes, tested under Netscape and Lynx - both work >It does not work with SSL connections, does it work with non SSL >connections? Yes - works perfectly on insecure connections >It does not work from MySQL, does it work

[PHP-DB] InterScan NT Alert

2001-01-30 Thread postmaster
Receiver, InterScan has detected virus(es) in the e-mail attachment. Date: Tue, 30 Jan 2001 10:34:49 +0100 (W. Europe Standard Time) Method: Mail From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> File: php-db_6234.ezm Action: deleted Virus: TROJ_NAVIDAD.E -- PHP Database Mailing Lis

Re: [PHP-DB] Streaming a file from DB over SSL using IE

2001-01-30 Thread php3
Addressed to: Beau Lebens <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from Beau Lebens <[EMAIL PROTECTED]> Tue, 30 Jan 2001 16:33:32 +0800 > > Hi all, Just a quick one, is there anyone out there who has managed > to successfully store a file (other than text) in a datab

Re: [PHP-DB] recursion

2001-01-30 Thread php3
Addressed to: "Andrew" <[EMAIL PROTECTED]> [EMAIL PROTECTED] ** Reply to note from "Andrew" <[EMAIL PROTECTED]> Tue, 30 Jan 2001 10:17:40 +0200 > > Hi, Does PHP4 support recursive function ivocation? It seemed tome > that it does not, because the code below doesn't work properly.

[PHP-DB] Install PHP with custom ODBC

2001-01-30 Thread WC Ip
Thanks for reading my question! I would like to install PHP on Linux to connect MS SQL server in another computer (Win NT). I have install the ODBC Client Components on Linux and OpenLink Generic 32 bit driver on Win NT. After configurating, the connect test is successful. So I try to start to i

[PHP-DB] Which Virus was it?

2001-01-30 Thread Trond Erling Hundal
Hey there ppl! What was the name of the virus that was sent to this list??? -Trond? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP-DB] Streaming a file from DB over SSL using IE

2001-01-30 Thread Beau Lebens
Hi all, Just a quick one, is there anyone out there who has managed to successfully store a file (other than text) in a database (I am using MySQL) and then stream it out dynamically to a user, on an SSL enabled server, to a client using Internet Explorer? I have tried nearly everything I coul

AW: [PHP-DB] recursion

2001-01-30 Thread Michael Rudel
Hi Andrew, This works fine: // Prints out an array recursiv function print_array( $array, $seperator = "" ) { while ( list( $key, $val ) = each($array) ) { if ( is_array( $val ) ) { print_array( $val, $seperator." => ".$key ); }

[PHP-DB] recursion

2001-01-30 Thread Andrew
Hi, Does PHP4 support recursive function ivocation? It seemed tome that it does not, because the code below doesn't work properly. function RecPrintDeps($arr, $depth=0){ //print_r($arr); $depth++; printf("%s", $HTTP_SELF, $arr[0], $arr[2]); while(list($k,$v)=each($this->$deptree))