php-general Digest 7 Dec 2006 12:42:34 -0000 Issue 4501

2006-12-07 Thread php-general-digest-help
php-general Digest 7 Dec 2006 12:42:34 - Issue 4501 Topics (messages 245590 through 245607): PHP Installation question 245590 by: Beauford 245593 by: Chris 245601 by: Beauford 245602 by: Chris Re: How to not be abused by mail form injectors? 245591

php-general Digest 8 Dec 2006 01:22:33 -0000 Issue 4502

2006-12-07 Thread php-general-digest-help
php-general Digest 8 Dec 2006 01:22:33 - 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

Re: [PHP] Fatal error: Call to a member function on a non-object

2006-12-07 Thread T . Lensselink
Not only that. think you are also passing the wrong parameters to the constructor. On Thu, 07 Dec 2006 15:48:10 +1030, Ryan Creaser [EMAIL PROTECTED] wrote: XeRnOuS ThE wrote: First, if a fatal error is occurring on line 24, why is it executing line 24 successfully and returning data?

[PHP] recursive function problem

2006-12-07 Thread Sjef
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:

Re: [PHP] recursive function problem

2006-12-07 Thread T . Lensselink
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

Re: [PHP] recursive function problem

2006-12-07 Thread Jochem Maas
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

[PHP] recursive function problem

2006-12-07 Thread Sjef
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:

[PHP] recursive function problem

2006-12-07 Thread Sjef
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:

Re: [PHP] recursive function problem

2006-12-07 Thread Paul Scott
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

RE: [PHP] recursive function problem

2006-12-07 Thread sjef janssen
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:

Re: [PHP] Ensuring that variable contains a number

2006-12-07 Thread Roman Neuhauser
# [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=(1-$number); $number=(1-$number); if ( $number1 ) { $number=1; } But I'm sure that there is a better way. What would

Re: [PHP] recursive function problem

2006-12-07 Thread Roman Neuhauser
# [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?

Re: [PHP] Ensuring that variable contains a number

2006-12-07 Thread Dave Goodchild
is_numeric will return true for a positive or negative number.

[PHP] Active Directory password change utility in PHP

2006-12-07 Thread Saqib Ali
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

[PHP] Re: taking a one off payment

2006-12-07 Thread Jonesy
On Thu, 07 Dec 2006 07:14:12 +, 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

[PHP] Re: Re: taking a one off payment

2006-12-07 Thread Mark R. Cervarich
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

[PHP] LAMP appliance for non-profit use

2006-12-07 Thread Saqib Ali
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

[PHP] news.php.net times out - unreachable for days

2006-12-07 Thread Chuck Anderson
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

[PHP] news.php.net times out - unreachable for days

2006-12-07 Thread Chuck Anderson
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

[PHP] Re: taking a one off payment

2006-12-07 Thread Lester Caine
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

[PHP] Re: LAMP appliance for non-profit use

2006-12-07 Thread Johannes Lindenbaum
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 -- PHP General Mailing List

[PHP] Re: LAMP appliance for non-profit use

2006-12-07 Thread Johannes Lindenbaum
Sorry, my bad - totally ignore that email. Thought you were looking for a new LAMPP solution. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] recursive function problem

2006-12-07 Thread Chris
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

RE: [PHP] PHP Installation question

2006-12-07 Thread Beauford
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

Re: [PHP] PHP Installation question

2006-12-07 Thread Chris
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

[PHP] weird timestamp problem

2006-12-07 Thread Amanda Emily
I am working on an app that has 15 minute blocks of time to schedule meeting room reservations and have ran into an rather odd problem. Any ideas as to what could be causing this I am expecting the block of code output this: 7:00PM 7:15PM 7:15PM 7:30PM 7:30PM 7:45PM etc from 5:00

RE: [PHP] PHP Installation question

