Re: [PHP] import XLS sheet into DB

2008-08-15 Thread Mario Guenterberg
On Fri, Aug 15, 2008 at 10:29:40AM +0200, Alain R. wrote: > Hi, > > I would like to import content of an XLS sheet into a PostgreSQL DB (table). > > How can i do that ? Your question is not php related ;-) Maybe, export the sheet as comma separated csv file and import it to postgresql. Happy cod

Re: [PHP] PHP editor for linux

2008-08-15 Thread Mario Guenterberg
On Thu, Aug 14, 2008 at 07:32:13PM -0400, Eric Butera wrote: > What sort of plugins do you use with vim? For a while I was > interested with it after seeing some presentations on it. I never > could figure out how to get it to do code completion based on methods > of a class, it sort of jumbled a

Re: [PHP] What font/size do you use for programming?

2008-07-09 Thread Mario Guenterberg
On Tue, Jul 08, 2008 at 07:23:49PM -0400, tedd wrote: > Hi gang: > > I'm running a Mac (so I know mine is a bit different size wise) but I'm > currently using Veranda at 14 point for coding. > > Just out of curiosity, what font and size do you ppls use for your > programming? > Monospace 9pt in

Re: [PHP] PHPExcel

2008-07-03 Thread Mario Guenterberg
On Thu, Jul 03, 2008 at 02:36:18PM -0400, Dan Shirah wrote: > UGH! > > I am now constantly getting an error of "PHP Fatal error: Allowed memory > size of 16777216 bytes exhausted (tried to allocate 936 bytes) on line 689" > > Is there a way to continuously write to the file and avoid getting this

Re: [PHP] preg_match_all

2008-05-29 Thread Mario Guenterberg
On Thu, May 29, 2008 at 01:07:11PM -0500, Chris W wrote: > What I want to do is find all links in an html file. I have the pattern > below. It works as long as there is only one link on a line and as long > as the whole link is one line. It seems there should be a way to get > this to work

Re: [PHP] Incorrect version shown in phpinfo() and phpversion() in 5.2.6

2008-05-06 Thread Mario Guenterberg
On Tue, May 06, 2008 at 02:00:33PM -0400, Scott Lerman wrote: > Yup, I restarted Apache several times. The httpd.conf line I have is > LoadModule php5_module "C:/Program > Files/PHP/php-5.2.6-Win32/php5apache2.dll". If nobody else has seen > this problem, I'll just assume it's some oddity on my sys

Re: [PHP] Apache child pid segfault + APD

2008-05-05 Thread Mario Guenterberg
gt; be completely unjustified... > > Would upgrading glibc help? > > On Sat, May 3, 2008 at 12:48 AM, Mario Guenterberg <[EMAIL PROTECTED]> wrote: > > On Fri, May 02, 2008 at 10:24:03PM -0700, Waynn Lue wrote: > > > > > *** glibc detected *** free(): i

Re: [PHP] Apache child pid segfault + APD

2008-05-03 Thread Mario Guenterberg
On Fri, May 02, 2008 at 10:24:03PM -0700, Waynn Lue wrote: > *** glibc detected *** free(): invalid pointer: 0x002a9956d000 *** Hi Waynn, try to use xdebug instead of APD to profile you app. There is a problem with your glibc version and your APD version. In my environment php 5.2.6 with s

Re: [PHP] php-5.2.5 glibc detected *** free()

2008-02-23 Thread Mario Guenterberg
On Sat, Feb 23, 2008 at 12:03:16PM +0100, [EMAIL PROTECTED] wrote: > Hello all > > I got "glibc detected" errors about several php extensions on my debian > box both by executing php-cgi or php-cli. > > Config: > # cat /proc/version > Linux version 2.6.24-rc7-vs2.2.0.5.0.7 ([EMAIL PROTECTED]) (gc

Re: [PHP] PHP To an EXE Executable for Win32 ( Is it possible)

