php-general Digest 9 Jan 2013 10:22:15 - Issue 8092
Topics (messages 320055 through 320058):
Re: Some date() oddities
320055 by: Daniel Brown
320056 by: Sebastian Krebs
320057 by: Geoff Shang
320058 by: Arno Kuhl
Administrivia:
To subscribe to the digest,
php-general Digest 9 Jan 2013 23:32:33 - Issue 8093
Topics (messages 320059 through 320062):
Re: Some date() oddities
320059 by: Jani Ollikainen
Configuration Issue (Error 310 ERR_TOO_MANY_REDIRECTS)
320060 by: Ken Kixmoeller
320061 by: shiplu
320062 by: Jan
On Tue, 8 Jan 2013, Arno Kuhl wrote:
Starting with a unix timestamp for 31 December 2012 13:12:12 (which is
1356952332) I calculate a week number:
$ux_date = 1356952332;
$weeknumber = date(W, $ux_date); // returns 01 instead of 52
I'm not that familiar with date, I tend to use strftime
On 9.1.2013 12:22, Arno Kuhl wrote:
Both %U and %W seem to return what you want, using strftime. I'd guess that
date would also have flags for these.
No. That's one thing I've wondered sometimes.
According to documentation:
strftime has:
Week--- ---
%U Week number of the given
Hey, folks -
One of my applications is being moved to a new server. Testing it out, I
get the subject error. The error is reported this way in Chrome. In FireFox
it says:
Firefox has detected that the server is redirecting the request for this
address in a way that will never complete.
I
Could you run
curl --head -i --max-redirs 10 http://yoursite.com headers.log
And paste the log here?
On Thu, Jan 10, 2013 at 2:25 AM, Ken Kixmoeller phph...@comcast.net wrote:
Hey, folks -
One of my applications is being moved to a new server. Testing it out, I
get the subject
Ken Kixmoeller in php.general (Wed, 9 Jan 2013 14:25:33 -0600):
I have searched for 2 days trying to find references for this. I see a lot
of PHP-driven applications having the same problem (mostly blogs), but no
under the hood fixes.
It might be a rewrite rule that rewrites to the original URL.
7 matches
Mail list logo