Re: [PHP] How would you do this ?

2006-09-25 Thread Chris
Jad madi wrote: I'm building an RSS aggregator so I'm trying to find out the best way to parse users account feeds equally so Lets say we have 20.000 user with average of 10 feeds in account so we have about 200.000 feed How would you schedule the parsing process to keep all accounts always upda

[PHP] web app to manage svnserve.conf file

2006-09-25 Thread bruce
hi... does anybody know of an app/client or webbased app that is used to modify the svn svnserve.conf file. (i'm not referring to an editor...!!) i'm trying to find an app, that would allow me to create a dir/folder in a repository, and would allow me to create the groups/users for the given dir/

Re: [PHP] Print or Echo takes lots of time

2006-09-25 Thread Robert Cummings
On Mon, 2006-09-25 at 17:39 -0600, Google Kreme wrote: > I'm sitting here with 4 Gigs of RAM trying to figure out how to use > it all... :-) (Me, in 2005) Not really related to the post... but I find a good way to eat up 4 gigs of RAM is to run several VMWare nodes :) Depending on what these n

Re: [PHP] Print or Echo takes lots of time

2006-09-25 Thread Google Kreme
On 25 Sep 2006, at 06:11 , Sancar Saran wrote: $strPage = " yada dayda"; ... $strPage.= " another html tags"; ... $strPage.= getSqlDataAndCreateSomeHtmlCOde(); If this is generating hundred of K of HTML, use ' instead of " (yes, it's faster). -- I'm sitting here with 4 Megs of RAM trying to

Re: [PHP] Download files outside DocumentRoot Dir

2006-09-25 Thread Christopher Weldon
On 2:36 pm 09/25/06 "Ramiro Cavalcanti" <[EMAIL PROTECTED]> wrote: > Hi Christopher, > at first, thank you for your answer. > > I'd like to know if it's possible use this when php is running like > cgi (php-suexec). I've put this code at httpd.conf at , > then tryed to use it at .htaccess, but with

Re: [PHP] File Upload Security and chmod

2006-09-25 Thread Andy Hultgren
Hey Tedd and Eric, Between the two of you and Richard Lynch's last post, I understand why I can use chmod() and mkdir() within php without having to use the ftp commands: I run on a server that is configured to run my php scripts as "username" (ie. me!) instead of as "nobody" (which is much more

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

2006-09-25 Thread tedd
At 1:50 PM -0300 9/25/06, Martin Alterisio wrote: 2006/9/25, Robin Vickery <[EMAIL PROTECTED]>: On 24/09/06, 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 (fo

RE: [PHP] manage/modify linux file/folder structure...

2006-09-25 Thread bruce
i should state... while i've seen different apps... i'm more interested in any that have actually been used by you, or someone you know!! an app that comes with references! -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Monday, September 25, 2006 1:59 PM To: [EMAIL PROTECT

Re: [PHP] manage/modify linux file/folder structure...

2006-09-25 Thread Stut
bruce wrote: i'm trying to find out if there's a php webapp that allows a user to modify the underlying file structure (files/folders) for a linux system i'd like to be able to: -view file/folder/dir structure -list the dir structure -add/create/delete/copy/move files -add/create/delete/copy

Re: [PHP] File Upload Security and chmod

2006-09-25 Thread Andy Hultgren
Well, that didn't sound too good... So I tried to implement the example code given in the php tmpfile() documentation and it wouldn't do anything, which suggests that I don't have access to the /tmp directory. Also, the FAQ's section on my server's website say that /tmp is not shared between the

[PHP] manage/modify linux file/folder structure...

2006-09-25 Thread bruce
hi... i'm trying to find out if there's a php webapp that allows a user to modify the underlying file structure (files/folders) for a linux system i'd like to be able to: -view file/folder/dir structure -list the dir structure -add/create/delete/copy/move files -add/create/delete/copy/move fo

Re: [PHP] File Upload Security and chmod

2006-09-25 Thread tedd
Andy: It was never a question of speed for me -- it was a question of being able to change file permissions from within a php script so that I could create and write files safely. You see, I am *not* able to use chmod() within a php script at all regardless of what permissions the file and p

Re: [PHP] File Upload Security and chmod

2006-09-25 Thread Eric Butera
On 9/25/06, Andy Hultgren <[EMAIL PROTECTED]> wrote: Tedd, Thanks so much your thorough response - it's good to know that I'm not the only one trying to figure this out! I'm curious, in your code you use the PHP ftp functions, but I have used the PHP functions chmod() and mkdir() without estab

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

2006-09-25 Thread Ahmad Al-Twaijiry
Finally I found a solution :) Thanks to Mr. Phil Rogaway I found a very small C++ code from Mr. Phil Rogaway in http://www.cs.ucdavis.edu/~rogaway/classes/122A/spring00/prog1.C I convert it to php and here is the result (I already test it, try it and let me know if you find any bug): //code #

Re: [PHP] File Upload Security and chmod

2006-09-25 Thread Andy Hultgren
Tedd, Thanks so much your thorough response - it's good to know that I'm not the only one trying to figure this out! I'm curious, in your code you use the PHP ftp functions, but I have used the PHP functions chmod() and mkdir() without establishing an ftp connection. Is it faster to establish a

[PHP] Re: reading urlencoded data from POST

2006-09-25 Thread Marek 'MMx' Ludha
If anyone else have the same problem, it is enough to turn off the magic quotes. -- Marek 'MMx' Ludha On 9/22/06, Marek 'MMx' Ludha <[EMAIL PROTECTED]> wrote: Hi. I need to read urlencoded data from POST request. So far I have tried $_POST['name'], but this converts each input %5C to two backs

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

2006-09-25 Thread Ahmad Al-Twaijiry
Robin, you made it harder for me specially with wikipedia artical :) (I told you I'm bad with writing code from English paragraph) and no it's not a homework (btw: do they allow php in school ?, I remember we use basic :) ) anyway I will try to write the code and I will let you guys know (in the

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

2006-09-25 Thread Robert Cummings
On Mon, 2006-09-25 at 16:42 +0100, Robin Vickery wrote: > On 24/09/06, 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 = a

Re: [PHP] RE: Error Reporting for file commands

2006-09-25 Thread Robert Cummings
On Mon, 2006-09-25 at 11:53 +0100, James Nunnerley wrote: > Sometime ago, I posted the email below, regarding some problems with a file > manager we have developed for our users. > > The problem still exists, and is now starting to cause "complaints". Mainly > from my manager, who's fed-up with r

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

2006-09-25 Thread Martin Alterisio
2006/9/25, Robin Vickery <[EMAIL PROTECTED]>: On 24/09/06, 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,5

Re: [PHP] Download files outside DocumentRoot Dir

2006-09-25 Thread Christopher Weldon
Ramiro wrote: 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

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

2006-09-25 Thread Robin Vickery
On 24/09/06, 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,11,200,100); I want the result to b