2008-02-21 Thread Mario Guenterberg
On Thu, Feb 21, 2008 at 02:16:55PM -0700, Dan wrote: > I know that there's apparently some way to compile PHP to make it run > faster. But has anyone come up with a system to turn PHP scripts into an > .exe? What I mean is you would run the exe and see exactly the same > thing as if you were

Re: [PHP] PHP ide?

2007-11-11 Thread Mario Guenterberg
On Fri, Nov 09, 2007 at 01:44:19PM +, Lester Caine wrote: > Tiago Silva wrote: >> Lester Caine escreveu: >>> Robert Cummings wrote: Ubuntu = Debian + New Life >>> >>> Mandriva has Eclipse and PHPEclipse 'out of the box' along with Apache >>> and PHP >>> I can build a fully functional deve

Re: [PHP] Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Mario Guenterberg
On Fri, Jul 13, 2007 at 12:44:35PM +0200, David Négrier wrote: > Hi Mario, hi Stuart, > > I fixed the SVN repository. You can try it now, it works better. > Regarding the way Xaja is pronounced well that's a good > question. > Actually, I'm French and my pronunciation is...

Re: [PHP] Announcing Xaja, a PHP Reverse Ajax framework

2007-07-13 Thread Mario Guenterberg
On Fri, Jul 13, 2007 at 10:10:15AM +0200, David Négrier wrote: > > Xaja is still in an early stage of development, but it is time for us to get > some feedback (or some help, since it is released in GPL). You can download > an alpha version of Xaja from http://www.thecodingmachine.com/projects

Re: [PHP] About Eclipse JVM Termination

2007-07-10 Thread Mario Guenterberg
On Tue, Jul 10, 2007 at 02:25:49AM -0700, Kelvin Park wrote: > Do you know the cause of this error? > I'm trying to run it on 64bit Fedora 7. I have AMD64 and JRE 1.6.0_02 64bit > is installed. > Do you know how to fix the following error? if yes how? > > > **

Re: [PHP] Where does PHP look for php.ini??

2007-07-09 Thread Mario Guenterberg
On Mon, Jul 09, 2007 at 10:38:24PM +0200, Tijnema wrote: > On 7/9/07, Mario Guenterberg <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 09, 2007 at 05:16:20PM +0200, Tijnema wrote: > > > I've build my own Linux, so good to know how to change it :) > > > &g

Re: [PHP] Where does PHP look for php.ini??

2007-07-09 Thread Mario Guenterberg
On Mon, Jul 09, 2007 at 05:16:20PM +0200, Tijnema wrote: > I've build my own Linux, so good to know how to change it :) > > Tijnema Ahh, a linux from scratch user, eh? :-) If you need it or want some usefull input, I have very usefull build scripts for apache/php and mysql/postgresql. I use thi

Re: [PHP] Where does PHP look for php.ini??

2007-07-08 Thread Mario Guenterberg
On Sat, Jul 07, 2007 at 02:08:21AM +0200, Tijnema wrote: > Hi, > > I just noted that my php (CLI and Apache2 SAPI) doesn't read my php.ini in > /etc > I have compiled php with --prefix=/usr, and my /usr/etc is symlinked > to /etc, but it doesn't read the php.ini file.. > when I use the CLI

Re: [PHP] Re: php security books

2007-07-04 Thread Mario Guenterberg
On Wed, Jul 04, 2007 at 11:36:06AM -0700, bruce wrote: > andrew... > > are you sure about this... i would have thought that if you have an apache > user 'apache' and allow php to be run as/by 'apache' than this would provide > complete access to anything php needs to do as 'apache'. > > this shou

Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1

2007-04-03 Thread Mario Guenterberg
On Tue, Apr 03, 2007 at 08:56:12PM -0300, Miles Thompson wrote: > Mario, > > Boy it's been a long day - it seems that every item I had in by configure > batch had to be installed; then at the very end of the day it finally got to > the --with-mysql. Had quite a scramble tryingto find the correct d

Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1

