LassoBin Banner
Recent Posts
test
110.1 weeks ago
ezk
2519.9 weeks ago
Adam Randall
527 weeks ago
Adam Randall
530.5 weeks ago
Greg Hemphill
530.9 weeks ago
Greg Hemphill
534.2 weeks ago
Greg Hemphill
534.2 weeks ago
Becca
534.2 weeks ago
Greg Hemphill
534.2 weeks ago
Becca
534.2 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 70 divided by 41 equals