Re: [PHP] Alternative to FCKeditor

2006-09-24 Thread Lester Caine
Jon Anderson wrote: 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

[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() + fop

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 finish

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

[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] 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 > > sub

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 you

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' mo

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 subm

[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 Mai

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

[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: http://www.php.

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 = array(10,20,10,10,30,50,33,110,381,338,20,

[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 t

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. B = $a; var_dump(object2array($b)); ?> array(3) { ["A"]=> NULL ["B"]=> object(B)#1 (4) { ["A:private"]=> NULL ["B"]=> NULL ["c:protected"]=> NULL ["A:private"]=>

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