LassoBin Banner
Recent Posts
test
118.1 weeks ago
ezk
2527.9 weeks ago
Adam Randall
535.1 weeks ago
Adam Randall
538.5 weeks ago
Greg Hemphill
539 weeks ago
Greg Hemphill
542.3 weeks ago
Greg Hemphill
542.3 weeks ago
Becca
542.3 weeks ago
Greg Hemphill
542.3 weeks ago
Becca
542.3 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 -50 minus -92 equals