php-general Digest 11 Mar 2012 23:11:18 - Issue 7723
Topics (messages 316981 through 316988):
Re: questions about $_SERVER
316981 by: Stuart Dallas
316982 by: Daniel Brown
316984 by: Tedd Sperling
316986 by: Tim Streater
Re: Have little enough hair as it is
On Sat, 2012-03-10 at 20:38 -0500, Tedd Sperling wrote:
On Mar 10, 2012, at 12:20 PM, Maciek Sokolewicz wrote:
function getAmountOfDaysInAMonth($month, $year) {
$days = array(31, (($year%4==0 and ($year%100 0 or $year%400==0)) ? 29
: 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);
On 11 Mar 2012, at 01:43, Tedd Sperling wrote:
On Mar 10, 2012, at 3:53 PM, tamouse mailing lists wrote:
On Sat, Mar 10, 2012 at 9:37 AM, Tedd Sperling tedd.sperl...@gmail.com
wrote:
That's correct, but to access those variables outside of their scope (such
as a function) you do via a
On Sat, Mar 10, 2012 at 10:37, Tedd Sperling tedd.sperl...@gmail.com wrote:
As such, there are no globals in PHP other than SuperGlobals. As I said, if
I'm wrong, please show me otherwise.
A superglobal is predefined at run-time by the parser,
environment, SAPI, etc. (_SERVER, _POST, _GET,
( Been down London over night ;) ) ... and was not awake enough to change email
address ...
http://piwik.medw.org.uk/phpinfo.php has http://piwik.medw.org.uk/ working
fine...
http://piwik.rainbowdigitalmedia.org.uk/phpinfo.php is just giving seg
faults on
On Mar 11, 2012, at 10:25 AM, Daniel Brown wrote:
On Sat, Mar 10, 2012 at 10:37, Tedd Sperling tedd.sperl...@gmail.com wrote:
As such, there are no globals in PHP other than SuperGlobals. As I said,
if I'm wrong, please show me otherwise.
A superglobal is predefined at run-time by the
On Mar 11, 2012, at 6:12 AM, Ashley Sheridan wrote:
I still don't see what's wrong with
date(t);
--
Thanks,
Ash
Ash:
It's just too damn simple -- we need to make things complicated. :-)
Actually, this works for me:
$days_in_month = date('t', mktime(0, 0, 0, $next_month, 0, $year));
On 11 Mar 2012 at 18:16, Tedd Sperling tedd.sperl...@gmail.com wrote:
On Mar 11, 2012, at 10:25 AM, Daniel Brown wrote:
On Sat, Mar 10, 2012 at 10:37, Tedd Sperling tedd.sperl...@gmail.com wrote:
As such, there are no globals in PHP other than SuperGlobals. As I said,
if I'm wrong, please
On Sun, Mar 11, 2012 at 7:33 PM, Tedd Sperling tedd.sperl...@gmail.com wrote:
On Mar 11, 2012, at 6:12 AM, Ashley Sheridan wrote:
I still don't see what's wrong with
date(t);
--
Thanks,
Ash
Ash:
It's just too damn simple -- we need to make things complicated. :-)
Actually, this
2012/3/11 Lester Caine les...@lsces.co.uk:
( Been down London over night ;) ) ... and was not awake enough to change
email address ...
http://piwik.medw.org.uk/phpinfo.php has http://piwik.medw.org.uk/ working
fine...
http://piwik.rainbowdigitalmedia.org.uk/phpinfo.php is just giving seg
On Mon, Mar 12, 2012 at 12:11 AM, Simon Schick
simonsimc...@googlemail.com wrote:
2012/3/11 Lester Caine les...@lsces.co.uk:
( Been down London over night ;) ) ... and was not awake enough to change
email address ...
http://piwik.medw.org.uk/phpinfo.php has http://piwik.medw.org.uk/ working
Matijn Woudt wrote:
Things that I found you can try:
* Replace the index.php ... Some people reported that this error was
caused by an endless-loop in their php-script
I have experienced a segfault once with mod_rewrite and some endless
loop in a .htaccess file. So you might want to check
12 matches
Mail list logo