Re: [PHP] File Upload Security and chmod

2006-09-25 Thread tedd
At 9:32 PM -0600 9/24/06, Andy Hultgren wrote: 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

[PHP] Re: Re: Frustrated trying to get help from your site

2006-09-25 Thread David Robley
Michelle Konzack wrote: > Am 2006-09-22 13:36:40, schrieb Arno Kuhl: > >> I'm not sure which examples you're referring to but if you mean the user >> contributed notes then the download documentation does include this - at > > Yes > >> least one of the .chm versions does. It's great, but you ne

Re: [PHP] Re: Re: Frustrated trying to get help from your site

2006-09-25 Thread Ray Hauge
On Friday 22 September 2006 16:48, Michelle Konzack wrote: > Am 2006-09-22 13:36:40, schrieb Arno Kuhl: > > I'm not sure which examples you're referring to but if you mean the user > > contributed notes then the download documentation does include this - at > > Yes > > > least one of the .chm versi

[PHP] How would you do this ?

2006-09-25 Thread Jad madi
I'm building an RSS aggregator so I'm trying to find out the best way to parse users account feeds equally so Lets say we have 20.000 user with average of 10 feeds in account so we have about 200.000 feed How would you schedule the parsing process to keep all accounts always updated without killi

[PHP] Re: Re: Frustrated trying to get help from your site

2006-09-25 Thread Michelle Konzack
Am 2006-09-22 13:36:40, schrieb Arno Kuhl: > I'm not sure which examples you're referring to but if you mean the user > contributed notes then the download documentation does include this - at Yes > least one of the .chm versions does. It's great, but you need to download it .chm ? - Windows

Re: [PHP] Download files outside DocumentRoot Dir

2006-09-25 Thread Miles Thompson
At 01:44 AM 9/25/2006, Ramiro wrote: 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 u

[PHP] Re: Print or Echo takes lots of time

2006-09-25 Thread Colin Guthrie
Sancar Saran wrote: > Hi, > > When I was check the performance of my system I found interesting resuts. > > My code stores html output into a variable. When page creation complete I > printed out the variable. > > Problem was generation html code takes 0.5 second and just > echo $strPage takes

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

2006-09-25 Thread Ahmad Al-Twaijiry
Hi, This seems to be nice method, I tried to do translate it to PHP put since I'm bad in English I couldn't :) could you give me some prototype for the method. On 9/25/06, Google Kreme <[EMAIL PROTECTED]> wrote: On 24 Sep 2006, at 10:41 , Penthexquadium wrote: > On Sun, 24 Sep 2006 19:06:11

[PHP] Print or Echo takes lots of time

2006-09-25 Thread Sancar Saran
Hi, When I was check the performance of my system I found interesting resuts. My code stores html output into a variable. When page creation complete I printed out the variable. Problem was generation html code takes 0.5 second and just echo $strPage takes 2.0 or more second. my code structur

[PHP] RE: Error Reporting for file commands

2006-09-25 Thread James Nunnerley
Sometime ago, I posted the email below, regarding some problems with a file manager we have developed for our users. The problem still exists, and is now starting to cause "complaints". Mainly from my manager, who's fed-up with receiving the error emails from the system, but it must be annoying u

[PHP] Re: Alternative to FCKeditor

2006-09-25 Thread Kae Verens
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 try my KFM addon for FCKeditor (http://kfm.verens.com/) u

[PHP] Re: Download files outside DocumentRoot Dir

2006-09-25 Thread Kae Verens
Ramiro wrote: 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