Re: [PHP-DB] connection to Oracle 7.3 with ora_logon()

2001-05-09 Thread Philippe Saladin
Thanks to Randall Barber, I've just to uncomment php_oci8.dll or php_oracle.dll in the php.ini file. It works now. I hadn't read enough the docs! Regards, Philippe -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EM

[PHP-DB] session.save_path

2001-05-09 Thread Philippe Saladin
Hi, in my php.ini file, there is [session] save_path = /tmp When I try to start a session, I have an error : Warning: open(/tmp\sess_62626e8e61a06b3f22c4c1bb82a6c92d, O_RDWR) failed: m (2) in {pathofmyphpfile} on line 31 and Warning: Failed to write session data (files). Please verify that the cu

[PHP-DB] urgent postgresql date problem ...

2001-05-09 Thread Steve Brett
hi, i've got a really annoying problem with php. i need to generate a report that is quite complex and have done 99% of the work but am stuck on the final leg. what i need to do is extract the last visit of training staff from an appointments table. simple you might think. the sql "selelect m

Re: [PHP-DB] session.save_path

2001-05-09 Thread Philippe Saladin
save_path = c://temp (with two /) does the trick ""Philippe Saladin"" <[EMAIL PROTECTED]> a écrit dans le message news: 9davss$vl6$[EMAIL PROTECTED] > Hi, > in my php.ini file, there is > [session] > save_path = /tmp > > When I try to start a session, I have an error : > Warning: open(/tmp\sess_

RE: [PHP-DB] session.save_path

2001-05-09 Thread Beau Lebens
if you are using c: (win32 box) it should actually be c:\\ :) HTH Beau // -Original Message- // From: Philippe Saladin [mailto:[EMAIL PROTECTED]] // Sent: Wednesday, 9 May 2001 4:55 PM // To: [EMAIL PROTECTED] // Subject: Re: [PHP-DB] session.save_path // // // save_path = c://temp (wi

RE: [PHP-DB] urgent postgresql date problem ...

2001-05-09 Thread Steve Brett
fixed it. code is below: (output 1 is screen output 2 is csv). it seemed to like fetch_row better than fetch_array .. if anyone could explain i would be really grateful. there's nothing worse than fixing something and not knowing how you did it !;-) for ($x=0; $x<$numcdbs; $x++) { $cdb

Re: [PHP-DB] *.xls

2001-05-09 Thread jarek
HI, We are trying to do some functions to export data from database to Excel format. We have specyfication of the excel file format, and we are trying to generate binary file bite by bite, but we have problems with borders and frames. Maybe someone hes experienced similar problems? best regard

RE: [PHP-DB] *.xls

2001-05-09 Thread Steve Brett
could you send me the specs for the excel format ? Steve > -Original Message- > From: jarek [mailto:[EMAIL PROTECTED]] > Sent: 09 May 2001 10:41 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] *.xls > > > HI, > > We are trying to do some functions to export data from database to > E

Re[2]: [PHP-DB] *.xls

2001-05-09 Thread Adaran (Marc E. Brinkmann)
Hi Steve Brett, Wednesday, May 09, 2001, 12:24:02 PM, you wrote: Steve> could you send me the specs for the excel format ? Steve> Steve Best thing would be to post it here, or a link at least. I think many people could use this! --- EnjoY, Adaran ([EMAIL PROTECTED]) che

[PHP-DB] Help with mysql and php 4.03

2001-05-09 Thread Tobbe
Hi I'm trying to put up some php files I have created that is working normaly at php local server with php 4.04 and mysql 3.23.36 but it won´t work at the servr where the client will have it with php 4.03 and mysql 3.22.32 the thing that won´t work is when I got a sql query that contains a inner

Re: [PHP-DB] *.xls

2001-05-09 Thread Hans-Werner Guth
Hi, ...write to an XLS file without DLL's or Excel automation... visit: http://www.planet-source-code.com/xq/ASP/txtCodeId.11898/lngWId.1/qx/vb/scripts/ShowCode.htm "Adaran (Marc E. Brinkmann)" wrote: > > Hi Steve Brett, > > Wednesday, May 09, 2001, 12:24:02 PM, you wrote: > > Steve> could

RE: [PHP-DB] *.xls

2001-05-09 Thread Steve Brett
it's VB ? > -Original Message- > From: Hans-Werner Guth [mailto:[EMAIL PROTECTED]] > Sent: 09 May 2001 14:32 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] *.xls > > > Hi, > > ...write to an XLS file without DLL's or Excel automation... > > visit: > > http://www.planet-source-code.c

Re: [PHP-DB] *.xls

2001-05-09 Thread Hans-Werner Guth
Inside the downloadable ZIP file there "Excel Clas17881432001.zip" http://www.planet-source-code.com/xq/ASP/txtCodeId.11898/lngWId.1/qx/vb/scripts/ShowCode.htm you find a file called excel.txt containing a description of the MS-Excel File format: the first few lines: MICROSOF

