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
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
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
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
: 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"
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
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
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)
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
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
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
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
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
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
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
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
16 matches
Mail list logo