php-general Digest 8 Dec 2006 01:22:33 -0000 Issue 4502
Topics (messages 245608 through 245628):
Re: recursive function problem
245608 by: T.Lensselink
245609 by: Jochem Maas
245610 by: Sjef
245611 by: Sjef
245612 by: Paul Scott
245613 by: Sjef
245615 by: Roman Neuhauser
245626 by: Chris
Re: Ensuring that variable contains a number
245614 by: Roman Neuhauser
245616 by: Dave Goodchild
Active Directory password change utility in PHP
245617 by: Saqib Ali
Re: taking a one off payment
245618 by: Jonesy
245619 by: Mark R. Cervarich
245623 by: Lester Caine
LAMP appliance for non-profit use
245620 by: Saqib Ali
245624 by: Johannes Lindenbaum
245625 by: Johannes Lindenbaum
news.php.net times out - unreachable for days
245621 by: Chuck Anderson
245622 by: Chuck Anderson
Re: PHP Installation question
245627 by: Beauford
245628 by: Chris
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
If you show some code maybe somebody on the list can help you.
On Thu, 7 Dec 2006 13:41:00 +0100, "Sjef" <[EMAIL PROTECTED]> wrote:
> Hello!
> I wrote a recursive function, but when running the function appache
> stalls,
> the error log says:
>
> module mod_php4.c is already running, skipping
>
> Is this a bug, or am I doing something wrong?
>
> Thanxs, Sjef
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Sjef wrote:
> Hello!
> I wrote a recursive function, but when running the function appache stalls,
> the error log says:
>
> module mod_php4.c is already running, skipping
this error message is from the apache start up routine - you seem to
loading the php4 apache module twice. fix you apache config file.
>
> Is this a bug, or am I doing something wrong?
you are doing something wrong - but it is nothing to do with your
recursive function (at least from what you write I fairly certain that
you can rule it out)
>
> Thanxs, Sjef
>
--- End Message ---
--- Begin Message ---
Hello!
I wrote a recursive function, but when running the function appache stalls,
the error log says:
module mod_php4.c is already running, skipping
Is this a bug, or am I doing something wrong?
Thanxs, Sjef
--- End Message ---
--- Begin Message ---
Hello!
I wrote a recursive function, but when running the function appache stalls,
the error log says:
module mod_php4.c is already running, skipping
Is this a bug, or am I doing something wrong?
Thanxs, Sjef
--- End Message ---
--- Begin Message ---
On Thu, 2006-12-07 at 13:41 +0100, Sjef wrote:
> Hello!
> I wrote a recursive function, but when running the function appache stalls,
> the error log says:
Did you write a recursive function to send this mail to this list
perhaps?
--Paul
All Email originating from UWC is covered by disclaimer
http://www.uwc.ac.za/portal/uwc2006/content/mail_disclaimer/index.htm
--- End Message ---
--- Begin Message ---
No, I'm sure I didn't. My news server is incredibly slow, and I am
(incredibly?) impatient, so I pushed the send button more than once ...
Sorry about that!
Sjef
-----Oorspronkelijk bericht-----
Van: Paul Scott [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 7 december 2006 14:50
Aan: Sjef
CC: [email protected]
Onderwerp: Re: [PHP] recursive function problem
On Thu, 2006-12-07 at 13:41 +0100, Sjef wrote:
> Hello!
> I wrote a recursive function, but when running the function appache
stalls,
> the error log says:
Did you write a recursive function to send this mail to this list
perhaps?
--Paul
--- End Message ---
--- Begin Message ---
# [EMAIL PROTECTED] / 2006-12-07 13:41:00 +0100:
> I wrote a recursive function, but when running the function appache stalls,
> the error log says:
>
> module mod_php4.c is already running, skipping
That has nothing to do with the function call.
> Is this a bug, or am I doing something wrong?
The bug is in your code.
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
--- End Message ---
--- Begin Message ---
Roman Neuhauser wrote:
# [EMAIL PROTECTED] / 2006-12-07 13:41:00 +0100:
I wrote a recursive function, but when running the function appache stalls,
the error log says:
module mod_php4.c is already running, skipping
That has nothing to do with the function call.
Is this a bug, or am I doing something wrong?
The bug is in your code.
Not a bug in the code.
You have two calls to mod_php4.c in your apache config file(s).
--
Postgresql & php tutorials
http://www.designmagick.com/
--- End Message ---
--- Begin Message ---
# [EMAIL PROTECTED] / 2006-12-06 23:51:45 +0200:
> >> How can I ensure that a variable contains a postive integer number?
> >> I'm currently using this code:
> >>
> >> $number=(10000-$number);
> >> $number=(10000-$number);
> >> if ( $number<1 ) { $number=1; }
> >>
> >> But I'm sure that there is a better way. What would that be?
> Thanks. As the 'number' is used in a for loop, it actually is alright
> if it is a float. I just added a check that the number is indeed >=1,
> otherwise I set it to 1. Good enough for this project, anyway... :)
$number = max(intval($number), 1);
--
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man. You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991
--- End Message ---
--- Begin Message ---
is_numeric will return true for a positive or negative number.
--- End Message ---
--- Begin Message ---
Hello All,
Last year I wrote a small ASP utility which allowed domain users to
change their Active Directory password using a web site. The utility
used ADSI (Active Directory Service Interfaces) so it was quite easy
to implement.
However now we would like to integrated this into our LAMP based
stack, so I am planning to re-write the application in PHP.
Would it be possible to write such a application in PHP? If so, can
you please give me some pointers. My other PHP apps talk to AD using
LDAP libraries, but I haven't tried password change for a directory
that spans multiple domains.
Any suggestions would be greatly appreciate.
saqib
http://www.full-disk-encryption.net
--- End Message ---
--- Begin Message ---
On Thu, 07 Dec 2006 07:14:12 +0000, Lester Caine wrote:
> Mark R. Cervarich wrote:
>> http://checkout.google.com -- Google's answer to PayPal.
>> Best part is, they are taking NO FEES from now through 12/31/2007.
>> So you can use them to receive credit card payments for just over a year
>> for FREE.
>
> At 2% + $20 per transaction they needed to do something to get take-up
>
>> I've used it, and once account was setup, I was paid within 2-3 days.
>>
>> Best part is, you can, from inside the webpage, click "Send Invoice" and
>> it will ask you for an email addy, and a description of what you are
>> billing 'em for. You don't have to create a full shopping cart system!!!
>
> I'm assuming that this is US only?
> An international alternative to Paypal would be nice if only to ensure
> that rates are kept competitive.
Look at Click&Buy (aka, or formerly ka: FirstGate):
http://clickandbuy.com/
I use them from here in the North American Colonies to pay my
subscription to individual.de -- my usenet server. WFM.
Jonesy
--
Marvin L Jones | jonz | W3DHJ | linux
38.24N 104.55W | @ config.com | Jonesy | OS/2
*** Killfiling google posts: <http//jonz.net/ng.htm>
--- End Message ---
--- Begin Message ---
On Thu, 7 Dec 2006, Lester Caine wrote:
Mark R. Cervarich wrote:
http://checkout.google.com -- Google's answer to PayPal.
Best part is, they are taking NO FEES from now through 12/31/2007.
So you can use them to receive credit card payments for just over a year
for FREE.
At 2% + $20 per transaction they needed to do something to get take-up
Hmmm, your decimal is in the wrong place:
https://checkout.google.com/support/sell/bin/answer.py?answer=30724&ctx=sibling
"If you're not an AdWords advertiser, or if you've exceeded your free
transaction processing amount for the month, you'll only be charged
2.0% plus $0.20 per transaction."
Compare that to PayPal's Standard Rate of (2.9% + $0.30).
Either free, or at (2% + $0.20), google checkout would appear to be
cheaper than paypal.
mark
(just a happy checkout customer)
--- End Message ---
--- Begin Message ---
Mark R. Cervarich wrote:
On Thu, 7 Dec 2006, Lester Caine wrote:
Mark R. Cervarich wrote:
http://checkout.google.com -- Google's answer to PayPal.
Best part is, they are taking NO FEES from now through 12/31/2007.
So you can use them to receive credit card payments for just over a
year for FREE.
At 2% + $20 per transaction they needed to do something to get take-up
Hmmm, your decimal is in the wrong place:
https://checkout.google.com/support/sell/bin/answer.py?answer=30724&ctx=sibling
"If you're not an AdWords advertiser, or if you've exceeded your free
transaction processing amount for the month, you'll only be charged 2.0%
plus $0.20 per transaction."
Mush easier to read WITH the leading zero - At 1280x1024 I can't
ACTUALLY see the decimal point!
But it is only available in the US so does not help me :(
--
Lester Caine - G8HFL
-----------------------------
L.S.Caine Electronic Services - http://home.lsces.co.uk
Model Engineers Digital Workshop -
http://home.lsces.co.uk/ModelEngineersDigitalWorkshop/
Treasurer - Firebird Foundation Inc. - http://www.firebirdsql.org/index.php
--- End Message ---
--- Begin Message ---
Hello All,
I know this is little bit off-topic but I think users of this group
can give good advice on this topic.
We have a in-house built application using MySQL + PHP + Apache. It is
essentially a elaborate collection of online forms that will be used
for managing school scholarship in the 3rd world countries. The
student/teachers will either come to the office or fill out the forms
online.
We have identified few pilot location and would like to deploy this
application. However due to lack of IT support at the location we have
decided to use a pre-configured appliance which support the LAMP
stack. All we want to do is directly ship the appliance to the
location, and remotely install our app.
We want the appliance to require minimal maintenance and
administration, and have a auto-update feature to get security patches
etc.
I had previously worked on a similar project and used Sun Cobalt 550
servers. But now I think Sun has stopped making them and you can only
buy them refurbished and the auto-update features are severely
limited.
Any other suggestion??? We want the appliance to cost us $1,000 / unit.
Thanks
saqib
http://www.full-disk-encryption.net
--- End Message ---
--- Begin Message ---
Hello,
in my eyes, if you want easy and secure and easily customisable use
Apachefriends' XAMPP.
It's released for Mac, Linux (various flavours, or as source) and Win32
environments.
http://www.apachefriends.org
Hope this helps,
Regards,
Johannes
--- End Message ---
--- Begin Message ---
Sorry, my bad - totally ignore that email.
Thought you were looking for a new LAMPP solution.
--- End Message ---
--- Begin Message ---
It's probably been well over a week or even two. I can no longer
connect to php.net through Thunderbird (as I have been doing daily for
many months). It always times out. I'll be lucky if this post even
makes it. I saw some other posts indicating that I am not alone.
Something NEEDS to be fixed.
I'll just have to keep trying to connect every day and hope something
changes. As of now, das ist kaput!
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************
--- End Message ---
--- Begin Message ---
It's actually been well over a week or even two. I can no longer
connect to php.net with Thunderbird (as I have been doing daily for many
months - news.php.net - port 119). It always times out. I'll be lucky
if this post even makes it. I got connected briefly yesterday and saw
some other posts indicating that I am not alone.
Something NEEDS to be fixed.
I'll just have to keep trying to connect every day and hope something
changes.
As of now, das ist kaput!
--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************
--- End Message ---
--- Begin Message ---
I'm thinking though that this isn't really the problem. When I install
Slackware, I install everything (except for games). On my older PC I
installed version 8.1 and had no problems, but now with version 10 I have
problems. I'm pretty sure that zlib-dev or zlib-devel has never been
included in either version of Slack. So I think I'm just going around in
circles with this.
Thoughts......
B
-----Original Message-----
From: Chris [mailto:[EMAIL PROTECTED]
Sent: December 7, 2006 12:15 AM
To: Beauford
Cc: [email protected]
Subject: Re: [PHP] PHP Installation question
Beauford wrote:
> I have zlib-1.2.1.1-i486-1. Whether that is zlib-devel or zlib-dev I
> have no idea, and not sure how to find out.
Zlib is different to zlib-dev/zlib-devel.
The zlib package only contains the binaries and man pages.
The zlib-devel package contains the header files (zlib.h for example) you
need for compiling against it.
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Beauford wrote:
I'm thinking though that this isn't really the problem. When I install
Slackware, I install everything (except for games). On my older PC I
installed version 8.1 and had no problems, but now with version 10 I have
problems. I'm pretty sure that zlib-dev or zlib-devel has never been
included in either version of Slack. So I think I'm just going around in
circles with this.
locate zlib.h
if that returns nothing, then the problem is still that you need the
zlib-dev package installed.
If it does return something then what does it return ? Maybe you need to
specify the path to zlib in the php configure line.
--
Postgresql & php tutorials
http://www.designmagick.com/
--- End Message ---