php-general Digest 24 Sep 2006 16:06:16 -0000 Issue 4365

2006-09-24 Thread php-general-digest-help
php-general Digest 24 Sep 2006 16:06:16 - Issue 4365 Topics (messages 242163 through 242168): Re: Object to array conversion oddity 242163 by: Robert Cummings 242166 by: Marcus Bointon 242167 by: Marcus Bointon Re: php/css and .htaccess [SOLVED] 242164 by:

php-general Digest 25 Sep 2006 05:00:41 -0000 Issue 4366

2006-09-24 Thread php-general-digest-help
php-general Digest 25 Sep 2006 05:00:41 - Issue 4366 Topics (messages 242169 through 242180): Re: array_sum($result)=100 242169 by: Penthexquadium 242178 by: Google Kreme Alternative to FCKeditor 242170 by: John Taylor-Johnston 242172 by: Al 242175

Re: [PHP] Object to array conversion oddity

2006-09-24 Thread Marcus Bointon
On 24 Sep 2006, at 01:05, Robert Cummings wrote: Blah, blah, blah. The documentation is probably out of date and applied to PHP4. Feel free to get off your arse and volunteer if you don't like it :) You don't get have your cake and eat it *PTHTHTHTHTTHTHTH* How exactly am I not helping by

Re: [PHP] Object to array conversion oddity

2006-09-24 Thread Marcus Bointon
On 24 Sep 2006, at 01:09, Robert Cummings wrote: It's broken, it doesn't preserve references. ?php class A { private $A; } class B extends A { private $A; public $B; protected $c;} $a = new B; $b = new B; $b-B = $a; var_dump(object2array($b)); ? array(3) { [A]= NULL [B]= object(B)#1

[PHP] array_sum($result)=100

2006-09-24 Thread Ahmad Al-Twaijiry
Hi everyone I have array of numbers and I want to get out of it a list of numbers that if I sum them it will be 100, here is my list (for example ) : $list = array(10,20,10,10,30,50,33,110,381,338,20,11,200,100); I want the result to be : $result = array( 10,20,10,10,50); as you can see in

Re: [PHP] array_sum($result)=100

2006-09-24 Thread Penthexquadium
On Sun, 24 Sep 2006 19:06:11 +0300, Ahmad Al-Twaijiry [EMAIL PROTECTED] wrote: Hi everyone I have array of numbers and I want to get out of it a list of numbers that if I sum them it will be 100, here is my list (for example ) : $list =

[PHP] Alternative to FCKeditor

2006-09-24 Thread John Taylor-Johnston
Anyone know of a good alternative to FCKeditor? Or a decent file uploader? Even after paying for a little help, I get zip for FCK. I need another solution, another editor with an active forum or support, John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Object to array conversion oddity

2006-09-24 Thread Robert Cummings
On Sun, 2006-09-24 at 10:53 +0100, Marcus Bointon wrote: On 24 Sep 2006, at 01:05, Robert Cummings wrote: Blah, blah, blah. The documentation is probably out of date and applied to PHP4. Feel free to get off your arse and volunteer if you don't like it :) You don't get have your

[PHP] Re: Alternative to FCKeditor

2006-09-24 Thread Al
John Taylor-Johnston wrote: Anyone know of a good alternative to FCKeditor? Or a decent file uploader? Even after paying for a little help, I get zip for FCK. I need another solution, another editor with an active forum or support, John Tell folks what to want to accomplish. -- PHP General

Re: [PHP] Object to array conversion oddity

2006-09-24 Thread Ray Hauge
On Sunday 24 September 2006 15:00, Robert Cummings wrote: Because you're pointing it out to the wrong people. See bugs.php.net. Maybe you missed it, but he did submit a bug report: http://bugs.php.net/?id=38935 He just wanted to see if other people had run into a similar situation before

Re: [PHP] Object to array conversion oddity

2006-09-24 Thread Marcus Bointon
On 24 Sep 2006, at 22:07, Ray Hauge wrote: Maybe you missed it, but he did submit a bug report: http://bugs.php.net/?id=38935 He just wanted to see if other people had run into a similar situation before submitting the bug... from my understanding. I don't want to put words in Marcus'

Re: [PHP] Alternative to FCKeditor

2006-09-24 Thread Jon Anderson
John Taylor-Johnston wrote: Anyone know of a good alternative to FCKeditor? Or a decent file uploader? Even after paying for a little help, I get zip for FCK. I need another solution, another editor with an active forum or support, John TinyMCE...I don't know how good/bad TinyMCE is, but if

Re: [PHP] Object to array conversion oddity

2006-09-24 Thread Robert Cummings
On Sun, 2006-09-24 at 22:26 +0100, Marcus Bointon wrote: On 24 Sep 2006, at 22:07, Ray Hauge wrote: Maybe you missed it, but he did submit a bug report: http://bugs.php.net/?id=38935 He just wanted to see if other people had run into a similar situation before submitting the

[PHP] Apache - page fault in php5ss.dll in phpmyadmin?

2006-09-24 Thread Ralph Frost
I have been running Apache 1.3.19, php511 with mySQL 4.1.5 server on win98 and using phpmyadmin264. A few weeks ago everything was working. Recently, when I press the BROWSE button in phpmyadmin version 2.64 I get an Apache error Program has performed an illegal operation and will now be

Re: [PHP] array_sum($result)=100

2006-09-24 Thread Google Kreme
On 24 Sep 2006, at 10:41 , Penthexquadium wrote: On Sun, 24 Sep 2006 19:06:11 +0300, Ahmad Al-Twaijiry [EMAIL PROTECTED] wrote: I have array of numbers and I want to get out of it a list of numbers that if I sum them it will be 100, here is my list (for example ) : I think you can try to

Re: [PHP] File Upload Security and chmod

2006-09-24 Thread Andy Hultgren
Hi Tedd, Yes, when I browse to www.myDomain.com I get the index.html file, and so I have been leaving the .public_html/ directory alone since it is not my root. I'm curious, what you described is exactly what I'm trying to do - what permissions do you set the parent folder at when you are

[PHP] Download files outside DocumentRoot Dir

2006-09-24 Thread Ramiro
Hi, i'm trying to find a good solution to this problem. I want download files from a directory outside DocumentRoot. This files cannot be downloaded through direct url like http://site/test.zip. It must be downloaded after user login. I know i can do that using some functions like fread() +