Shawn McKenzie a écrit :
STFW
That's not so fair. If Thodoris ask about day end, it is obvious he's
wrong with the word. Wrong because he isn't mastering english. So,
without the good word (sunset), he can't find. So please don't bash us
when we appear silly !
--
Mickaël Wolff aka Lupu
Chris Scott wrote:
> You cannot access a class constant just by the constant name. See
> http://docs.php.net/manual/en/language.oop5.paamayim-nekudotayim.php.
Holy crap! Why can't it just be :: or double colon!
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.
Got it, thanks. I see that PHP is unlike many other OO language, it's a
little stricter in scoping.
--
View this message in context:
http://www.nabble.com/Visibility-of-class-constant-tp21803985p21823751.html
Sent from the PHP - General mailing list archive at Nabble.com.
--
PHP General Maili
On Tue, Feb 3, 2009 at 4:19 PM, Daevid Vincent wrote:
> On Wed, 2009-02-04 at 08:58 +1100, Chris wrote:
>
> > >> the question is what is __set() doing, if it's throwing an exception
> > >> for undefined properties then obviously it with 'blow up'.
> > >
> > >
> > >
> > > But why should __set() ev
On Wed, 2009-02-04 at 08:58 +1100, Chris wrote:
> >> the question is what is __set() doing, if it's throwing an exception
> >> for undefined properties then obviously it with 'blow up'.
> >
> >
> >
> > But why should __set() even be called if I'm accessing the property
> > directly? This seems
On Tue, Feb 3, 2009 at 2:54 PM, Jim Lucas wrote:
> TS wrote:
> > I'm trying to send vars via POST somehow. Is this possible?
> >
> > Currently I'm doing
> >
> > header("Location: http://domain/index.php?var=3";);
> >
> > but, want to send POST or some other method that doesn't stick with the
> se
On Tue, Feb 3, 2009 at 2:54 PM, Jim Lucas wrote:
> TS wrote:
>> I'm trying to send vars via POST somehow. Is this possible?
>>
>> Currently I'm doing
>>
>> header("Location: http://domain/index.php?var=3";);
>>
>> but, want to send POST or some other method that doesn't stick with the
>> session.
TS wrote:
> I'm trying to send vars via POST somehow. Is this possible?
>
> Currently I'm doing
>
> header("Location: http://domain/index.php?var=3";);
>
> but, want to send POST or some other method that doesn't stick with the
> session.
>
> Thanks, T
>
>
No, it is not possible. You will
I'm trying to send vars via POST somehow. Is this possible?
Currently I'm doing
header("Location: http://domain/index.php?var=3";);
but, want to send POST or some other method that doesn't stick with the session.
Thanks, T
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
Hi,
I now have a demo site available so you can easily monitor the projects
progress. The site is updated daily with the svn checkins.
http://www.jotbug.org
The source is still hosted at http://jotbug.googlecode.com
Regards,
- Robert
rcastley wrote:
>
> Hi,
>
> I am looking (begging!)
the question is what is __set() doing, if it's throwing an exception
for undefined properties then obviously it with 'blow up'.
But why should __set() even be called if I'm accessing the property
directly? This seems stupid.
$this->oraclecustomerid = 1122;
should NOT be the same as
$this
At 11:36 AM -0500 2/3/09, Dan Shirah wrote:
Doesn't every day end at 23:59:59? the next second would be 00:00:00...the
beginning of a new day! :)
Splitting hairs. December 31, 2008 had two 23:59:59 -- it was a leap
second for that year.
My grand-kids, being the nerds that they are counted th
On Tue, 2009-02-03 at 08:30 +0100, Edmund Hertle wrote:
> 2009/2/3 Daevid Vincent
>
> > Is there a way to create a new property via PHP 5.2.4?
> >
> > I get a hash back from an authentication server. I'm not guaranteed that
> > someone in another department won't add new key/values to the return
On Tue, 2009-02-03 at 12:51 +0100, Jochem Maas wrote:
> Edmund Hertle schreef:
> > 2009/2/3 Daevid Vincent
> >
> >> Is there a way to create a new property via PHP 5.2.4?
> >>
> >> I get a hash back from an authentication server. I'm not guaranteed that
> >> someone in another department won't a
Am Dienstag, 3. Februar 2009 schrieb Shawn McKenzie:
> I'm not sure that I understand, but I'm pretty sure that every day
> ends on 23:59:59.
No, for some people only most days :-) :
http://en.wikipedia.org/wiki/Leap_second
some days end on 23:59:60 which is not the same as 00:00:00.
Ralf
--
M
2009/2/3 Shawn McKenzie
> Wickland, Leif wrote:
> > I would expect that if I turn on output buffering, echo something, throw
> an exception, and catch the exception, nothing will have been actually
> output.. That doesn't seem to be the case. Throwing an exception seems to
> defeat output buffe
Shawn McKenzie wrote:
Thodoris wrote:
2009/2/3 Thodoris :
I was wondering if there is way to find out what is the time that
every
day ends? I am planning to add this to the first page on an
interface I am
developing.
Most days end at midnight, but there
Shawn McKenzie wrote:
> Shawn McKenzie wrote:
>> Thodoris wrote:
2009/2/3 Thodoris :
> I was wondering if there is way to find out what is the time that
> every
> day ends? I am planning to add this to the first page on an
> interface I am
> developing.
>
Shawn McKenzie wrote:
> Thodoris wrote:
>>> 2009/2/3 Thodoris :
>>>
I was wondering if there is way to find out what is the time that
every
day ends? I am planning to add this to the first page on an
interface I am
developing.
>>> Most days end at midnight, b
Try:
echo date("H:i:s", mktime(23-date("H"), 59-date("i"), 59-date("s"));
This is I guess how much time we have to reach midnight. But the
question is how to calculate the time that sun stops showing its
refreshing light.
BTW try not to top post
--
Thodoris
--
PHP General Mailing
Thodoris wrote:
>
>> 2009/2/3 Thodoris :
>>
>>> I was wondering if there is way to find out what is the time that
>>> every
>>> day ends? I am planning to add this to the first page on an
>>> interface I am
>>> developing.
>>>
>>
>> Most days end at midnight, but there may be some except
Wickland, Leif wrote:
> I would expect that if I turn on output buffering, echo something, throw an
> exception, and catch the exception, nothing will have been actually output..
> That doesn't seem to be the case. Throwing an exception seems to defeat
> output buffering.
>
> In the following
Try:
echo date("H:i:s", mktime(23-date("H"), 59-date("i"), 59-date("s"));
-Mensagem original-
De: Thodoris [mailto:t...@kinetix.gr]
Enviada em: terça-feira, 3 de fevereiro de 2009 14:38
Para: Stuart
Cc: php-general@lists.php.net
Assunto: Re: [PHP] calculate the time that day ends
> 200
Thodoris wrote:
> Hi gang,
>I was wondering if there is way to find out what is the time that
> every day ends? I am planning to add this to the first page on an
> interface I am developing.
>
I'm not sure that I understand, but I'm pretty sure that every day ends
on 23:59:59.
--
Thanks!
-S
2009/2/3 Thodoris :
I was wondering if there is way to find out what is the time that every
day ends? I am planning to add this to the first page on an interface I am
developing.
Most days end at midnight, but there may be some exceptions ;-)
Seriously though, not really sure what
> Hi gang,
> I was wondering if there is way to find out what is the time that every
> day ends? I am planning to add this to the first page on an interface I am
> developing.
>
> --
> Thodoris
Doesn't every day end at 23:59:59? the next second would be 00:00:00...the
beginning of a new day! :
2009/2/3 Wickland, Leif :
> I would expect that if I turn on output buffering, echo something, throw an
> exception, and catch the exception, nothing will have been actually output..
> That doesn't seem to be the case. Throwing an exception seems to defeat
> output buffering.
>
> In the follow
2009/2/3 Thodoris :
> I was wondering if there is way to find out what is the time that every
> day ends? I am planning to add this to the first page on an interface I am
> developing.
Most days end at midnight, but there may be some exceptions ;-)
Seriously though, not really sure what you're
I would expect that if I turn on output buffering, echo something, throw an
exception, and catch the exception, nothing will have been actually output..
That doesn't seem to be the case. Throwing an exception seems to defeat output
buffering.
In the following code, I would not expect to see t
Hi gang,
I was wondering if there is way to find out what is the time that
every day ends? I am planning to add this to the first page on an
interface I am developing.
--
Thodoris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Edmund Hertle schreef:
> 2009/2/3 Daevid Vincent
>
>> Is there a way to create a new property via PHP 5.2.4?
>>
>> I get a hash back from an authentication server. I'm not guaranteed that
>> someone in another department won't add new key/values to the returned
>> hash/array. I'm trying to work a
> -Original Message-
> From: leledumbo [mailto:leledumbo_c...@yahoo.co.id]
> Sent: 03 February 2009 05:03
> To: php-general@lists.php.net
> Subject: [PHP] Visibility of class constant
>
>
> I got a weird behaviour of class constant. Suppose I have
Index_Controller
> and Another_Controller
'Twas brillig, and Leif Wickland at 03/02/09 06:02 did gyre and gimble:
I would expect that if I turn on output buffering, echo something,
throw an exception,
and catch the exception, nothing will have been actually output. That
doesn't seem
to be the case. Throwing an exception seems to defeat
Output buffer is flushed at the end of script. When you throw that exception
in try block, this command: exit( 'Contents: ' . ob_get_clean()); never
executes and it continues to catch block where you are outputing exception
message, and it is added to the buffer, then the script ends and buffer
34 matches
Mail list logo