Re: [PHP] PHP 5.3.2 max_execution_time

2012-01-01 Thread Duken Marga
If you want to upload large file, maybe you should consider maximum uploaded size. You can change setting in php.ini on line that contain * upload_max_filesize*. On Mon, Jan 2, 2012 at 5:13 AM, Chris Tapp wrote: > I've got a Dokuwiki installation that is producing Apache errors saying > that the

Re: [PHP] Question about date calculations

2012-01-01 Thread Matijn Woudt
On Fri, Dec 30, 2011 at 5:33 PM, Eric Lommatsch wrote: > > When I try this method: > > > > $interval = $dteStartDate[$intCnt]->diff($dteEndDate[$intCnt]); I get the > following error when I run the page: > > " Fatal error : Call to undefined method DateTime::diff() in > /var/www/evalHomeLime.php

[PHP] PHP 5.3.2 max_execution_time

2012-01-01 Thread Chris Tapp
I've got a Dokuwiki installation that is producing Apache errors saying that the maximum execution time of 30 seconds has been exceeded. So, I went and changed max_execution_time in php.ini expecting that this would solve the problem (which is due to large files taking a while to upload ove

Re: [PHP] count clicks to count most important news

2012-01-01 Thread muad shibani
All the answers are great but Stuart Dallas' answer is what I was asking about .. thank u all I really appreciate it a lot On Sun, Jan 1, 2012 at 11:10 PM, Stuart Dallas wrote: > On 1 Jan 2012, at 16:26, muad shibani wrote: > > > I have a website that posts the most important news according to t

Re: [PHP] count clicks to count most important news

2012-01-01 Thread Stuart Dallas
On 1 Jan 2012, at 16:26, muad shibani wrote: > I have a website that posts the most important news according to the number > of clicks to that news > the question is : what is the best way to prevent multiple clicks from the > same visitor? I'm assuming this is not a voting system, and the news

Re: [PHP] count clicks to count most important news

2012-01-01 Thread Maciek Sokolewicz
On 01-01-2012 20:08, Ashley Sheridan wrote: On Sun, 2012-01-01 at 11:49 -0500, Tedd Sperling wrote: On Jan 1, 2012, at 11:26 AM, muad shibani wrote: I have a website that posts the most important news according to the number of clicks to that news the question is : what is the best way to pr

Re: [PHP] count clicks to count most important news

2012-01-01 Thread Ashley Sheridan
On Sun, 2012-01-01 at 11:49 -0500, Tedd Sperling wrote: > On Jan 1, 2012, at 11:26 AM, muad shibani wrote: > > > I have a website that posts the most important news according to the number > > of clicks to that news > > the question is : what is the best way to prevent multiple clicks from the >

Re: [PHP] count clicks to count most important news

2012-01-01 Thread Tedd Sperling
On Jan 1, 2012, at 11:26 AM, muad shibani wrote: > I have a website that posts the most important news according to the number > of clicks to that news > the question is : what is the best way to prevent multiple clicks from the > same visitor? Not a fool-proof method, but use Javascript on the

[PHP] count clicks to count most important news

2012-01-01 Thread muad shibani
I have a website that posts the most important news according to the number of clicks to that news the question is : what is the best way to prevent multiple clicks from the same visitor?