On Fri, 2008-04-25 at 14:52 -0400, Eric Butera wrote:
> On Fri, Apr 25, 2008 at 2:50 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > Why would anyone use htmlspecialchars() on a shell script?
> >
> > >:)
>
> Who uses a session in a cli script?
Cron to destroy any expired sessions.
Cheers,
On Fri, Apr 25, 2008 at 1:16 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 25, 2008 at 3:12 PM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
> > meh; just make sure the instance holds what you want it to; it was just a
> > contrived example to illustrate the syntax supported in double quot
On Fri, Apr 25, 2008 at 1:14 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 25, 2008 at 3:09 PM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
> > i do; that way when the script terminates the session is wiped clean :D
>
> $GLOBALS would get you the same thing a lot easier. I've had to use
On Fri, Apr 25, 2008 at 3:12 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> meh; just make sure the instance holds what you want it to; it was just a
> contrived example to illustrate the syntax supported in double quotes,
> currently.
I know, I'm just goofing around on Friday. ;)
--
PHP General
On Fri, Apr 25, 2008 at 3:09 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> i do; that way when the script terminates the session is wiped clean :D
$GLOBALS would get you the same thing a lot easier. I've had to use
sessions in cli before just because I converted some old front-end
scripts that us
On Fri, Apr 25, 2008 at 1:08 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 25, 2008 at 2:51 PM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
> > class OutputEscaper {
>
> I dunno man. I have an escape() method on different classes such as
> View (which can be told to use htmlspecialchars/
On Fri, Apr 25, 2008 at 12:52 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 25, 2008 at 2:50 PM, Robert Cummings <[EMAIL PROTECTED]>
> wrote:
> > Why would anyone use htmlspecialchars() on a shell script?
> >
> > >:)
>
> Who uses a session in a cli script?
>
i do; that way when the s
On Fri, Apr 25, 2008 at 2:51 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> class OutputEscaper {
I dunno man. I have an escape() method on different classes such as
View (which can be told to use htmlspecialchars/entities), DB, etc.
This way you know you're doing $view->escape() or $db->escape()
On Fri, Apr 25, 2008 at 2:50 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> Why would anyone use htmlspecialchars() on a shell script?
>
> >:)
Who uses a session in a cli script?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Apr 25, 2008 at 12:44 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 25, 2008 at 2:36 PM, Robert Cummings <[EMAIL PROTECTED]>
> wrote:
> >
> > On Fri, 2008-04-25 at 12:25 -0600, Nathan Nobbe wrote:
> > > On Fri, Apr 25, 2008 at 11:35 AM, Nick Stinemates <
> [EMAIL PROTECTED]>
>
On Fri, 2008-04-25 at 14:44 -0400, Eric Butera wrote:
> On Fri, Apr 25, 2008 at 2:36 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
> >
> > On Fri, 2008-04-25 at 12:25 -0600, Nathan Nobbe wrote:
> > > On Fri, Apr 25, 2008 at 11:35 AM, Nick Stinemates <[EMAIL PROTECTED]>
> > > wrote:
> > >
> >
On Fri, Apr 25, 2008 at 2:36 PM, Robert Cummings <[EMAIL PROTECTED]> wrote:
>
> On Fri, 2008-04-25 at 12:25 -0600, Nathan Nobbe wrote:
> > On Fri, Apr 25, 2008 at 11:35 AM, Nick Stinemates <[EMAIL PROTECTED]>
> > wrote:
> >
> > > On Fri, Apr 25, 2008 at 01:19:58PM -0400, Robert Cummings wrote:
On Fri, Apr 25, 2008 at 12:36 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Fri, 2008-04-25 at 12:25 -0600, Nathan Nobbe wrote:
> > On Fri, Apr 25, 2008 at 11:35 AM, Nick Stinemates <[EMAIL PROTECTED]>
> > wrote:
> >
> > > On Fri, Apr 25, 2008 at 01:19:58PM -0400, Robert Cummings wrote:
>
On Fri, 2008-04-25 at 12:25 -0600, Nathan Nobbe wrote:
> On Fri, Apr 25, 2008 at 11:35 AM, Nick Stinemates <[EMAIL PROTECTED]>
> wrote:
>
> > On Fri, Apr 25, 2008 at 01:19:58PM -0400, Robert Cummings wrote:
> > >
> > > I don't see how the throwing everything and the kitchen sink into double
> > >
On Fri, Apr 25, 2008 at 12:28 PM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 25, 2008 at 2:25 PM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
> > want to know a syntactic sugar feature i avoid like the plague, its the
> > ternary operator!
>
> Like this?
>
> return (!is_dir($indexPath))
On Fri, Apr 25, 2008 at 12:21 PM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Fri, 2008-04-25 at 11:29 -0600, Nathan Nobbe wrote:
> > On Fri, Apr 25, 2008 at 11:19 AM, Robert Cummings <[EMAIL PROTECTED]>
> > wrote:
> >
> > >
> > > On Fri, 2008-04-25 at 11:11 -0600, Nathan Nobbe wrote:
> > >
On Fri, Apr 25, 2008 at 2:25 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> want to know a syntactic sugar feature i avoid like the plague, its the
> ternary operator!
Like this?
return (!is_dir($indexPath))
? Zend_Search_Lucene::create($indexPath)
: Zend_Search_Lucene::open($ind
On Fri, Apr 25, 2008 at 11:37 AM, Nick Stinemates <[EMAIL PROTECTED]>
wrote:
> On Fri, Apr 25, 2008 at 11:29:05AM -0600, Nathan Nobbe wrote:
> > here we are back at the classic syntactic sugar argument. at least weve
> > moved past abstract classes and interfaces !
>
> for now :)
heh, r
On Fri, Apr 25, 2008 at 11:35 AM, Nick Stinemates <[EMAIL PROTECTED]>
wrote:
> On Fri, Apr 25, 2008 at 01:19:58PM -0400, Robert Cummings wrote:
> >
> > I don't see how the throwing everything and the kitchen sink into double
> > quotes support caters to either of these groups. It strikes me, and o
On Fri, 2008-04-25 at 11:29 -0600, Nathan Nobbe wrote:
> On Fri, Apr 25, 2008 at 11:19 AM, Robert Cummings <[EMAIL PROTECTED]>
> wrote:
>
> >
> > On Fri, 2008-04-25 at 11:11 -0600, Nathan Nobbe wrote:
> > > On Fri, Apr 25, 2008 at 11:01 AM, Robert Cummings <[EMAIL PROTECTED]>
> > > wrote:
> > >
>
On Fri, Apr 25, 2008 at 11:29:05AM -0600, Nathan Nobbe wrote:
> here we are back at the classic syntactic sugar argument. at least weve
> moved past abstract classes and interfaces !
for now :)
--
Nick Stinemates ([EMAIL PROTECTED])
http://nick.stinemates.org
--
PHP General Mailing Li
On Fri, Apr 25, 2008 at 01:19:58PM -0400, Robert Cummings wrote:
>
> I don't see how the throwing everything and the kitchen sink into double
> quotes support caters to either of these groups. It strikes me, and of
> course that's who matters here >:), that it caters to the messy, "I wish
> I REAL
On Fri, Apr 25, 2008 at 11:19 AM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Fri, 2008-04-25 at 11:11 -0600, Nathan Nobbe wrote:
> > On Fri, Apr 25, 2008 at 11:01 AM, Robert Cummings <[EMAIL PROTECTED]>
> > wrote:
> >
> > > On Fri, 2008-04-25 at 10:55 -0600, Nathan Nobbe wrote:
> > > >
> >
On Fri, 2008-04-25 at 11:11 -0600, Nathan Nobbe wrote:
> On Fri, Apr 25, 2008 at 11:01 AM, Robert Cummings <[EMAIL PROTECTED]>
> wrote:
>
> > On Fri, 2008-04-25 at 10:55 -0600, Nathan Nobbe wrote:
> > >
> > > bah; concatenation operator - schmacatatenation operator! i dont really
> > > care abou
On Fri, Apr 25, 2008 at 11:02 AM, Eric Butera <[EMAIL PROTECTED]> wrote:
> On Fri, Apr 25, 2008 at 12:55 PM, Nathan Nobbe <[EMAIL PROTECTED]>
> wrote:
> > i would like to see support for $a::$someStatic come
>
> callback :P
>
> http://us.php.net/manual/en/function.call-user-func-array.php
>
wor
On Fri, Apr 25, 2008 at 11:01 AM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
> On Fri, 2008-04-25 at 10:55 -0600, Nathan Nobbe wrote:
> >
> > bah; concatenation operator - schmacatatenation operator! i dont really
> > care about that; but i would like to see support for $a::$someStatic come
> > b
On Fri, Apr 25, 2008 at 12:55 PM, Nathan Nobbe <[EMAIL PROTECTED]> wrote:
> i would like to see support for $a::$someStatic come
callback :P
http://us.php.net/manual/en/function.call-user-func-array.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
On Fri, 2008-04-25 at 10:55 -0600, Nathan Nobbe wrote:
>
> bah; concatenation operator - schmacatatenation operator! i dont really
> care about that; but i would like to see support for $a::$someStatic come
> back. thats what im whining about ;)
That funny part, IMHO, is that on internals they o
On Fri, Apr 25, 2008 at 10:53 AM, Robert Cummings <[EMAIL PROTECTED]>
wrote:
>
> On Fri, 2008-04-25 at 10:14 -0600, Nathan Nobbe wrote:
> > On Fri, Apr 25, 2008 at 10:02 AM, Jason Pruim <[EMAIL PROTECTED]>
> wrote:
> >
> > >
> > > On Apr 25, 2008, at 11:56 AM, Nathan Nobbe wrote:
> > >
> > > On F
On Fri, 2008-04-25 at 10:14 -0600, Nathan Nobbe wrote:
> On Fri, Apr 25, 2008 at 10:02 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> >
> > On Apr 25, 2008, at 11:56 AM, Nathan Nobbe wrote:
> >
> > On Fri, Apr 25, 2008 at 9:50 AM, Leurent Francois <[EMAIL PROTECTED]>
> >> wrote:
> >>
> >> Is th
On Fri, Apr 25, 2008 at 10:02 AM, Jason Pruim <[EMAIL PROTECTED]> wrote:
>
> On Apr 25, 2008, at 11:56 AM, Nathan Nobbe wrote:
>
> On Fri, Apr 25, 2008 at 9:50 AM, Leurent Francois <[EMAIL PROTECTED]>
>> wrote:
>>
>> Is there any hope that
>>> echo "Welcome {session::$user_info['user_name']}";
>
I like the sess::reload() and sess::connect($user_login,$user_pswd);
idea...
> is there a reason why that would work better then: echo "Welcome
> {$_SESSION['user_info']['user_name']}";?
>
> Just curious :)
>
> --
>
> Jason Pruim
> Raoset Inc.
> Technology Manager
> MQC Specialist
> 3251 132nd
On Apr 25, 2008, at 11:56 AM, Nathan Nobbe wrote:
On Fri, Apr 25, 2008 at 9:50 AM, Leurent Francois <[EMAIL PROTECTED]
>
wrote:
Is there any hope that
echo "Welcome {session::$user_info['user_name']}";
will work someday, if not, is there a simple reason i'm missing ?
actually, if you see
On Fri, Apr 25, 2008 at 9:50 AM, Leurent Francois <[EMAIL PROTECTED]>
wrote:
> Is there any hope that
> echo "Welcome {session::$user_info['user_name']}";
>
> will work someday, if not, is there a simple reason i'm missing ?
actually, if you see my post from the other day, this is something that
Is there any hope that
echo "Welcome {session::$user_info['user_name']}";
will work someday, if not, is there a simple reason i'm missing ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
35 matches
Mail list logo