Re: [PHP-DB] Damn Cookie

2001-02-01 Thread Stas Trefilov
Hello, John Starkey! You wrote: > I've got a login page posting only the user_name and > password vars. No > matter what it's using the same name over again. > What's between the tags? -- Piloteers do it on the road -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mai

[PHP-DB] extra lines

2001-02-01 Thread Michael Gerholdt
Why would this code produce the desired list of records in a table row, and then add an equal amount of blank lines ( = num of records) before producing the next set of records? while ($row = mysql_fetch_array ($result)) { $num = count ($row); for ($c=0; $c<$num; $c++) { echo $row[$c].""; } } T

[PHP-DB] access insert problem

2001-02-01 Thread Fredrik Stark
Hi, Im using php4.0.3pl1 on a NT5 with an Access 2000 database. I use the database to store text and numbers. I just realised that the text-field can only store 255 characters so I changed the type from "text" to "memo". And now i get "Syntax Error" when i try to insert a value to the "memo" field

Re: [PHP-DB] access insert problem

2001-02-01 Thread Andreas Karajannis
Fredrik Stark wrote: > Hi, > Im using php4.0.3pl1 on a NT5 with an Access 2000 database. > I use the database to store text and numbers. I just realised that > the text-field can only store 255 characters so I changed the > type from "text" to "memo". And now i get "Syntax Error" when > i try to

AW: [PHP-DB] Oracle Persistant Connections

2001-02-01 Thread Matthias Kopolt
Yes, same question. The only thing i know about, is that, if you are running php not ass an module, your connection will die right ever script executing therefore making OCIPLogon = OCILogon. If run as module the connection will last till your server thread is regenerated. Therefore it can have a

[PHP-DB] php class to C struct interface possible?

2001-02-01 Thread Phil Rhoades
Hi all, I've just subscribed and haven't even got any mail from the list yet so I hope this isn't a dumb question . . The php xBase interface is very basic so: We have an existing (Linux RH6.2) system that has some conventional dumb terminal C programs that have access to a set of CodeBase (x

[PHP-DB] odbc_error and odbc_errormsg

2001-02-01 Thread phobo
Are odbc_error and odbc_errormsg new functions to PHP v404? I'm running PHP v403sp1 and it says these functions do not exist ? (On Windows, so i DO have ODBC functions otherwise). The online manual says version of odbc_error() added is (unknown) Siggy -- PHP Database Mailing List (http://

[PHP-DB] newlines in boxes..

2001-02-01 Thread James Smith
Alright, on my site, I have a news section, whenever i goto insert new news in the Admin area, I have to insert or /n in it, while typing in the news. How do I make this a automated process I know it can be done, but addslashes doesn't work and htmlspecailchars() doesn't work what will? Thank

[PHP-DB] Getting Data Back from Oracle Rows

2001-02-01 Thread Richard S. Crawford
This is my first application using Oracle and PHP. I'm able to connect to Oracle just fine, and retrieve the results into an array using ocifetchstatement(). However, I cannot figure out how to get the results out of the array. Help! -- PHP Database Mailing List (http://www.php.net/) To u

[PHP-DB] DB_HOME

2001-02-01 Thread John Starkey
I just did a distro install of RH7 and like a moron I didn't back up some things I guess should have been :} I was just made aware that on this machine MySQL has lost it db path. Anyone know how to: 1) Find the db path I was using. It's not where I had originally intended to to be, as far as I c

Re: [PHP-DB] DB_HOME

2001-02-01 Thread John Starkey
Sorry. And thanks. I found it. did a locate for a db I knew was in there (after checking the php connect code) and used --datadir=path John On Thu, 1 Feb 2001, John Starkey wrote: > I just did a distro install of RH7 and like a moron I didn't back up some > things I guess should have been :}

[PHP-DB] weird occurence

2001-02-01 Thread George Schlossnagle
I have this nagging suspicion that if a request which is making an oci8 request is terminated in situ by the client, that that oracle session is terminated (naturally without error). I looked through the oci8 extension code and I don't see why this would happen, but I would like to get some more