2007-04-03 Thread Mario Guenterberg
On Tue, Apr 03, 2007 at 08:50:31AM -0300, Miles Thompson wrote: > Mario, > > That did it - when I tried to reload the phpinof.php script Apache did not > know what to do with the file. > > Now I'll drag the compiler from it's dusty corner and start from scratch. Not the debian/ubuntu way but som

Re: [PHP] Cannot remove PHP Version 5.2.1-0.dotdeb.1

2007-04-02 Thread Mario Guenterberg
On Mon, Apr 02, 2007 at 04:52:02PM -0300, Miles Thompson wrote: > This probably belongs under php-install, but thought I would try here first, > and it comes under the general header of "Be careful what you wish for". > > On a new Ubuntu (Debian) server I installed this version of PHP because I >

Re: [PHP] FastCGI + PHP5

2007-03-31 Thread Mario Guenterberg
On Fri, Mar 30, 2007 at 07:00:07PM -0400, Stevie wrote: or this: http://www.webhostingtalk.com/archive/index.php/t-509127-p-1.html Greetings Mario -- - | havelsoft.com - Ihr Service Partner für Open Source | | Tel: 033876-21 966

Re: [PHP] FastCGI + PHP5

2007-03-31 Thread Mario Guenterberg
On Fri, Mar 30, 2007 at 07:00:07PM -0400, Stevie wrote: > Hi all. > > anyone have any decent docs getting the config working? i guess not many > people using FastCGI w/PHP because it's seems so complicated to setup. > btw i have already installed the fastcgi libs and mod_fastcgi. what > should an

Re: [PHP] Ide help needed

2007-03-30 Thread Mario Guenterberg
On Fri, Mar 30, 2007 at 11:09:02PM +0530, [EMAIL PROTECTED] wrote: > I am a beginer with php and i need to know which IDE is best suited > under windows and linux both > > i have seen dreamweaver working and have heard about GoLive too but don't > know whichone to go for > > can you please help m

Re: [PHP] Re: PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-28 Thread Mario Guenterberg
On Wed, Mar 28, 2007 at 01:50:39PM +0100, Colin Guthrie wrote: > Should get you some output... check the headers, check the content etc. I've checked twice the big apache log files and found some segmentation faults! Mhm, with a vanilla apache 2.2.4 the problem did not emerge. I would change the

Re: [PHP] PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-28 Thread Mario Guenterberg
On Wed, Mar 28, 2007 at 07:20:37AM -0500, Myron Turner wrote: > It's hard to see how this could be a browser issue. Firefox does not > parse the scripts. The scripts are parsed on the server, under Apache. > The server outputs the result of the parsing and the browser displays > the result.

Re: [PHP] PHP 5.2.1: Some scripts are being parsed, but most aren't

2007-03-27 Thread Mario Guenterberg
On Tue, Mar 27, 2007 at 10:22:40PM -0700, Eddie wrote: > Hi all, > > Previously, I had installed Apache 1.3.37 with PHP 5.2.1 as > a static module on Ubuntu 6.06. I am having a problem where, > for some reason, some of my PHP scripts just show source > code, while some are parsed. Hi... I have a

Re: [PHP] Re: Smarty Website down?

2007-03-27 Thread Mario Guenterberg
Notruf: 0173-277 33 60 | | http://www.havelsoft.com | | | | Inhaber: Mario Guenterberg | | Muetzlitzer Strasse 19 | | 14715 Maerkisc

[PHP] Smarty Website down?

2007-03-27 Thread Mario Guenterberg
Hi... I try to connect in the last hours and the results are timeouts. Greetings Mario -- - | havelsoft.com - Ihr Service Partner für Open Source | | Tel: 033876-21 966 | | Notruf: 0173-277 33 60

Re: [PHP] Performance: While or For loop

2007-03-22 Thread Mario Guenterberg
On Fri, Mar 23, 2007 at 12:24:45AM -0500, Travis Doherty wrote: > After multiple runs I see that the for pre-increment loop is fastest. > Note that the while loop with a post-increment runs once more than with > a pre-increment. > > Everytime I run, the results are *very* different, though still