downloaded php 5.5.7.tar.bz2
see attached screenshot
I did an "Add" and the dialog requested a suffix (php) and a filename
where is the file name and where might it be found
I did this same task about 3 years ago and it worked
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe,
Fatal error: Call to undefined function mysql_errors() in
/var/www/html/log_book_MySQLnew.php on line 261
function repopulate()
255 {
256
257 global $conn;
258
259 $user = "source /home/qt4user/log_book/create_log_book_mysql.sql";
260
261 $result = mysql_query($us
istopher Jones wrote:
> From: Christopher Jones
> Subject: Re: [PHP-DB] Fedora 9-->10 ..now "oracle connect error"
> To: "Fred Silsbee"
> Cc: php-db@lists.php.net
> Date: Friday, August 14, 2009, 12:05 AM
>
> Fred Silsbee wrote:
> >> i
--- On Thu, 8/13/09, Fred Silsbee wrote:
> From: Fred Silsbee
> Subject: Re: [PHP-DB] Fedora 9-->10 ..now "oracle connect error"
> To: "Christopher Jones"
> Date: Thursday, August 13, 2009, 11:36 PM
> after working for nearly 9 months,
>
> &quo
Oracle Connect Error
just upgraded Fedora 9->10
using new php.ini file containing:
; Note: packaged extension modules are now loaded via the .ini files
; found in the directory /etc/php.d; these are loaded by default.
I tried entering a file oracle.ini containing:
; Enable mysql ext
arted working with the new password
Whew!
--- On Sun, 5/31/09, Fred Silsbee wrote:
> From: Fred Silsbee
> Subject: Re: [PHP-DB] oci8 1.3.4 working for months on my simple browser
> based php
> To: "danaketh"
> Date: Sunday, May 31, 2009, 11:41 PM
> Thanks! I thoug
For months I've had a Oracle 11g1 browser based table access site/program
working.
I do regular Fedora 9 yum updates and have seen some pecl/pear stuff whizzing
by.
Just tried the Oracle 11g1 browser based table access site/program and NOTHING
shows on the Firefox 3.0.10 screen. Not even an e
--- On Thu, 1/8/09, Fred Silsbee wrote:
> From: Fred Silsbee
> Subject: how does one bind a gui representation and a container object.
> To: php-db@lists.php.net, php-gene...@lists.php.net
> Date: Thursday, January 8, 2009, 10:41 PM
> I have a Qt 4.4 C++ SQL offline program t
I have a Qt 4.4 C++ SQL offline program that displays an SQL table.
When I change a row-column cell, the change is instantly reflected in the
database. Under Qt 4.4 I use:
QSqlTableModel
How does one do this in PHP for online use.
I've done this under C#.NET VS2008 using "binding" between a gu
--- On Sun, 1/4/09, Fred Silsbee wrote:
> From: Fred Silsbee
> Subject: If I make a mistake logging in, the error shows again even if I
> enter the right values
> To: php-db@lists.php.net, php-gene...@lists.php.net
> Date: Sunday, January 4, 2009, 2:45 AM
> my PHP programs
my PHP programs are working great to access Oracle 11g1 and MySQL 5.1
I entered a bad value for user name /passwordand got a message
Could not connect: Access denied for user 'landon'@'localhost' (using password:
YES)
I restarted the script under Firefox 3.0.5 and got the same error message
wi
--- On Fri, 12/26/08, Fred Silsbee wrote:
> From: Fred Silsbee
> Subject: Re: is there any reasone why the following doesn't work?
> To: php-db@lists.php.net
> Date: Friday, December 26, 2008, 2:18 AM
> --- On Thu, 12/25/08, Fred Silsbee
> wrote:
>
> > Fro
--- On Thu, 12/25/08, Fred Silsbee wrote:
> From: Fred Silsbee
> Subject: is there any reasone why the following doesn't work?
> To: php-db@lists.php.net
> Date: Thursday, December 25, 2008, 11:57 PM
> $connection=oci_connect('landon',
> 'xxx',$db)
$connection=oci_connect('landon', 'xxx',$db)
session_start();
$_SESSION['connection'] = $connection;
..
..
..
$connection = $_SESSION['connection'] ;shows nothing!
My program allows many operations on a table re-entering at the top
and deciding what option to do next.
I don't want to kee
--- On Sat, 12/20/08, Fergus Gibson wrote:
> From: Fergus Gibson
> Subject: Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files
> To: fredsils...@yahoo.com
> Date: Saturday, December 20, 2008, 6:06 PM
> On Sat, Dec 20, 2008 at 7:59 AM, Fred Silsbee
> wrote
ntwdblib.dll proves to be necessary...otherwise I'll get a mssql_connect not
found
I used the ntwdblib.dll file from a 5.2.6 zip file
I completely reinstalled XP Prof SP3 along with MS SQL Server 2008 and I still
get the following error:
Warning: mssql_connect() [function.mssql-connect]: Unabl
in SQL Server's
> error log or the
> event log, which might be helpful? You have SQL Server
> Native Client
> installed? I assume you've quadruple-checked the
> credentials?
>
> A-
>
> -Original Message-
> From: Fred Silsbee [mailto:[EMAIL PROTECTED]
--- On Tue, 12/9/08, Fortuno, Adam <[EMAIL PROTECTED]> wrote:
> From: Fortuno, Adam <[EMAIL PROTECTED]>
> Subject: RE: [PHP-DB] Re: MS SQL error...I've come a long way to get this far
> To: [EMAIL PROTECTED]
> Date: Tuesday, December 9, 2008, 5:14 PM
> Sorry! I've been swamped today, and I need
--- On Tue, 12/9/08, Fortuno, Adam <[EMAIL PROTECTED]> wrote:
> From: Fortuno, Adam <[EMAIL PROTECTED]>
> Subject: RE: [PHP-DB] Re: MS SQL error...I've come a long way to get this far
> To: [EMAIL PROTECTED]
> Date: Tuesday, December 9, 2008, 5:14 PM
> Sorry! I've been swamped today, and I need
gt;
> Hmm, that makes me think the extension didn't load.
> When you fire up a
> page with do you see the
> module's information?
>
> If it makes you feel any better, I'm working thru
> integration with
> Oracle, and I'm not fairing too much bett
gt;
> Hmm, that makes me think the extension didn't load.
> When you fire up a
> page with do you see the
> module's information?
>
> If it makes you feel any better, I'm working thru
> integration with
> Oracle, and I'm not fairing too much bett
her PW.
--- On Mon, 12/8/08, Fred Silsbee <[EMAIL PROTECTED]> wrote:
> From: Fred Silsbee <[EMAIL PROTECTED]>
> Subject: MS SQL error...I've come a long way to get this far
> To: php-db@lists.php.net
> Date: Monday, December 8, 2008, 7:13 PM
> many changes to php
many changes to php.ini to get this far..whew!
PHP 5.2.7 just got jerked out from underneathe me (I have't replaced it since
this is a simple script)
phpinfo works!
\ or
// , when using a non default port number
$server = 'LANDON\SQLEXPRESS';
$link = mssql_connect($server, 'sa', 'PW');
I have Fedora 9/Apache 2/PHP 5.2.6
Everything is great but I cannot add the libraries for oci8 1.3.4 I have
in a directory.
The entries are grayed out.
I was getting an error oci_connect not found. I rebooted!
The php program runs **great** from /var/www/html under Apache
here is the erro
--- On Sun, 11/30/08, Fred Silsbee <[EMAIL PROTECTED]> wrote:
> From: Fred Silsbee <[EMAIL PROTECTED]>
> Subject: global not solving my problem
> To: php-db@lists.php.net
> Cc: "Chris" <[EMAIL PROTECTED]>, "Jack van Zanen" <[EMAIL P
problem:
I have resolved all problems in the PHP program below except one.
Yes I know the program is in a mess but I will clean it up.
This is a learning exercise!
Basically there is one function per page.
When I make a selection on a page, a function is executed.
I need to pass the value of
--- On Mon, 11/24/08, Fred Silsbee <[EMAIL PROTECTED]> wrote:
> From: Fred Silsbee <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
> To: "Chris" <[EMAIL PROTECTED]>
> Cc: php-db@lists.php.net
> Date: Monday, N
--- On Mon, 11/24/08, Chris <[EMAIL PROTECTED]> wrote:
> From: Chris <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
> To: [EMAIL PROTECTED]
> Cc: php-db@lists.php.net
> Date: Monday, November 24, 2008, 10:00 PM
> > fixed the problem but am not fully su
--- On Mon, 11/24/08, Fred Silsbee <[EMAIL PROTECTED]> wrote:
> From: Fred Silsbee <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
> To: "Chris" <[EMAIL PROTECTED]>
> Cc: php-db@lists.php.net
> Date: Monday,
--- On Mon, 11/24/08, Chris <[EMAIL PROTECTED]> wrote:
> From: Chris <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
> To: [EMAIL PROTECTED]
> Cc: php-db@lists.php.net
> Date: Monday, November 24, 2008, 6:41 AM
> Fred S
--- On Mon, 11/24/08, Chris <[EMAIL PROTECTED]> wrote:
> From: Chris <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
> To: [EMAIL PROTECTED]
> Cc: php-db@lists.php.net
> Date: Monday, November 24, 2008, 6:41 AM
> Fred S
--- On Mon, 11/24/08, Chris <[EMAIL PROTECTED]> wrote:
> From: Chris <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1
> To: [EMAIL PROTECTED]
> Cc: php-db@lists.php.net
> Date: Monday, November 24, 2008, 6:41 AM
> Fred S
//construct a global variable for the form profile
$fields = array("fdate", "actype", "acid", "nlandings", "nhours");
problem down in while loop
.. . . . . .
function displayDeleteForm(){
//get $fields into the function namespace
global $fields;
global $co
--- On Sun, 11/23/08, Chris <[EMAIL PROTECTED]> wrote:
> From: Chris <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work
> To: [EMAIL PROTECTED], "PHP DB"
> Date: Sunday, November 23, 2008, 10:41 PM
> Fred Silsbee
OK I had to (thanks to Jack Nav Zanen)
(1) remove the ";" off the sql statement
(2) change "'" to """
but why did NOTHING appear on the browser screen?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- On Sun, 11/23/08, Fred Silsbee <[EMAIL PROTECTED]> wrote:
> From: Fred Silsbee <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work
> ..updated..sorry
> To: "Jack van Zanen" <[EMAIL PROTECTED]>
> Cc: php-db
--- On Sun, 11/23/08, Micah Gersten <[EMAIL PROTECTED]> wrote:
> From: Micah Gersten <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work
> ..updated..sorry
> To: [EMAIL PROTECTED]
> Cc: php-db@lists.php.net
> Date: Sunday
--- On Sun, 11/23/08, Fred Silsbee <[EMAIL PROTECTED]> wrote:
> From: Fred Silsbee <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work
> ..updated..sorry
> To: "Jack van Zanen" <[EMAIL PROTECTED]>
> Cc: php-db
otes.
> <<<<<<
> $sql='insert into log_book values (
> TO_DATE(\'08/12/1973\',\'MM/dd/\'),\'B-17\',\'N5787G\',1,1.8)';
> echo $sql;
>
> $stid = oci_parse($conn,$sql );
> <<<<<<
> Jack
>
> HI
>
> of the top of my head,
>
>
> remove the semicolon from the sql string
>
> Brgds
>
> Jack
>
> 2008/11/23 Fred Silsbee <[EMAIL PROTECTED]>
>
> > The following code doesn't do the insert.
> >
> > I've tried the inse
The following code doesn't do the insert.
I've tried the insert statement in a session:
[EMAIL PROTECTED] log_book]$ sqlplus landon/
SQL*Plus: Release 11.1.0.6.0 - Production on Sat Nov 22 16:01:39 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 11g
The following code doesn't do the insert.
As is the connect message doesn't show.
I've tried the insert statement in a session:
[EMAIL PROTECTED] log_book]$ sqlplus landon/rumprocella
SQL*Plus: Release 11.1.0.6.0 - Production on Sat Nov 22 16:01:39 2008
Copyright (c) 1982, 2007, Oracle. All r
I would have had no problem if I had:
(1) used ZEND
(2) installed php, apache, oracle XE, oci8,instant client
I installed 11g1 Enterprise and that already had a client.
Fedora already had php 5 and apache 2
FINALLY: The following works in the browser.
hr/hr is automatically built in the 11g1 d
Unfortunately this is not the section titled
> "Environment".
>
> I'm hopping on a flight and will almost certainly
> not be able to read email until the end of next week.
>
> Please follow my suggestion in the post below about setting
> variables.
>
> Chris
&g
I have the following in /etc/httpd/conf/httpd.conf
SetEnv ORACLE_HOSTNAME localhost.localdomain
SetEnv TNS_ADMIN /u01/app/oracle/product/11.1.0/db_1/network/admin
SetEnv ORACLE_BASE /u01/app/oracle
SetEnv ORACLE_HOME /u01/app/oracle/product/11.1.0/db_1
SetEnv ORACLE_SID lmkiiiGDNSID
SetEnv ORACLE_
oci8
OCI8 Supportenabled
Version 1.3.4
Revision$Revision: 1.269.2.16.2.38.2.20 $
Active Persistent Connections 0
Active Connections 0
Compile-time ORACLE_HOMEno value
Libraries Used no value
Temporary Lob support enabled
Collections support enabled
Direc
http://bugs.php.net/bug.php?id=43186
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
do not know. I have on occassions in the past used oracle
> as a backend
> database for php apps and it was as simple as MySQL. Succes
> on first
> attempt.
> I now use Oracle, Php and Apache on windows and have been
> using this for
> several years now and this is a bit more
le and sets PHP/Apache
> environment
> To: [EMAIL PROTECTED]
> Cc: php-db@lists.php.net
> Date: Wednesday, November 19, 2008, 5:27 AM
> Fred Silsbee wrote:
> > there is a file /etc/httpd/conf/httpd.conf
> >
> > I tried putting the ORACLE_HOME in this file but it
> failed
ironment
> To: [EMAIL PROTECTED]
> Cc: php-db@lists.php.net
> Date: Wednesday, November 19, 2008, 5:27 AM
> Fred Silsbee wrote:
> > there is a file /etc/httpd/conf/httpd.conf
> >
> > I tried putting the ORACLE_HOME in this file but it
> failed
>
> What
]> wrote:
> From: Chris <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache
> environment
> To: [EMAIL PROTECTED]
> Cc: php-db@lists.php.net
> Date: Wednesday, November 19, 2008, 2:41 AM
> Fred Silsbee wrote:
> >
> environment
> To: [EMAIL PROTECTED]
> Cc: php-db@lists.php.net
> Date: Wednesday, November 19, 2008, 1:43 AM
> Fred Silsbee wrote:
> > oci8
> > OCI8 Supportenabled
> > Version 1.3.4
> > Revision$Revision: 1.269.2.16.2.38.2.20 $
> >
oci8
OCI8 Supportenabled
Version 1.3.4
Revision$Revision: 1.269.2.16.2.38.2.20 $
Active Persistent Connections 0
Active Connections 0
Compile-time ORACLE_HOMEno value <
Libraries Used no value
Temporary Lob support enabled
Collectio
Jones <[EMAIL PROTECTED]> wrote:
> From: Christopher Jones <[EMAIL PROTECTED]>
> Subject: Re: [PHP-DB] what the php guys need to do
> To: [EMAIL PROTECTED], "PHP DB"
> Date: Tuesday, November 18, 2008, 11:46 PM
> I'm CCing php-db again.
>
> Fred Silsbe
sorry I forgot last time to cc PHP-DB
> Fred Silsbee wrote:
> > This worked on the command line:
> >> sqlplus hr/[EMAIL PROTECTED]
>
> > so I tried: (it didn't work)
>
> > if ($conn=oci_connect('hr', 'hr','//localhost/L
provide some detailed instructions for oc8/linux install that leave no gaps
instructions that work for newbies
I've never heard of :
# LD_PRELOAD
# NLS_LANG
For example:
You should install OCI8 by yourself. Here is how:
1) Do this as user oracle: cd /tmp; pecl bundle oci8. The output should
errors are :
OCI8 DEBUG: OCINlsEnvironmentVariableGet at
(/home/oracle/oci8/oci8-1.3.4/oci8.c:1819)
OCI8 DEBUG L1: Got NO cached connection at
(/home/oracle/oci8/oci8-1.3.4/oci8.c:1864)
OCI8 DEBUG: OCIEnvNlsCreate at (/home/oracle/oci8/oci8-1.3.4/oci8.c:2768)
OCI8 DEBUG L1: create_spool: (0) a
I have Fedoara 2.6.27.5-37.fc9.i686
that has perl:
This is perl, v5.10.0 built for i386-linux-thread-multi
I searched the entire system and found neither pecl or phpize
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
59 matches
Mail list logo