[PHP] April fools day - did anyone notice Thies's fangs on rc1???

2002-04-02 Thread Frank Joerdens
Did anyone else notice Thies's fangs on the phpinfo() page of 4.2.0rc1 yesterday? I wonder what they where . . . french fries? Salty sticks (German 'Salzstangen')?? At first I though I was hallucinating, especially when I found that he was gone again today! Try setting your server's system date

[PHP] microtime.c build problem mentioned in FAQ

2002-02-28 Thread Frank Joerdens
I've got the microtimec build problem mentioned in the FAQ with PHP 412 on Redhat 61: [root@superfly /root]# uname -a Linux superfly 2413 #1 SMP Sun Nov 25 18:39:15 CET 2001 i686 unknown [root@superfly /root]# ldd --version ldd (GNU libc) 212 And my symlinks form the kerneldir to /usr/include

Re: [PHP] Re: Where To Find Resources About Programming Style (my bleedin' code is so darn ugly)

2002-02-19 Thread Frank Joerdens
On Sun, Feb 17, 2002 at 08:05:17PM +0100, Christian Blichmann wrote: [ . . . ] P.S.: Your code _always_ works? -Wow... I was trying to say that I usually get things to work at the end of the day, when I have enough time to tweak the code, but that my code at some point tends to become

Re: [PHP] Re: Where To Find Resources About Programming Style (my bleedin' code is so darn ugly)

2002-02-19 Thread Frank Joerdens
On Sun, Feb 17, 2002 at 12:39:49PM -0800, Lars Torben Wilson wrote: [ . . . ] An excellent book on coding practices is 'Code Complete', by Steve C McConnell. http://www.amazon.com/exec/obidos/ASIN/1556154844/qid=1013978113/sr=8-1/ref=sr_8_67_1/102-2030399-6728144 There is also the

[PHP] Where To Find Resources About Programming Style (my bleedin' code is so darn ugly)

2002-02-16 Thread Frank Joerdens
I am looking for a good manual or introduction on how to write readable, extensible code (in any programming language). To give you an example, this bit looks pretty darn horrible and I just don't know how to rephrase it to make it more concise and readable: - snip

[PHP] SAPI (Apache 2) question connection pooling

2002-02-01 Thread Frank Joerdens
Greetings. I am wondering about the status of the multithreaded PHP for the multithreaded Apache. In particular, I'd like to know a) if Apache 2 is a single-process server (as opposed to Apache 1.x which forks a new process for a new request) b) if PHP will work, or does work, with Apache 2 in

Re: [PHP] SAPI (Apache 2) question connection pooling

2002-02-01 Thread Frank Joerdens
On Fri, Feb 01, 2002 at 09:14:24AM -0800, Rasmus Lerdorf wrote: a) if Apache 2 is a single-process server (as opposed to Apache 1.x which forks a new process for a new request) It is a hybrid server which can be anything from one to the other. b) if PHP will work, or does work, with

[PHP] Installing PHP from CVS: `AM_PROG_LIBTOOL' not found in library

2001-05-22 Thread Frank Joerdens
Since I want to use a feature that is only in 4.0.6, I'm trying to install from CVS. This fails with the following error: [root@rakete php4]# ./buildconf buildconf: checking installation... buildconf: autoconf version 2.13 (ok) buildconf: automake version 1.4 (ok) buildconf: libtool version 1.4

Re: [PHP] Re: [PHP-DEV] Fork() in php?

2001-05-20 Thread Frank Joerdens
On Sun, May 20, 2001 at 01:43:36PM -0700, Rasmus Lerdorf wrote: Not really, the parent has to somehow call wait() on the child, otherwise you'd get zombie processes... Generally, implementing that sort of stuff within the Apache framework is a bit of asking for trouble :I Anyway, PHP

Re: [PHP] Re: [PHP-DEV] Fork() in php?

2001-05-20 Thread Frank Joerdens
On Mon, May 21, 2001 at 01:55:10PM +1000, Greg Wright wrote: [ . . . ] IIRC Rasmus was one of the main people involved in bringing PHP to life, it Well, if anyone can be said to have invented it, it's Rasmus. At some point around 96 (?) he was approached by Zeev and some others who suggested to

Re: [PHP] parse error is always on line 1 == error ?

2001-04-27 Thread Frank Joerdens
On Fri, Apr 27, 2001 at 08:49:46AM +0200, Jimmy Lantz wrote: Hi, I have a problem, that when I get a parse error it always says that it's on line 1 in this or that file. Where is the configuration option to set this right? When I had this problem it turned out that the files in question had

[PHP] Flash XMLSocket object and the PHP socket functions

2001-04-09 Thread Frank Joerdens
I am currently thinking about how to implement a realtime chat using the XMLSocket functionality in Macromedia Flash 5 using the PHP socket functions. Here's a quote from the Flash 5 online help: --- begin quote --- Using the XMLSocket object To use the

Re: [PHP] php under Oracle Web server pleaaaaaaaaaase!

2001-03-19 Thread Frank Joerdens
On Mon, Mar 19, 2001 at 10:27:19AM -, kaab kaoutar wrote: Hello Is it possible to work with php under an oracle server ? If yes can u point me to some manuals and articles AFAIK, the Oracle Web server is not Open Source; hence it would be difficult to support it directly. You can always

Re: [PHP] Using PHP as a shell script

2001-03-09 Thread Frank Joerdens
On Fri, Mar 09, 2001 at 03:07:34PM -0300, Alexandre Hautequest wrote: Hi all. Can i use PHP as a shell script, like bash? Or this is inviable, impossible and/or out of question? There's a good tutorial at phpbuilder.com - check the archives there. Regards, Frank -- PHP General Mailing

Re: [PHP] PHP as Scripting Language

2001-02-07 Thread Frank Joerdens
On Wed, Feb 07, 2001 at 12:10:46PM -0500, John Huggins wrote: [ . . . ] host:~/projects/PHPScripts # ./test.php Content-type: text/html Hello World Great. Now how do I get rid of the Content-type line? I have searched the docs with little clues. #!/usr/local/bin/php -q Is what you

[PHP] No input file specified. (using PHP for shell and CGI scripting)

2001-01-30 Thread Frank Joerdens
ith or without -q. I'm stumped. What input is PHP expecting? It behaves like any scripting language on the command line but does weird things when http is involved it seems. Can anyone enlighten me? Cheers Frank -- frank joerdens archi|me|des urbanstr. 116 10967 berlin ger

Re: [PHP] Zend IDE price plans

2001-01-27 Thread Frank Joerdens
On Sat, Jan 27, 2001 at 10:26:35AM -0500, Jim Jagielski wrote: [ . . . ] You mean like the Commercial Subscription ($70/month) ?? The Encoder SE is available with that plan. In fact, that's almost the whole idea behind the Commercial subscription: to allow a very low entry for access to the

Re: [PHP] Persistent connections and transactions

2001-01-26 Thread Frank Joerdens
On Fri, Jan 26, 2001 at 11:01:14AM +, Nuno Silva wrote: [ . . . ] i ran across this transaction problem vs. persistent conn in pgsql some time ago. I found two workaround methods: - don't use persistent conn's :-) or; - start every conn with the usual pg_pconnect and then query a

[PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
On the PostgreSQL lists there has been some discussion recently as to the mechanism behind, benefits and drawbacks, of persistent connections. In particular a scenario similar to the following was brought up: Browser A connects to Apache child N, and calls a web page that calls a script which

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
On Thu, Jan 25, 2001 at 11:18:49AM -0300, Martin A. Marques wrote: [ . . . ] No, and thats why in the postgres list we talked about persistent connections not having much benefits. That is because the connection is persistent to the httpd child that called it and not to all. Well, yes, but

Re: [PHP] Persistent connections and transactions

2001-01-25 Thread Frank Joerdens
On Thu, Jan 25, 2001 at 05:10:54PM -0300, Martin A. Marques wrote: [ . . . ] OK, lets see if we can understand what each other is saying (maybe I'm not getting your point here). Lets say browser A connects to the apache server, to a page using php code. Lets say the code is OK (no bugs).

Re: [PHP] flash and php

2001-01-18 Thread Frank Joerdens
On Thu, Jan 18, 2001 at 04:23:58PM -0600, Jacky@lilst wrote: Hi people, Can PHP3 work with flash movie? I mean, something like using Php3 to run flash content from db? If so, is there anywhere I can find out more information? I use swift-generator from www.swift-tools.com, which integrates