LassoBin Banner
Recent Posts
test
62.2 weeks ago
ezk
2472.1 weeks ago
Adam Randall
479.2 weeks ago
Adam Randall
482.7 weeks ago
Greg Hemphill
483.1 weeks ago
Greg Hemphill
486.4 weeks ago
Greg Hemphill
486.4 weeks ago
Becca
486.4 weeks ago
Greg Hemphill
486.4 weeks ago
Becca
486.4 weeks ago
Make new post
Lasso Reference
MySQL Reference
Valid HTML 4.0!
 
Posted by Adam Randall on 03/19/2008 22:51:20.
Link
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[
  define_tag( 'Client_Cookies2' );

    local(
      'i',
      'cookies' = null,
      'raw'     = client_header( 'Cookie' ) );

    if( #raw !== false );
      #cookies = array;
      iterate( #raw->split( ';' ), #i );
        #i->trim;
        if( #i->find( '=' ) > 0 );
          #cookies->insert( decode_url( #i->substring( 1, #i->find( '=' ) - 1 ) ) = string( decode_url( #i->substring( #i->find( '=' ) + 1, #i->size ) ) ) );
        /if;
      /iterate;

      return( @#cookies );
    else;
      return( false );
    /if;

  /define_tag;


]

  Post new code below.
Name
Code
Math -65 divided by -2 equals