[PHP-DB] please help..new problems php. 5.5.7.tar.bz2 and iis 5.1

2013-12-14 Thread Fred Silsbee
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,

[PHP-DB] the source command worked...the table is restored but still problem displayed

2011-04-21 Thread Fred Silsbee

[PHP-DB] sorce on php mysql 5.1.56

2011-04-21 Thread Fred Silsbee
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

Re: [PHP-DB] Fedora 9-->10 ..now "oracle connect error"

2009-08-14 Thread Fred Silsbee
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

Re: [PHP-DB] Fedora 9-->10 ..now "oracle connect error"

2009-08-13 Thread Fred Silsbee
--- 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

[PHP-DB] Fedora 9-->10 ..now "oracle connect error"

2009-08-13 Thread Fred Silsbee
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

Fw: Re: [PHP-DB] oci8 1.3.4 working for months on my simple browser based php

2009-05-31 Thread Fred Silsbee
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

[PHP-DB] oci8 1.3.4 working for months on my simple browser based php

2009-05-31 Thread Fred Silsbee
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

[PHP-DB] Re: how does one bind a gui representation and a container object.

2009-01-08 Thread Fred Silsbee
--- 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

[PHP-DB] how does one bind a gui representation and a container object.

2009-01-08 Thread Fred Silsbee
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

[PHP-DB] Re: If I make a mistake logging in, the error shows again even if I enter the right values

2009-01-03 Thread Fred Silsbee
--- 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

[PHP-DB] If I make a mistake logging in, the error shows again even if I enter the right values

2009-01-03 Thread Fred Silsbee
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

[PHP-DB] Re: is there any reasone why the following doesn't work?

2008-12-25 Thread Fred Silsbee
--- 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

[PHP-DB] Re: is there any reasone why the following doesn't work?

2008-12-25 Thread Fred Silsbee
--- 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)

[PHP-DB] is there any reasone why the following doesn't work?

2008-12-25 Thread Fred Silsbee
$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

