Re: [PHP-DB] Is it possible to access MySQL table on server A from server B?

2003-10-08 Thread ramki
even if the domain name expired, most likely you will be able to access the site database using the ip address. but just that you have to give / have permissions to connect from the new domain or ip. Also, if you can login to the server with ftp, i guess you can ssh / telnet to server and take a

[PHP-DB] My SQL update one table, using reference from another...

2003-10-08 Thread Tristan . Pretty
I've been asked to add a field to a download capture sstem I've got. I've two tables, one that contains all the individual files info ('single_file'), and one that records the downloads ('completed_downloads'). All good... I've been asked to add a file_category (article, brochure, exe etc...)

[PHP-DB] RE: Is it possible to access MySQL table on server A from server B?

2003-10-08 Thread Cesar Schneider
Thisha, yes it's possible... I must set user and database permissions on database A to accept connections from other hosts. if you don't have permissions to set this, you have to contact the provider of database A to set this. Cesar

[PHP-DB] RE: support to palm db

2003-10-08 Thread Cesar Schneider
PalmDB is a database used PalmOS. PHP have extensions to many databases like MySQL, PostgreSQL, SQLite, etc... What I want to know is PHP have a database extension to access Palm databases. If not, have plans to implement in future versions ? I'm intersted in port PalmDB lib to PHP and I want to

[PHP-DB] mysql_error() returning nothing

2003-10-08 Thread Ben Edwards
I have been having this problem for a long time. A while ago I wrote the below functions to handle database errors. They used to display the message and email it to me. Now mysql_error() returns nothing! Any help would be greatly appreciated, as you can imagine this is causing a lot of

[PHP-DB] PHP APACHE Database

2003-10-08 Thread Paul Ciba
Hi everybody, i have a problem with php 4.0 an Sql Anywhere 5.5. The Webserver (Apache), the database and PHP are all installed on the same server( win 2000). PHP is using ODBC to connect to the database. This works if no other programm using the ODBC-connection ! If i start a programm that use

Re: [PHP-DB] mysql_error() returning nothing

2003-10-08 Thread Ben Edwards
Don't think globals are off on our server, not having to use $_GET etc. If they were turned of how would I access the MySQL error message? Ben On Wed, 2003-10-08 at 15:59, mike karthauser wrote: on 8/10/03 3:04 pm, Ben Edwards at [EMAIL PROTECTED] wrote: Any help would be greatly

[PHP-DB] Problem with uploadscript

2003-10-08 Thread Ruprecht Helms
Hi, I've problems with a http-uploadscript. When I run the htmlfile and the script replies an output of the filename but I can't find the file in the destinationdirectory. Why this can happen. Addes you can see the html-file and the script Regards, Ruprecht html head title/title meta

Re: [PHP-DB] Problem with uploadscript

2003-10-08 Thread George Patterson
On 08 Oct 2003 17:26:55 +0200 Ruprecht Helms [EMAIL PROTECTED] wrote: Hi, I've problems with a http-uploadscript. When I run the htmlfile and the script replies an output of the filename but I can't find the file in the destinationdirectory. Why this can happen. Addes you can see the

[PHP-DB] Php433 running on RedHat73 with support to OCI8

2003-10-08 Thread Adriano Rocha
Hi there, I'm running Linux RedHat7.3 with PHP 4.3.3. Same machine runs Oracle 9.0.1 with ORACLE_HOME = /usr4/oracle/9.0. When I compile php with oci8 support, using the commands below, ... root # ./configure --with-oci8 (no errors) root # make (no errors) root # make install (no errors)

[PHP-DB] Re: [PHP-INSTALL] Php433 running on RedHat73 with support to OCI8

2003-10-08 Thread Jim Thome
Your configure line is telling PHP to compile Oracle support into PHP, not as a self-contained extension (.so). Check phpinfo() to see if Oracle support was compiled into your PHP DSO. -- Jim Adriano Rocha [EMAIL PROTECTED] 10/08/03 01:40PM Hi there, I'm running Linux RedHat7.3 with PHP

[PHP-DB] Problems with Sybase and MSSQL

2003-10-08 Thread [EMAIL PROTECTED]
Well, this is the situation: i have a Win32 server running Apache2 and PHP4.3.2 as a module. I've been working really fine with the Sybase-CT module, and everything went fine till i added MSSQL support. When i restarted apache after changing php.ini it just throw an awfull amount of msg boxes

[PHP-DB] Getting last insert id?

2003-10-08 Thread Chris Payne
Hi there everyone, I use the below to insert some data into my database: mysql_query (INSERT INTO forummessages (Postedby, email, subject, message, ForumID, posted, parentid) VALUES ('$Postedby', '$email', '$subject', '$message', '$ForumID','$posted','$parentid') ); But once

Re: [PHP-DB] Getting last insert id?

2003-10-08 Thread Jeff Shapiro
Well, that all depends on which db server you are using. On Wed, 8 Oct 2003 18:32:55 -0400, Chris Payne spoke thusly about [PHP-DB] Getting last insert id?: Hi there everyone, I use the below to insert some data into my database: mysql_query (INSERT INTO forummessages (Postedby, email,

RE: [PHP-DB] Getting last insert id?

2003-10-08 Thread Omelin Morelos
you can use the mysql_insert_id() function. -Mensaje original- De: Jeff Shapiro [mailto:[EMAIL PROTECTED] Enviado el: Wednesday, October 08, 2003 4:17 PM Para: Chris Payne CC: [EMAIL PROTECTED] Asunto: Re: [PHP-DB] Getting last insert id? Well, that all depends on which db server you

Re: [PHP-DB] Php433 running on RedHat73 with support to OCI8

2003-10-08 Thread Christopher Jones
Adriano Rocha wrote: I'm running Linux RedHat7.3 with PHP 4.3.3. root # ./configure --with-oci8 (no errors) root # make (no errors) root # make install (no errors) ... it does not create the oci8.so file. Obviously, php pages on OCILogon and related functions crashes with undefined

Re: [PHP-DB] Problems with Sybase and MSSQL

2003-10-08 Thread Frank M. Kromann
The problem is the Sybase extension. It defines some mssql_* functions, and these will conflict with the mssql_* functions defined by the MSSQL extension. You can either use the Sybase extension alone and use both Sybase_* and mssql_* functions, but then there will be no support for the special