RE: [PHP-DB] *.xls

2001-05-09 Thread Steve Brett
a. many thanks :-) Steve > -Original Message- > From: Hans-Werner Guth [mailto:[EMAIL PROTECTED]] > Sent: 09 May 2001 15:09 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] *.xls > > > Inside the downloadable ZIP file there > >"Excel Clas17881432001.zip" > > > http://www

[PHP-DB] Call php function from javascript

2001-05-09 Thread Marko Lesnik
How to call a php function from javascript and pass some parameters? Thanks, Marko. -- 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: [EMAI

RE: [PHP-DB] Call php function from javascript

2001-05-09 Thread Larry Rivera
Well about the only thing i think you can do since the page has been sent(javascript is client side) is call a window open js functin then write the variables in the url to open ie ?id=32&blah=blahblah -Original Message- From: Marko Lesnik [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 0

[PHP-DB] INSERT Problem

2001-05-09 Thread Jeff Oien
This is driving me nuts. I can't insert anything into a mysql database using PHP. I can insert from the command line when logged in with Telnet. Using PHP I can connect and retrieve data from the database, just can't INSERT anything. This is what doesn't work: $sql = "INSERT INTO $table_name (Fir

RE: [PHP-DB] INSERT Problem

2001-05-09 Thread Jeff Oien
OK, did that and it's just printing the INSERT command back to me. INSERT INTO OVEvents (First_Name, Last_Name) VALUES("Jeff", "Oien") Any help from here? Thanks. Jeff Oien > > echo $sql; > > > always helpful, then paste that into the command line client and check the > error > > > Cameron

RE: [PHP-DB] INSERT Problem

2001-05-09 Thread Jeff Oien
That told me my problem. Thank you! I hadn't selected the database in my connect include but had it in other scripts and not this one. Long story but thanks for the help. I can stop banging my head now. Jeff Oien > on 5/9/01 12:29 PM, Jeff Oien at [EMAIL PROTECTED] wrote: > > > Am I missing some

Re: [PHP-DB] Help with mysql and php 4.03

2001-05-09 Thread Bob Hall
>Hi I'm trying to put up some php files I have created that is working >normaly at php local server with php 4.04 and mysql 3.23.36 > >but it won¥t work at the servr where the client will have it >with php 4.03 and mysql 3.22.32 > >the thing that won¥t work is when I got a sql query that contains

[PHP-DB] PHP and Oracle

2001-05-09 Thread Lokesh Wuluvarana
Hi, I just wanted to know if there are any known issues with PHP working with Oracle database. We are currently configuring Oracle to make PHP work with Oracle. Let me know. Thanks Lokesh -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

[PHP-DB] Error with connection to Oracle 7.3 with ora_logon()

2001-05-09 Thread John Edward Molano
Hi, I have the follow error when i try to connect to Oracle 7.3.3. Warning: Oracle: Connection Failed: ORA-12154: TNS:no se ha podido resolver el nombre del servicio in C:\Inetpub\wwwroot\websuperII\pruebas\ConexionOracle.php on line 7 Error conectando a la base de datos. Please help me -

[PHP-DB] True and Flase in mysql !!

2001-05-09 Thread DesClub.com
hi all .. What is the best way to create True\Flase field in mysql ?? - http://deslcub.com/phpLinkat/ DesClub.com

Re: [PHP-DB] True and Flase in mysql !!

2001-05-09 Thread Zak Greant
Use an enum field. --zak - Original Message - From: "DesClub.com" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, May 10, 2001 2:43 AM Subject: [PHP-DB] True and Flase in mysql !! hi all .. What is the best way to create True\Flase

[PHP-DB] MySq lType and PHP??

2001-05-09 Thread Nelson Reis
Hi, I'm trying to get MySql type of a field (as string) into a php script. Can anyone help me ??? Thanks ! -- 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-mai

Re: [PHP-DB] The Dreaded Oracle 8 TNS:ORA-12154 Connection Error

2001-05-09 Thread Paul
Hi Folks, Well, thanks to a posting by Benoit Noss on 2001-01-04 I solved my problem. Benoit's solution was to strip carriarge returns from Tnsnames.ora (remember we are talking Windows/DOS text files here - I would dearly love to change to a Unix box but our web site uses an ActiveX library t

Re: [PHP-DB] Call php function from javascript

2001-05-09 Thread Saul Diaz Carrillo
you can't.. but you cant use some tricks something like this... in js var ep= new Image; ep.src=".php?id=a greetings - Original Message - From: "Marko Lesnik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 09, 2001 12:14 PM Subject: [PHP-DB] Call php function fro

[PHP-DB] mysql newbie

2001-05-09 Thread andrie
Hello php-db, a allready install mysql on apache and idont create any user yet one question from me, when i enter mysql, i can enter it without being asking any password(i'm not root). how to set mysql to ask password to any user who try to enter ? -- Best regards, andrie