2006-12-07 Thread Beauford
On the old PC zlib.h is in /usr/local/inlude. On the new PC it's in /usr/include and /usr/include/linux. I'm in the process of reinstalling PHP, but I have my doubts. Thanks -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: December 7, 2006 8:21 PM To: Beauford Cc:

[PHP] fopen failed to open pipe file in Linux+Apache environment

2006-12-07 Thread mike xu
Hi, I have problem of open named pipe file in linux. Here is my sample code: $fifo_file = /dev/pmsg; @ $fp = fopen($fifo_file, 'w+b'); if(!$fp) { echo open .$fifo_file. failed; } else { $msg_cmd = ttt; fwrite($fp, $msg_cmd, strlen($msg_cmd)); fclose($fp); } There is an

Re: [PHP] PHP Installation question

2006-12-07 Thread Ryan Creaser
Beauford wrote: Hi, I am trying to install vBulletin and keep getting this error: Fatal error: Call to undefined function: gzinflate(). The only thing I can find on this is that zlib needs to be configured with PHP at compile time. So I reinstalled PHP using the following: ./configure

Re: [PHP] fopen failed to open pipe file in Linux+Apache environment

2006-12-07 Thread Chris
mike xu wrote: Hi, I have problem of open named pipe file in linux. Here is my sample code: $fifo_file = /dev/pmsg; @ $fp = fopen($fifo_file, 'w+b'); It's wb+ not w+b -- Postgresql php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] fopen failed to open pipe file in Linux+Apache environment

2006-12-07 Thread Ryan Creaser
mike xu wrote: Hi, I have problem of open named pipe file in linux. Here is my sample code: $fifo_file = /dev/pmsg; @ $fp = fopen($fifo_file, 'w+b'); if(!$fp) { echo open .$fifo_file. failed; } else { $msg_cmd = ttt; fwrite($fp, $msg_cmd, strlen($msg_cmd)); fclose($fp);

Re: [PHP] weird timestamp problem

2006-12-07 Thread Larry Garfield
I'm not sure why you'd have that problem, but I definitely think you're over-engineering the code. That could well be why you're having a problem. You can greatly simplify it like so: $start_c = mktime(5, 0, 0, $month_t, $day_t, $year_t); $end_c = mktime(21, 30, 0, $month_t, $day_t, $year_t);

[PHP] Going crazy over mod_deflate

2006-12-07 Thread Cabbar Duzayak
Before I start, I am using apache 2.0.52 with PHP 4.3.9. In my .htaccess, I have a rewrite rule that rewrites /bb.flv as /bb.php, and this bb.php file reads a flv file and outputs it. In the PHP file, I am specifying content-type as video/x-flv and content-length, however mod_deflate still

RE: [PHP] Active Directory password change utility in PHP

2006-12-07 Thread Vincent DUPONT
Hello I use php_ldap (see the php.net/ldap) to authenticate users against a AD server. However, this is the LDAP interface and I don't know if poeple will be allowed to change their password that way... vincent -Original Message- From: Saqib Ali [mailto:[EMAIL PROTECTED] Sent: Thu

[PHP] PHP / MVC layout question

2006-12-07 Thread Vincent DUPONT
Hello, the Zend Framework, as others, offers a MVC implementation for PHP. I guess my understanding of this is right, but I still have a question. Maybe you can help. Depending on the request, a controller is called. This can do various stuff w/o model(s), and then a view is displayed.

Re: [PHP] recursive function problem

2006-12-07 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-08 10:59:51 +1100: 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

Re: [PHP] PHP Installation question

2006-12-07 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-12-08 12:21:16 +1100: 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

Re: [PHP] fopen failed to open pipe file in Linux+Apache environment

2006-12-07 Thread mike xu
Thanks a lot forr your reply. Here is the error msg: *Warning*: fopen(/dev/pmsg) [function.fopenhttp://localhost/Source/test/function.fopen]: failed to open stream: Permission denied in * /var/www/html/Source/test/register_user.php* on line *31 It still doesn't work even if I move pmsg to /tmp/