[PHP-DB] Fout forwarding

2001-01-23 Thread Xsarus Internetdiensten
Geachte relatie, Door een fout van een van onze medewerkers is wellicht naar u een bericht doorgestuurd dat u niet had mogen bereiken. Het betrof een bericht dat alleen bestemd was voor privérelaties van betreffende medewerker. Daarnaast was het bericht van een strekking die niet hoort bij

RE: [PHP-DB] PEAR DB testing volunteers needed

2001-01-23 Thread signup
Hi Stig, Hi, This is an invitation to help testing PHP's bundled database abstraction layer, DB. If you are interested in helping DB to become stable on _your_ database platform, please reply to this message with what database systems you have access to. Systems in particular interest

Re: [PHP-DB] PKFK

2001-01-23 Thread signup
I was hoping someone would look at this situation first, and someone did. However, the answer about needing to define a PK before you can use it as a FK being a limitation of SQL may have been a bit misleading (sorry, Jarek). It is more of a building block of relational theory rather than a

Re: [PHP-DB] Question about using php with Microsoft SQL server

2001-01-23 Thread signup
Hello, I'm trying to use the mssql_connect function to connect to the Microsoft SQL server with php4.0.3pl1 for window, but the return is "Fatal error: Call to undefined function: mssql_connect()". And another mssql function are also with the same result, but I have try use the mysql and

Re: [PHP-DB] PEAR DB testing volunteers needed

2001-01-23 Thread signup
Hi, This is an invitation to help testing PHP's bundled database abstraction layer, DB. If you are interested in helping DB to become stable on _your_ database platform, please reply to this message with what database systems you have access to. Systems in particular interest are:

[PHP-DB] Forcing logout

2001-01-23 Thread signup
I have some problem authentication with PHP, how can I force a user to logout (pressing logout button) and clear credential info without displaying logon screen again. Right now when user click logout button then Logon screen appears again. Code (logout.php) : ? Header( "WWW-authenticate:

Odp: [PHP-DB] PKFK

2001-01-23 Thread signup
Od: "Anthony Martin" [EMAIL PROTECTED] Temat: [PHP-DB] PKFK I'm having trouble figuring out this referential logic. I'm writing a rudimentary directory structure for dividing HTML sections from one another. Right now, my tables have no referential integrity, except for ones pertaining

[PHP-DB] PHP OCI interface not working

2001-01-23 Thread signup
-BEGIN PGP SIGNED MESSAGE- Hi, Well, I've solved my problem with Thies's help It turned out to be a permissions problem: It was a (@#$%^) permissions problem on the root oracle directory. I have oracle installed in /home/oracle/OraHome1, and the permissions on /home/oracle was 700.

[PHP-DB] Problem with php_interbase.dll

2001-01-23 Thread Alexey Freidman
I have the following problem with php 4: when I uncomment php_interbase.dll line in php.ini, I get the following message: Unable to load dynamic library 'c:php\extensions\php_interbase.dll' - A device attached to the system is not functioning. I get the same result when I try to use dl()

Re: [PHP-DB] How to solve Orcale 8 Error: ORA-01036: illegal variable name/number??

2001-01-23 Thread Thies C. Arntzen
On Tue, Jan 23, 2001 at 04:57:02PM +0800, Koala wrote: Here is the code: $arr_var = Array(); $arr_var[] = Array("KEY"='rec_id', "VALUE"='00', "LENGTH"=-1);\ .. $stmt = OCIParse('DECLARE rec_id NUMBER(20); SELECT recNum INTO rec_id FROM table WHERE recNum= 2 '); .. $num_rows =

[PHP-DB] Include problem.

2001-01-23 Thread JJeffman
I am running PHP3.017(cgi) + Apache + MySQL on Windows98 SE. The include() and the getenv() functions are asking for a dial-up connection. Can somebody give me a hand ? Jayme. http://www.conex.com.br/jjeffman -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP-DB] Freetds/ODBC/Openlinks?

2001-01-23 Thread Julio Cuz, Jr.
Hi-- Bottom line: What's the most used way of talking to MSSQL from PHP 4? Freetds/ODBC/Openlinks/other? Julio Cuz, Jr. Riverside Community College [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP-DB] WinNT 4.0 wrkst / Oracle 8.1.6 - succeed

2001-01-23 Thread Andris Jancevskis
Hi, It may interested someone: I have succesfully connected to Oracle: use ORACLE 6i runtime connect to Oracle 8.1.6 from winnt4.0 workstation SP6 Code I use: ? dl("d:\\www\\php\\extensions\\php_oci8.dll"); $tns_name="sun"; $usr="scott"; $pwd="tiger"; putenv("ORACLE_HOME=D:\ora_6run");

[PHP-DB] RES: PHP4 / WinNT 4 / Oracle 7.3 via ODBC

2001-01-23 Thread Carlos Correa Goncalves
Hi all, Thanks a lot for the help!! Ive reinstalled Oracle Cliente (version 8.1.5.0.0) and PHP 4.0.4pl1 and tried Jean-Christophe suggestion, with success: -- ?php putenv("ORACLE_SID=badm"); putenv("ORACLE_HOME=D:\ORANT"); $tns = "(DESCRIPTION = (ADDRESS_LIST =(ADDRESS = (PROTOCOL =

[PHP-DB] apache + mssql

2001-01-23 Thread Thor M. Steindorsson
HELP! I need to access a database on a mssql server from a linux box, but the php doesn't recognize any of the mssql statements. Apparently mssql support was not included in the inital php installation (which came with Mandrake 7.2). I know there's the option of downloading the PHP source and

[PHP-DB] moving

2001-01-23 Thread bryan
Hey all... I have a site where people have to pay for the pictures. He is a professional photographer and does not want people stealing his work. When they download and image, they pay for it. The problem with that is, if I have images named 001.jpg, 002.jpg, people can type that into the

Re: [PHP-DB] moving

2001-01-23 Thread HDwebdev
On Tue, 23 Jan 2001 17:13:24 -0800, Bryan wrote: Hey all... I have a site where people have to pay for the pictures. He is a professional photographer and does not want people stealing his work. When they download and image, they pay for it. The problem with that is, if I have images

Re: [PHP-DB] moving

2001-01-23 Thread phobo
You could have a session variable which" When you order/pay/whatever an image, is set to "canorder=1"; When you download an image, canorder can only==1, and is set back to "canrdoer=0" Something like that can be improved upon vastly, but this is my immediate thought plan. Renaming files and

Re: [PHP-DB] Freetds/ODBC/Openlinks?

2001-01-23 Thread phobo
PHP has "built in" functions to talk to MYSQL - see www.php.net/mysql I'd say these are the fastest, more reliable and easiest way to access a MSSQL db. Siggy - Original Message - From: "Julio Cuz, Jr." [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 24, 2001 11:08 AM

[PHP-DB] Sweeping Stale Users from DB

2001-01-23 Thread John Starkey
What's the best or recommended way of sweeping users from MySQL on the hour or half hour or other? To keep things portable i was thinking about having each login sweep the db, so every is sweeping for everyone else? But that's kinda dumb. Then i came up with a cron job, but that will be admin

[PHP-DB] storing query result in arrays: waste of memory?

2001-01-23 Thread Tyson Lloyd Thwaites
Hi all, I am writing an object-oriented program in PHP, and some of the child objects require similar data to their parents, but from different columns of the same table. Is it better to retrieve the whole table up-front and store it in a session array, or to run the queries seperately each