[PHP-DB] Postgres-Php-Transaction

2002-05-17 Thread Max Buvry
Hi, I use Postgresql 7.0 + php-4.0.2 and I meet a problem with the transactions. The problem is the famous example of the bank accounts and the money transfers. My script php follows this steps : BEGIN WORK UPDATE the first bank account sleep(300) UPDATE the

[PHP-DB] Re: is there a php connectivity for db2?

2002-05-17 Thread John Lim
Hi jagannath, Yes, thru ODBC. Regards, John Jagannath Nori [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi, I started with a demo version of a module. Wrote the application with php mysql. The original data is in mainframe the database is db2. Can

[PHP-DB] string

2002-05-17 Thread Natividad Castro
Hi to all, how can I evaluate a variable? For example $test = test1; then I want to evaluate if $test contains 1 at the end. Is there any way to evaluate that variable to see if the number 1 is at the end? Thanks Nato -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP-DB] string

2002-05-17 Thread Jeremy Peterson
Sure- $test = text1; if(substr($test, -1) == 1){ print do something; } else{ print didn't equal 1 ; At 08:00 AM 5/17/2002 -0400, Natividad Castro wrote: Hi to all, how can I evaluate a variable? For example $test = test1; then I want to evaluate if $test contains 1 at the

[PHP-DB]upload image

2002-05-17 Thread Nikolay Valentinov
i have problem with image upload on freeBSD server. My question is: what must be address, where to upload file? i use $uploadpath = $DOCUMENT_ROOT.'/xxx/photos/' this works on Apache/Win98. Where is the problem? excuse me for my english :) Thanx! -- PHP Database Mailing List

[PHP-DB] Uploadin file

2002-05-17 Thread ababei dan george
can someone help me with uploading a file into a table (MSSQL),,, or where can i find a good sample or information about this -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] PHP/Apache on Unix and MS SQLServer on NT

2002-05-17 Thread Chris Boget
Does anyone have experience with this environment? Pros? Cons? Any latency problems? Connectivity issues? I'd be very interested in hearing your experiences with this. What do you like about it? What don't you? Would you set your platform up like this if you could go back and do it again?

[PHP-DB] Question about ODBC databases

2002-05-17 Thread Gerardo Morales
I have a little problem. I must design a little system in a linux server, this should be in php. The system must read a MS Access DB in a remote server (Win NT). After a single process the system must update a MySQL DB in the same server (Linux) and the Access DB. The current code works fine

[PHP-DB] passing php array to an Oracle function

2002-05-17 Thread Michael Virnstein
Hope there's any Oracle Guru around. :) Oracle 8.1.7: Asuming that I have the following object type: Create or Replace Type Test_Table_type as object (PK number(10,0), name varchar2(100)); and that I have the following package: Create Package Test_Pkg Is Type test_array_type is