[PHP-DB] how to store a files submit by user?

2001-03-11 Thread Osman Omar
Hi again, My problem is like this, I want my user able to send a file (eg PDF file) to server. and server will copy this file and store into a specific directory A path to this file is store inside my database I try using 'copy($file,$path)' and it works on local side only. any idea? -- PH

[PHP-DB] upperCase

2001-03-11 Thread Hoo Kok Mun
Hi, I am using mysql-3.22.32 with php4. I have a little problem with the uppercase. I wanted to display a user input field in CAPS. This is what I did and it did not work. $userfield = upper('$userfield'); echo "User Field - $userfield"; Errors (tried both ucase and upper) Call to undefined fu

Re: [PHP-DB] upperCase

2001-03-11 Thread CC Zona
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Hoo Kok Mun) wrote: > This is what I did and it did not work. > $userfield = upper('$userfield'); > echo "User Field - $userfield"; > > Errors (tried both ucase and upper) > Call to undefined function: upper() > Call to undefined function: ucas

Re: [PHP-DB] upperCase

2001-03-11 Thread Doug Semig
Your personal dancing monkey says: strtoupper()http://www.php.net/manual/en/function.strtoupper.php RTFM. Doug At 06:01 PM 3/11/01 +0800, Hoo Kok Mun wrote: >Hi, > >I am using mysql-3.22.32 with php4. > >I have a little problem with the uppercase. >I wanted to display a user input field in

[PHP-DB] DB Abstraction

2001-03-11 Thread Jordan Elver
Hi, I thought it was about time I started using a db abstraction class. Problem is, there are so many out there that I don't which one to start using? I've heard of ADODB (I think). Anyone have any suggestions? Cheers, Jord -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP-DB] how to store a files submit by user?

2001-03-11 Thread Sridhar Ranganathan
hi refer to the section of FILE UPLOAD in the PHP manual. check out Zend and devshed for more info hth >From: "Osman Omar" <[EMAIL PROTECTED]> >To: "php4" <[EMAIL PROTECTED]> >Subject: [PHP-DB] how to store a files submit by user? >Date: Sun, 11 Mar 2001 17:16:46 +0800 > >Hi again, > >My prob

[PHP-DB] Bad Gateway Errors

2001-03-11 Thread Matthew Cothier
Is there anyway of reducing bad gateway errors on my mysql messageboard, members are starting to get really irritated by it? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP Database Maili

[PHP-DB] Common causes of the following error ??

2001-03-11 Thread Mark Collin
Warning: MySQL Connection Failed: Can't create TCP/IP socket (10091) i keep getting this error with some of my pages and cannot work out why, can anyone give me a list of common causes of this error so i can try and work out whats going worng ???

RE: [PHP-DB] Common causes of the following error ??

2001-03-11 Thread Leavell Digital Design
My guess would be the host for mysql is not set correctly. Try removing the http:// stuff from you host variable. Kevin Leavell [EMAIL PROTECTED] P 406.829.8989 C 406.240.4595 ---> -Original Message- ---> From: Mark Collin [mailto:[EMAIL PROTECTED]] ---> Sent: Sunday, March 11, 2001 3:1

[PHP-DB] Bad Gateway Errors

2001-03-11 Thread Matthew Cothier
Is there anyway of reducing bad gateway errors on my mysql messageboard, members are starting to get really irritated by it? _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- PHP Database Maili

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: >

Re: [PHP-DB] Resource for PHP and other technologies

2001-03-11 Thread olinux
AWESOME man! I will definitely be back to check it out more in depth. olinux - Original Message - From: "narsu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, March 09, 2001 2:35 PM Subject: [PHP-DB] Resource for PHP and other technologies > I developed this site http://www

[PHP-DB] PHP4, Sybase, sybase_connect

2001-03-11 Thread abreed
Hi, I cannot seem to get sybase_connect to work. I have sybase-11.0.3 (ASE) installed on SuSE Linux 6.2 (i386) - Kernel 2.2.10 Apache and PHP4 is also installed. Here is an extract from what I get from a // Configure command: ... --with-s

[PHP-DB] please help

2001-03-11 Thread Gigi Sze
hi, everyone ... this's my first time to write php program. and i've try to execute the following code: but it show: Fatal error: Call to unsupported or undefined function mysql_connect() in /home/httpd/html/test.php3 on line 2 i don't understand. please help Gigi

Re: [PHP-DB] Common causes of the following error ??

2001-03-11 Thread Mark Collin
Untitled Documentthis is what i'm using to try and connect:- $DB_SERVER="localhost"; // Database Server machine $DB_LOGIN="web"; // Database login $DB_PASSWORD="webpassword"; // Database password // Connect to the Database if (!($link=mysql_pconnect($DB_SERVER, $DB_LOGI

Re: [PHP-DB] please help

2001-03-11 Thread Jason Brooke
> but it show: > > Fatal error: Call to unsupported or undefined function mysql_connect() in /home/httpd/html/test.php3 on line 2 > > i don't understand. > > please help > > Gigi You'll need to read the manual to find out how to enable mysql for your operating system/version of php http://www.php

Re: [PHP-DB] PHP/Oracle/mod_ssl/Apache

2001-03-11 Thread Steve Farmer
hi Brian, I'm curious to know whether or not you are using persistent connections from Oracle. And do your problems disappear if you restart the Oracle db? We are having some problems with to many sessions being created with persistent connections and we think there are a couple of parameters