Re: [PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files

2008-12-20 Thread Fred Silsbee
--- 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

[PHP-DB] ntwdblib.dll not found in any of the 5.2.8 zip files

2008-12-20 Thread Fred Silsbee
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

RE: [PHP-DB] Re: MS SQL error...I've come a long way to get this far

2008-12-09 Thread Fred Silsbee
--- 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, 8:20 PM >

RE: [PHP-DB] Re: MS SQL error...I've come a long way to get this far

2008-12-09 Thread Fred Silsbee
! I've been swamped today, and I needed to install > the PHP module > for SQL Server before I could respond. > > Fred> integration with Oracle...Linux or Windows? > Fred> I've got the Linux Oracle 11g1/PHP 5.2.6/ and > MySQL > Fred> connection down...I can

RE: [PHP-DB] Re: MS SQL error...I've come a long way to get this far

2008-12-09 Thread Fred Silsbee
! I've been swamped today, and I needed to install > the PHP module > for SQL Server before I could respond. > > Fred> integration with Oracle...Linux or Windows? > Fred> I've got the Linux Oracle 11g1/PHP 5.2.6/ and > MySQL > Fred> connection down...I can

RE: [PHP-DB] Re: MS SQL error...I've come a long way to get this far

2008-12-09 Thread Fred Silsbee
--- On Mon, 12/8/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: Monday, December 8, 2008, 10:56 PM > Fred, &

RE: [PHP-DB] Re: MS SQL error...I've come a long way to get this far

2008-12-08 Thread Fred Silsbee
--- On Mon, 12/8/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: Monday, December 8, 2008, 10:56 PM > Fred, &

[PHP-DB] Re: MS SQL error...I've come a long way to get this far

2008-12-08 Thread Fred Silsbee
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

[PHP-DB] MS SQL error...I've come a long way to get this far

2008-12-08 Thread Fred Silsbee
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');

[PHP-DB] question about Zend PHP Studio ...Zend gave useless answer

2008-12-02 Thread Fred Silsbee
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

[PHP-DB] Re: global not solving my problem

2008-11-30 Thread Fred Silsbee
--- 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

[PHP-DB] global not solving my problem

2008-11-30 Thread Fred Silsbee
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

Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1

2008-11-24 Thread Fred Silsbee
--- 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

Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1

2008-11-24 Thread Fred Silsbee
--- 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

Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1

2008-11-24 Thread Fred Silsbee
--- 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,

Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1

2008-11-24 Thread Fred Silsbee
--- 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

Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1

2008-11-24 Thread Fred Silsbee
--- 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

Re: [PHP-DB] works under mysql 5 but not under Oracle 11g1

2008-11-24 Thread Fred Silsbee
--- 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

[PHP-DB] works under mysql 5 but not under Oracle 11g1

2008-11-23 Thread Fred Silsbee
//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

Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work

2008-11-23 Thread Fred Silsbee
--- 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

[PHP-DB] why didn't errors show up

2008-11-23 Thread 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

Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work ..updated..sorry

2008-11-23 Thread Fred Silsbee
--- 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

Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work ..updated..sorry

2008-11-23 Thread Fred Silsbee
--- 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

Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work ..updated..sorry

2008-11-23 Thread Fred Silsbee
--- 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

Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work ..updated..sorry

2008-11-23 Thread Fred Silsbee
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 >

Re: [PHP-DB] php5/oci8/oracle 11g1 insert doesn't work ..updated..sorry

2008-11-23 Thread Fred Silsbee
> 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

[PHP-DB] php5/oci8/oracle 11g1 insert doesn't work ..updated..sorry

2008-11-22 Thread Fred Silsbee
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

[PHP-DB] php5/oci8/oracle 11g1 insert doesn't work

2008-11-22 Thread Fred Silsbee
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

[PHP-DB] problem oci_connect solved..thanks to those involved

2008-11-21 Thread Fred Silsbee
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

Re: [PHP-DB] oci_connect

2008-11-20 Thread Fred Silsbee
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

[PHP-DB] oci_connect

2008-11-19 Thread Fred Silsbee
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_

[PHP-DB] oci8

2008-11-19 Thread Fred Silsbee
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

[PHP-DB] close clue?

2008-11-19 Thread Fred Silsbee
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

Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment

2008-11-19 Thread Fred Silsbee
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

Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment

2008-11-19 Thread Fred Silsbee
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

Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment

2008-11-19 Thread Fred Silsbee
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

Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment

2008-11-18 Thread Fred Silsbee
]> 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: > >

Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment

2008-11-18 Thread Fred Silsbee
> 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 $ > >

[PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment

2008-11-18 Thread Fred Silsbee
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

Re: [PHP-DB] what the php guys need to do

2008-11-18 Thread Fred Silsbee
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

Re: [PHP-DB] what the php guys need to do

2008-11-18 Thread Fred Silsbee
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

[PHP-DB] what the php guys need to do

2008-11-18 Thread Fred Silsbee
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

[PHP-DB] oci_connect still not working...I added a debug statement

2008-11-17 Thread Fred Silsbee
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

[PHP-DB] trying to get pecl and phpize to build oci8

2008-11-16 Thread Fred Silsbee
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

[PHP-DB] Re-arranging elements in an associative array

2006-03-24 Thread Fred Riley
required order, and I'll do that if there's no easy way of rearranging elements. I suppose I could use some complex combination of shift(), pop(), merge() and whatnot, but that would probably take up more time than the clunky way. TIA for any suggestions/tips. Cheers Fred Learning Technologist School of Nursing, University of Nottingham -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Not sure where this messages goes, but I have a question

2003-08-07 Thread fred jones
Hello, I am re-working some old code, and I am dealing html page with several forms (generated by a php script). When one of them is submitted, I update a MySQL database like so: $updateQuery = 'UPDATE annou_seminar_seminars SET show_dev=1, dev_date="'.($date).'", dev_speaker="'.addslashes($_POST[

Re: [PHP-DB] Concatenate two strings

2003-01-16 Thread Fred Wright
On mine its just $valor1$valor2 "Mark Snijders" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] om... > with a dot > > $valor=$valor1 . " " . $valor2 > > :-) > > > > > > -Original Message- > From: Bruno Pereira [mailto:[EMAIL PROTECTED]] > Sent: woensdag 15 januari 2003 15:48 >

[PHP-DB] Re: Undefined index and variables

2003-01-15 Thread Fred Wright
Problem solved with //Init variables $HTTP_POST_VARS['Ref']="A"; etc Thanks guys for your help :-)) "Fred Wright" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi to all > Being new to PHP I am naturally e

Re: [PHP-DB] Re: Undefined index and variables

2003-01-15 Thread Fred Wright
Of course, but that would solve the problem I have, albeit it would look more elegant. Have tried everything except the solution which I cannot find, see the zip file earlier up the list from Fred Wright "Ben Joyce" <[EMAIL PROTECTED]> wrote in message DF1220D4F915D4119C6B0030

[PHP-DB] Re: Undefined index and variables

2003-01-15 Thread Fred Wright
here are the files to make add.php work. thanks to Richard Hutchins for his answer, that I do not yet understand:-) "Fred Wright" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi to all > Being new to PHP I am naturally experienc

[PHP-DB] Re: Undefined index and variables

2003-01-15 Thread Fred Wright
"); printf(""); printf("Reference:"); printf(""); printf("Chassis:"); printf(""); printf(""); printf(""); printf("" ); } "Fred Wright" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTEC

[PHP-DB] Undefined index and variables

2003-01-15 Thread Fred Wright
C:\Xitami\webpages\add.php on line 23 How do I get rid of these undefined errors? Could anyone advise please. Regards Fred printf(""); printf(""); printf("Reference:"); printf(""); printf("Chassis:"); printf(""); printf("&quo

RE: [PHP-DB] TEXTAREA ...

2002-07-18 Thread Woolsey, Fred
t of your ability, be at peace with all men (and women). */ Fred Woolsey -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 2:27 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] TEXTAREA ... On Friday 19 July 2002 01:44, Hillensbeck, Preston wrote:

