[PHP] php3 & php4

2001-03-30 Thread Brooks, Ken
Is there any reason why I shouldn't run php3 and php4 on the same server? I have php3 using .php3 files and php4 using .php .phtml and .php4 files. Thanks, Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

RE: [PHP] huge time/memory consuming script

2001-03-25 Thread Brooks, Ken
I don't know exactly what you are asking. But I'm running a script as we speak that is pulling 75000+ rows from an oracle database over ODBC (from a remote server) and creating a table in a local mysql database, dumping all records into it. -ken -Original Message- From: Christian Decher

RE: [PHP] String Functions (replace)

2001-03-25 Thread Brooks, Ken
Nevermind, stumbled across addslashes(). What a wonderful language. :) -ken -Original Message- From: Brooks, Ken [mailto:[EMAIL PROTECTED]] Sent: Sunday, March 25, 2001 10:45 AM To: [EMAIL PROTECTED] Subject: [PHP] String Functions (replace) I know this is completely stupid but how

[PHP] String Functions (replace)

2001-03-25 Thread Brooks, Ken
I know this is completely stupid but how can i take something with a single quote ' and replace it in the string with \' Ex: Bain's Deli to Bain\'s Deli $fieldcontents = strtr($fieldcontents, "'", "\\\'"); -or- $fieldcontents = strtr($fieldcontents, "'", "\\'"); doesn't work. I feel dumb, but m

RE: [PHP] ODBC & Oracle

2001-03-25 Thread Brooks, Ken
: Thursday, March 22, 2001 5:33 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] ODBC & Oracle There is a timeout, that should halt a script if it runs too long. If you can, check php.ini set max_execution_time to something greater than 30 seconds, see if that helps. ""Brooks, Ken"

RE: [PHP] ODBC & Oracle

2001-03-22 Thread Brooks, Ken
grab more than 6000 records from a database. right? thanks, ken -Original Message----- From: Brooks, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 4:21 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] ODBC & Oracle I thought maybe the php script was running to fast for the

RE: [PHP] ODBC & Oracle

2001-03-22 Thread Brooks, Ken
any difference? -Original Message- From: Brooks, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 4:04 PM To: [EMAIL PROTECTED] Subject: [PHP] ODBC & Oracle Are there any limitations on how many records I can pull from an Oracle Database over ODBC? I have it pulling one re

[PHP] ODBC & Oracle

2001-03-22 Thread Brooks, Ken
Are there any limitations on how many records I can pull from an Oracle Database over ODBC? I have it pulling one record just fine, but when I tell it to pull all records, which should be about 75,000, it only gets about 600 or so. Does the php script time out (i'm running it thru a web browser)

RE: [PHP] ODBC only working for 82 rows

2001-03-22 Thread Brooks, Ken
Nevermind. I got smart and used CREATE TABLE with a *really* long creation_definition specifying all fields. Works a millions times better/faster. -Original Message- From: Brooks, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 12:28 PM To: Brooks, Ken; [EMAIL PROTECTED

[PHP] ODBC only working for 82 rows

2001-03-22 Thread Brooks, Ken
i_query); $mysql_alter_si_query = "alter table $si_mysql add($fieldname $fieldtype($fieldlen))"; $alter_result = MYSQL_QUERY($mysql_alter_si_query); $i++; ENDWHILE; PRINT "End of fields"; ENDIF; -Original Message- From: B

RE: [PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long]

2001-03-22 Thread Brooks, Ken
have priveledge to even view) uses the . Whee! -Original Message- From: Brooks, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 9:52 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long] Lets start at the basics. What is the ea

RE: [PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long]

2001-03-22 Thread Brooks, Ken
Lets start at the basics. What is the easiest way to *make sure* that i am connecting to that oracle db? Anyway I can just list the tables, or something. odbc_tables or something like that?.. -ken -Original Message- From: Brooks, Ken [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22

[PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long]

2001-03-22 Thread Brooks, Ken
riginal Message- From: Greig, Euan [mailto:[EMAIL PROTECTED]] Sent: Thursday, March 22, 2001 9:21 AM To: Brooks, Ken Cc: [EMAIL PROTECTED] Subject: [PHP] RE: Oracle ODBC sql [ORA-00972: identifier is too long] I haven't used Oracle with ODBC, but nothing leaps out at me from your code. S

[PHP] Oracle ODBC sql [ORA-00972: identifier is too long]

2001-03-22 Thread Brooks, Ken
I'm getting this message when i try to run a query on an Oracle database thru ODBC. I can connect to the database just fine. here is the code i'm trying to use. $td_oracle = odbc_connect($dsn, $username, $password) OR DIE("Unable to connect to oracle aradmin database"); $si_oracle_query = "SELE

RE: [PHP] Oracle, Win2000, Apache, OCI

2001-03-22 Thread Brooks, Ken
Thanks guys. I'm going to try and tackle this later today. I was s happy just to get ODBC and oracle working yesterday. I had to install the oracle 8.1.6 client. Then i rolled back to php3. Works fine. I'm going to try the OCI stuff later, i'll letcha know. -ken -Original Message

[PHP] Oracle, Win2000, Apache, OCI

2001-03-21 Thread Brooks, Ken
I have seen -many- messages and spent an entire day reading, and haven't found what I'm looking for so i hope this is the correct place to ask. When I try to make an ora_logon or ocilogon, I get the error: Fatal error: Call to undefined function: ora_logon() Is this an incorrect PHP setup or