RE: [PHP-DB] File Optimisation

2001-03-15 Thread Steve Brett
Hi, Thanks for the comments, we do use IE but for the future we have to keep an open mind as there is a fair chance the network may go linux. There are plans for a windows type app in the pipeline already, with the web front end being the test-bed so I guess things ewill improve. Gonna do some

[PHP-DB] Default port on sybase_connect()

2001-03-15 Thread Trond Straume
What's the port that the php-command "sybase_connect()" uses? As far as I can see it's not possible to define which port the function shall connect to... -- Trond Straume -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: [PHP-DB] Help w/ displaying return vals

2001-03-15 Thread Russ Michell
Ryan: The followoing error message: Warning: Supplied argument is not a valid MySQL result resource means that a php function hasn't been supplied witht the correct number of arguments. Try the following: $link = mysql_connect("host","yourusername","yourpassword") or die("Died at

Re: [PHP-DB] Default port on sybase_connect()

2001-03-15 Thread Trond Straume
In the documentation for sybase_connect() the 'interfaces' file is mentioned. Where is this file on php4 for win32, and what is the syntax for defining a server including a specific port? ""Trond Straume"" [EMAIL PROTECTED] wrote in message 98q1ea$g3i$[EMAIL PROTECTED]">news:98q1ea$g3i$[EMAIL

Re: [PHP-DB] Default port on sybase_connect()

2001-03-15 Thread Koos van den Hout
Quoting Trond Straume who wrote on Thu, Mar 15, 2001 at 10:23:36AM +0100: What's the port that the php-command "sybase_connect()" uses? As far as I can see it's not possible to define which port the function shall connect to... That is because you connect to a name from the sybase interfaces

[PHP-DB] Interbase: ibase_pconnect() problem

2001-03-15 Thread Wolfgang Hege
Hi ! I have following problem when connecting to Interbase: When trying to establish a persistent connection using 'ibase_pconnect()', a new connection is created each time. The database connection remains open, but it will not be re-used later. So I have loads of database connections and a

Re: [PHP-DB] What is the life time of mysql connection if I use pconnect()

2001-03-15 Thread Jason Stechschulte
On Thu, Mar 15, 2001 at 11:55:20AM +0800, Carfield Yim wrote: From the document, the connection opened by pconnect() will not close after you use. And it will store it and reuse at next time. I would like to ask, it is keep open until I shutdown apache? AFAIK, it is kept open for the life

Re: [PHP-DB] Text Searches on MySQL

2001-03-15 Thread Jon Valvatne
First of all, to answer the inital question, here's a quote from the database: * It's not normally useful to split a table into different tables just because the rows gets 'big'. To access a row, the biggest performance hit is the disk seek to find the first byte of the row. After finding the

Re: [PHP-DB] PHP and MySQL

2001-03-15 Thread Romeo Manzur
hi, you could do it in a easier way, first put real names for the fields in your form: div align="left"login : input type="text" name="login" /div br div align="left"group : input type="text" name="group" /div

Re: [PHP-DB] If expressions in selects....

2001-03-15 Thread CC Zona
In article [EMAIL PROTECTED], [EMAIL PROTECTED] ("Trond E. Hundal") wrote: Is it possible to run sql expressions in an if expression??? Eks: IF(table1.id 12, table1.id, 'Not') Do you mean something like "select if(table1.id 12, table1.id, 'Not') from foo where somefield='bar'"? Yes, it's

Re: [PHP-DB] Default port on sybase_connect()

2001-03-15 Thread Darryl Friesen
In the documentation for sybase_connect() the 'interfaces' file is mentioned. Where is this file on php4 for win32, and what is the syntax for defining a server including a specific port? It's in whatever directory you installed FreeTDS or the Sybase client. It should be fairly obvious by

[PHP-DB] Error

2001-03-15 Thread Julio Cuz, Jr.
Hi-- When I run the following code: if($myrow = pg_fetch_array($result,0)) { echo "ok..."; } else { die(include("../sqlerror.inc")); } I get this error message: "Warning: Unable to jump to row 0 on PostgreSQL result index 2 in /html/rccd/remodel/display.php on line 27" Please

[PHP-DB] problem loading php_oci8.dll - IIS 5-0 - PHP 4.0.4

2001-03-15 Thread Barraud, Stéphane
I'm trying to use oci8 to acces an oracle database. I have install PHP4.0.4pl1 as CGI on Windows2000 with IIS 5.0. When I uncomment the line extension for php_oci8.dll I get the following error message : "unable to load dynamic library d:\php\extensions\php_oci8.dll. The specified module

[PHP-DB] ph and sybase

2001-03-15 Thread Jason LeDuc
Can anyone tell me where to find the commands like sybase connect and other such commands I compiled php with sybase. It didn't complain or give any errors. However the php web page still shows that sybase is not installed. -- PHP Database Mailing List (http://www.php.net/) To

RE: [PHP-DB] validating checkboxes

2001-03-15 Thread Stewart Taylor
The javascript syntax is document.form_name.elements['preq[]'][indx] -Stewart -Original Message- From: Adv. Systems Design [mailto:[EMAIL PROTECTED]] Sent: 15 March 2001 15:39 To: PHP List Subject: [PHP-DB] validating checkboxes Hello all: I have to validate that AT LEAST ONE

[PHP-DB] How to compile standalone php extentions ?

2001-03-15 Thread yavo
I've been strugling for some time now to compile php extentions as separate modules, byt I never seem to manage. I do the phpize, configure install steps but I end up with a .so file which cannot be loaded with the dl() function. can any one tell me what I'm doing wrong -- PHP Database

Re: [PHP-DB] PHP how to compare?

2001-03-15 Thread Joe Brown
No, two is a more accurate comparison. !== Although for most cases != is sufficient. ""Richard S. Crawford"" [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... use just one = sign. So, if ($PASS != $PASSNOG) {... At 01:41 AM 3/15/01 +0100, Duky wrote: Hmm..

[PHP-DB] meta tag inside php / redirect / refresh

2001-03-15 Thread Marc Bragg
Crazy after hours of syntax. How do you insert php code so that on different results, 1 or 0, a different the resulting html page is redirected or refreshed to a dfiferent url . . . . i tried: ?php if(check_num == 0) meta http-equiv="refresh"

[PHP-DB] Website, Design, hosting and maintenance for only $999.00 per year

2001-03-15 Thread Netmark Desing
Warning Could not process message with given Content-Type: multipart/mixed;boundary= Z_MULTI_PART_MAIL_BOUNDAEY_S