Re: [PHP] Re: limiting

2012-10-10 Thread tamouse mailing lists
On Wed, Oct 10, 2012 at 7:37 PM, Jim Giner wrote: > On 10/10/2012 4:27 PM, Matijn Woudt wrote: >> >> On Wed, Oct 10, 2012 at 10:26 PM, Ashley Sheridan >> wrote: >>> >>> On Wed, 2012-10-10 at 14:53 -0400, David McGlone wrote: >>> On Wednesday, October 10, 2012 07:36:00 PM Tim Streater wrote:

Re: [PHP] Re: limiting

2012-10-10 Thread Jim Giner
On 10/10/2012 4:27 PM, Matijn Woudt wrote: On Wed, Oct 10, 2012 at 10:26 PM, Ashley Sheridan wrote: On Wed, 2012-10-10 at 14:53 -0400, David McGlone wrote: On Wednesday, October 10, 2012 07:36:00 PM Tim Streater wrote: On 10 Oct 2012 at 19:17, David McGlone wrote: BTW - in any of your

Re: [PHP] Re: limiting

2012-10-10 Thread Matijn Woudt
On Wed, Oct 10, 2012 at 10:26 PM, Ashley Sheridan wrote: > On Wed, 2012-10-10 at 14:53 -0400, David McGlone wrote: > >> On Wednesday, October 10, 2012 07:36:00 PM Tim Streater wrote: >> > On 10 Oct 2012 at 19:17, David McGlone wrote: >> > >> > >> > >> >> > >> >> > >> BTW - in any of your other co

Re: Re: [PHP] Re: limiting

2012-10-10 Thread Matijn Woudt
On Wed, Oct 10, 2012 at 8:17 PM, David McGlone wrote: >> >> BTW - in any of your other computer languages didn't they utilize a >> 'return' statement? PHP's is no different. > > back in like '85, I learned Pascal that's the only language I learned and I > don't recall if it used return. > > --

Re: [PHP] Re: limiting

2012-10-10 Thread Ashley Sheridan
On Wed, 2012-10-10 at 14:53 -0400, David McGlone wrote: > On Wednesday, October 10, 2012 07:36:00 PM Tim Streater wrote: > > On 10 Oct 2012 at 19:17, David McGlone wrote: > > > > > > >> > > >> > > >> BTW - in any of your other computer languages didn't they utilize a > > >> 'return' statement?

Re: [PHP] Re: limiting

2012-10-10 Thread David McGlone
On Wednesday, October 10, 2012 07:36:00 PM Tim Streater wrote: > On 10 Oct 2012 at 19:17, David McGlone wrote: > > > >> > >> > >> BTW - in any of your other computer languages didn't they utilize a > >> 'return' statement? PHP's is no different. > > > > > > > > back in like '85, I learned Pasc

Fwd: Re: [PHP] Re: limiting

2012-10-10 Thread David McGlone
-- Forwarded Message -- Subject: Re: [PHP] Re: limiting Date: Wednesday, October 10, 2012, 02:03:57 PM From: David McGlone To: jim.gi...@albanyhandball.com On Wednesday, October 10, 2012 01:31:58 PM Jim Giner wrote: > On 10/10/2012 1:19 PM, David McGlone wrote: > >

Re: [PHP] Re: limiting

2012-10-10 Thread Govinda
> [snip] > With that said, I just may leave the list. After all if this is all I'm going > to get out of it, it's not worth it! > [snip] > Hi David, it sounds like cliche, but you get out of it what you put in it. I recommend: (If you *want* to write code, then:) - don't get flustered; don't

Re: [PHP] Re: limiting

2012-10-10 Thread Jim Giner
On 10/10/2012 1:19 PM, David McGlone wrote: With that said, I just may leave the list. After all if this is all I'm going to get out of it, it's not worth it! -- David M. This list has given you some very good advice, much of it from others. It may not have solved your understanding of 'gl

