RE: [PHP-DB] NC takes forever to connect to the db

2001-12-11 Thread Lars B. Jensen
Similar yes, solution no... But it seem only to happen when I test on my internal test enviroment, not when deployed on more serious installed FreeBSD or Solaris servers. (Internally I use a Win2k Prof. installation *sigh*) / LJ -Original Message- From: Andy [mailto:[EMAIL PROTECTED]]

RE: [PHP-DB] Why use MySQL with PHP

2001-11-15 Thread Lars B. Jensen
*laugh* I was reading this and thought to reply simply for the fact Søren is fellow danish guy, but refrained momentarily till I got this one... There are many alternatives to mySQL and much more commercial too... Try get your hotshot boss to belive in mySQL rather from business buzzword Oracle

RE: [PHP-DB] Why use MySQL with PHP

2001-11-15 Thread Lars B. Jensen
Stored procedures is missing in mySQL correct but is scheduled with the exiting launch of the mySQL 4 family. mySQL has it's drawbacks, but main force is it's performance, for certain tasks also with quite large datasets (few million rows) I had mySQL outperform major players as Microsoft SQL

RE: [PHP-DB] Why use MySQL with PHP

2001-11-15 Thread Lars B. Jensen
-complicated sites)? i'm no expert at all, but won't mySQL 4 therefore be slower? -Original Message- From: Lars B. Jensen [mailto:[EMAIL PROTECTED]] Sent: 15 November 2001 12:19 To: matt stewart Cc: [EMAIL PROTECTED] Subject: RE: [PHP-DB] Why use MySQL with PHP Stored procedures

RE: [PHP-DB] phpdb error, need help

2001-11-13 Thread Lars B. Jensen
will be initialised automatically by PHP - heck, I often do that myself in simple vars, not arrays ect ofcourse. Try it and report back if it works or if you need further assistance Lars B. Jensen, CEO and Founder LJWeb GmbH www.ljweb.com -Original Message- From: Clay Culver [mailto

RE: [PHP-DB] Can't connect Mysql using php

2001-09-26 Thread Lars B. Jensen
you need to install your PHP using ./configure --with-mysql rather than ./configure --without-mysql / LJ -Original Message- From: Jae [mailto:[EMAIL PROTECTED]] Sent: 27. september 2001 13:05 To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Can't connect Mysql using php './configure'

RE: [PHP-DB] USA Attacks

2001-09-12 Thread Lars B. Jensen
Nostradamus died in 1566... I wonder who wrote or re-wrote that passage for the event... / LJ -Original Message- From: Danny N. [mailto:[EMAIL PROTECTED]] Sent: 13. september 2001 01:43 To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] USA Attacks quite interesting from Nostradamus's

RE: [PHP-DB] USA Attacks

2001-09-11 Thread Lars B. Jensen
It is replies like this that makes me understand the terrorism in the world... No doubt, it was a horrible act by cowards, but what comes up must come down. US has been playing with fire once too often and suddenly tasted their medicine - maybe time to rethink the world police strategy again. I

RE: [PHP-DB] How can you hide database login passwd in your script?

2001-09-01 Thread Lars B. Jensen
a .php file is only viewable on the server if users have access to the site through eg. FTP, Telnet or alike. When displaying or trying to download a PHP file, the server will first execute it and return the result being your HTML output or result of function, without login information nor PHP

FW: [PHP-DB] Re: replace string - case insensitive

2001-08-15 Thread Lars B. Jensen
depending on what you're replacing with what, a solution is eregi_replace. I do not advice to upper nor lowercase the source as it will change parts of data unwantedly. / Lars www.ljweb.com -Original Message- From: Elman Cheng [mailto:[EMAIL PROTECTED]] Sent: 16. august 2001 10:41 To:

RE: [PHP-DB] Re: replace string - case insensitive

2001-08-15 Thread Lars B. Jensen
PROTECTED]] Sent: 16. august 2001 12:17 To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Re: replace string - case insensitive Lars B. Jensen [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... depending on what you're replacing with what, a solution is eregi_replac

RE: [PHP-DB] start over on database read inorder to read from the beggining again

2001-08-13 Thread Lars B. Jensen, LJ Webnologics
To run with less overhead, I would advice to only access the database when absolutely nessary. Therefor I would approach the problem with pasting the database result into an array and then doing the work from here - an array is much faster to work with rather than db. An approach could be ?php

Re: [PHP-DB] Merge two arrays into associative arrays?

2001-05-21 Thread Lars B. Jensen, LJ Webnologics
Have followed this group for a while, it is my turn to try send an response. Would this angle with a for loop not be better than a foreach angle ? ?php $a = array(1,2,3,4,5); $b = array(a,b,c,d,e); $c = array(); $arraysize = sizeof($a); for ($i=0;$i$arraysize;$i++) { $c[$a[$i]] = $b[$i];