[PHP-DB] Re: [PHP] PHP and MYSQL Security`

2002-01-27 Thread Fred
the document root for apache. Of course, this only works if all of your scripts use the same server, user and password. Fred Duky Yuen <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > How can I secure my username and password? In 1 of my f

[PHP-DB] Re: How are site layout blocks made

2002-01-12 Thread Fred
The blocks are made using templates which are "included" into the main page. The templates consist of both php code and html as well as CSS and sometimes javascript. Read the source code for one of the nukes and you will learn a lot about how they do it. Fred Barry Rumsey <[EM

[PHP-DB] Re: Redirecting to a new page

2002-01-04 Thread Fred
Please note, that this is a very insecure way of determining which page a person gets to view. All they would have to do is enter the admin.php url in the browser and they get admin access even if they are not admins. Fred Matt Stewart <[EMAIL PROTECTED]> wrote in message [EMAIL PRO

Re: [PHP-DB] Date problem with new year

2002-01-02 Thread Fred
This all seems like a waste of cpu cyles to me. Why don't you just write a query like this and be done with it: SELECT * FROM Table WHERE Date_Column = MAX(Date_Column) Fred Faye Keesic <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

[PHP-DB] Re: SQL/PHP problem

2001-12-19 Thread Fred
use the quotes around the variable, as they are used for strings and not numbers. Fred Brian Grayless <[EMAIL PROTECTED]> wrote in message C3C8C2499A63D211BB7D00A0C9E1C7060128707F@PRI-NT1">news:C3C8C2499A63D211BB7D00A0C9E1C7060128707F@PRI-NT1... > I'm trying to delete rows

[PHP-DB] Re: Database query

2001-12-18 Thread Fred
ER BY ID LIMIT $limitvalue1, $limit"; Then make the value of your first option (the one which indicates no selection) in the html form = "%". Now if a selection is made using both variables and the selection does not find any relevant rows you will get an empty result. Fred <

[PHP-DB] Re: Converting english date formats to french....

2001-12-17 Thread Fred
You can use PHP to format the date: http://php.he.net/manual/en/function.date.php or use MySQL: http://www.mysql.com/doc/D/a/Date_and_time_functions.html see DATE_FORMAT() Fred Vincent Beaulieu <[EMAIL PROTECTED]> wrote in message 004001c18741$ffba54b0$1b737a89@universiqhgcnn

[PHP-DB] Re: Table to BIG to dump, how ?

2001-12-17 Thread Fred
Where is the error msg? Fred Nagasea <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I always got this error message when I tried to dump my structure and data table to a file. > I think it's because the file table size it BIG (almost

[PHP-DB] Re: MYSQL query help

2001-12-14 Thread Fred
a row for every instance of a many to many relationship, so you may want to use a GROUP BY clause to reduce the number of rows in the result. Fred Harpreet <[EMAIL PROTECTED]> wrote in message 01c184ac$6ed6b250$38c8a8c0@harpreet">news:01c184ac$6ed6b250$38c8a8c0@harpreet... >

[PHP-DB] Re: storing binary data in mysql

2001-12-02 Thread Fred
Why do you think it cannot store binary data? Are you recieving an error message. If so, what it is? Fred Fai <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I use MySQL rpm to install in RedHat 7.2 in one of > my pc. Then I store binar

[PHP-DB] Re: Intranet Server

2001-12-02 Thread Fred
that you are using the BIND DNS server on a *nix box. If you are not, well you probably should be. If your school uses all windows boxes, you can still download and install BIND for windows. There is even an Alpha version for windows if you happen to have a Compaq server. Fred Ali Nayeri <[EM

[PHP-DB] Re: session.save_path

2001-11-28 Thread Fred
PHP as an apache module requires the php.ini file. Look harder and you will find it somewhere. session.save_path is the file on the server where sessions are stored. It has nothing to do with the client machine. Fred Jonathan Duncan <[EMAIL PROTECTED]> wrote in message [EMAIL PRO

[PHP-DB] Re: Using variables within a SELECT statement

2001-11-28 Thread Fred
$query="select * from my_contacts where contactid like \"$cir\""; Fred Kevin Ruiz <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm working on an application that selects a user's userid if their password >

[PHP-DB] Re: Combination of SQL statements invalid in MySQL?

2001-11-22 Thread Fred
Something similar is available using a FROM clause instead of a SELECT clause, but it is only available in mysql 4.0. Fred Andy <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi there, > > I am trying to do a combination of SQL stateme

[PHP-DB] Re: Problem with my Car DB

2001-11-21 Thread Fred
e for NEXT where N=N+10 Fred Lynn Geise <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Can someone give me the code to make the db display 10 cars per page then > make another page with the links below the car for the next page youc na see &

[PHP-DB] Re: php/mysql error

2001-11-21 Thread Fred
ments, as it will give you a detailed message about what failed. Fred Jon <[EMAIL PROTECTED]> wrote in message Usenet.ipsiitnr@localhost">news:Usenet.ipsiitnr@localhost... > please review my script > > I have already had it said that the script is fine, please check. IF

[PHP-DB] Make Money For Sending E-mail

2001-09-01 Thread fred . bill
lly > > ignored > my supposed intelligence and few days > later she> jumped in with both feet. > I > made > merciless fun of her, and was ready to lay the> old > ''I told you so'' > on > her whe