Re: [PHP] Re: limiting

2012-10-10 Thread David McGlone
On Wednesday, October 10, 2012 05:48:10 PM Matijn Woudt wrote: > On Wed, Oct 10, 2012 at 5:12 PM, Jim Giner wrote: > > On 10/10/2012 10:07 AM, Floyd Resler wrote: > >> On Oct 10, 2012, at 9:12 AM, Andy McKenzie wrote: > >>> > >>> > > Have you read a book on php and perhaps one on CSS to he

Re: [PHP] Re: limiting

2012-10-10 Thread Matijn Woudt
On Wed, Oct 10, 2012 at 5:12 PM, Jim Giner wrote: > On 10/10/2012 10:07 AM, Floyd Resler wrote: >> >> >> >> On Oct 10, 2012, at 9:12 AM, Andy McKenzie wrote: >> >>> > > Have you read a book on php and perhaps one on CSS to help > with your "hiding" problem? (BTW - that last was a hi

Re: [PHP] Re: limiting

2012-10-10 Thread Jim Giner
On 10/10/2012 10:07 AM, Floyd Resler wrote: On Oct 10, 2012, at 9:12 AM, Andy McKenzie wrote: Have you read a book on php and perhaps one on CSS to help with your "hiding" problem? (BTW - that last was a hint.) I've read plenty of PHP books I own at least 5 and ALL of them I've read har

Re: [PHP] Re: limiting

2012-10-10 Thread Floyd Resler
On Oct 10, 2012, at 9:12 AM, Andy McKenzie wrote: > >>> Have you read a book on php and perhaps one on CSS to help >>> with your "hiding" problem? (BTW - that last was a hint.) >> >> I've read plenty of PHP books I own at least 5 and ALL of them I've read >> hardly ever explain anything at a

Re: [PHP] Re: limiting

2012-10-10 Thread Andy McKenzie
>> Have you read a book on php and perhaps one on CSS to help >> with your "hiding" problem? (BTW - that last was a hint.) > > I've read plenty of PHP books I own at least 5 and ALL of them I've read > hardly ever explain anything at all. They just throw some code in there and > say "this is what

Re: [PHP] Re: limiting

2012-10-09 Thread Ashley Sheridan
Matijn Woudt wrote: >On Wed, Oct 10, 2012 at 12:06 AM, Tim Streater >wrote: >> On 09 Oct 2012 at 20:46, Matijn Woudt wrote: >> >>> For example your previous post, you >>> could have just looked up what the 'echo' and 'return' statements do >>> in the PHP manual, and they are probably explaine

Re: [PHP] Re: limiting

2012-10-09 Thread tamouse mailing lists
On Tue, Oct 9, 2012 at 5:19 PM, Matijn Woudt wrote: > On Wed, Oct 10, 2012 at 12:06 AM, Tim Streater wrote: >> On 09 Oct 2012 at 20:46, Matijn Woudt wrote: >> >>> For example your previous post, you >>> could have just looked up what the 'echo' and 'return' statements do >>> in the PHP manual, a

Re: [PHP] Re: limiting

2012-10-09 Thread Matijn Woudt
On Wed, Oct 10, 2012 at 12:06 AM, Tim Streater wrote: > On 09 Oct 2012 at 20:46, Matijn Woudt wrote: > >> For example your previous post, you >> could have just looked up what the 'echo' and 'return' statements do >> in the PHP manual, and they are probably explained pretty OK in those >> books y

Re: [PHP] Re: limiting

2012-10-09 Thread Jim Giner
On 10/9/2012 3:46 PM, Matijn Woudt wrote: On Tue, Oct 9, 2012 at 9:18 PM, David McGlone wrote: On Tuesday, October 09, 2012 12:18:06 PM Jim Giner wrote: Sorry to be so blunt. It's fine I kinda figured I'd be either ignored, or yelled at when I asked and I now know that I need to be a profes

Re: [PHP] Re: limiting

2012-10-09 Thread Jim Giner
PLEASE SEE MY COMMENTS INTERSPERSED AND BELOW. (yes this is a top post) On 10/9/2012 3:18 PM, David McGlone wrote: On Tuesday, October 09, 2012 12:18:06 PM Jim Giner wrote: On 10/8/2012 11:11 PM, David McGlone wrote: Hi all, is there any other way to limit this code to only displaying 1 image

Re: [PHP] Re: limiting

2012-10-09 Thread Matijn Woudt
On Tue, Oct 9, 2012 at 9:18 PM, David McGlone wrote: > On Tuesday, October 09, 2012 12:18:06 PM Jim Giner wrote: >> >> Sorry to be so blunt. > > It's fine I kinda figured I'd be either ignored, or yelled at when I asked > and I > now know that I need to be a professional to ask questions here so

Re: [PHP] Re: limiting

2012-10-09 Thread David McGlone
On Tuesday, October 09, 2012 12:18:06 PM Jim Giner wrote: > On 10/8/2012 11:11 PM, David McGlone wrote: > > Hi all, > > > > is there any other way to limit this code to only displaying 1 image other > > than using return. When I use return, I can't get the other images to > > display in lightbox,

Re: [PHP] Re: Limiting Cpu usage

2005-04-12 Thread Tom Rogers
Hi, Wednesday, April 13, 2005, 8:20:46 AM, you wrote: z> Yeahh! i have made it z> i can slow down a php script , as i edited the zend engine source to usleep z> every 1000 low-level instructions z> now, is there a way to determine to check my cpu load and adjust it by that z> so if nothing

RE: [PHP] Re: Limiting Cpu usage

2005-04-11 Thread Jared Williams
> but i must give them php support or else they coulnot do > anything on the server... > im limiting them by functions , safe mode and more.. I've known atleast one hosting operation that compile their own custom PHP, to limit the impact of problematic code. The only thing I can remember that

Re: [PHP] Re: Limiting Cpu usage

2005-04-11 Thread Richard Lynch
On Sun, April 10, 2005 10:55 am, zini10 said: > Thought about that, but its a free host that will host many many users.ill > prefer them to have low cpu usage limit also if the system is free of > tasks > as that will never happen. > any user can come, prepare a script which will do a infinite loop

Re: [PHP] Re: Limiting repetitive file access

2003-11-16 Thread Manuel Lemos
Hello, On 11/16/2003 04:32 PM, Andre Dubuc wrote: Sometimes I have that problem because some users of my site think they can use site sucking programs to get all its content. What was done is to have a script monitoring the Web server logs and if the same user of the same IP makes an excessive amo

Re: [PHP] Re: Limiting repetitive file access

2003-11-16 Thread Andre Dubuc
On Sunday 16 November 2003 06:40 am, Manuel Lemos wrote: > Hello, > > On 11/16/2003 02:52 AM, Andre Dubuc wrote: > > Recently, a 'user' attempted to access a restricted area of my site > > repetitively (spanning five hours) entering the same url repetitively > > [probably by script]. A massive lo

Re: [PHP] Re: limiting lines

2001-07-29 Thread Jan Wilson
* dan <[EMAIL PROTECTED]> [010729 11:11]: > Problem is, the only new lines are at the end of paragraphs, so that, in > effect, is limiting them to 55 paragraphs. I'm using a wrap=physical> which says that it adds a "%0A%0D" (carriage return/line > feed) at the end of each line. > > Anyone kno

Re: [PHP] Re: limiting lines

2001-07-29 Thread dan
Thanks for the quick answers. Problem is, the only new lines are at the end of paragraphs, so that, in effect, is limiting them to 55 paragraphs. I'm using a which says that it adds a "%0A%0D" (carriage return/line feed) at the end of each line. Anyone know how to convert that to a "\n" ?