Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Advertising

advertising

related pastes to tag 'constant'

952112 - constant after header: header constant define
  1. <?php
  2. define( "CONSTANT_FOO", 'bar' );
  3. $_SESSION[ 'CONSTANT_FOO' ] = CONSTANT_FOO;
  4. header( 'Content-type: application/x-javascript' );
  5. echo $_SESSION[ 'CONSTANT_FOO' ];
  6. ?>
952111 - constant after header: header constant define
  1. <?php
  2. define( "CONSTANT_FOO", 'bar' );
  3. $_SESSION[ 'CONSTANT_FOO' ] = CONSTANT_FOO;
  4. header( 'Content-type: application/x-javascript' );
  5. echo $_SESSION[ 'CONSTANT_FOO' ];
  6. ?>
952110 - constant after header: header constant define
  1. <?php
  2. define( "CONSTANT_FOO", 'bar' );
  3. $_SESSION[ 'CONSTANT_FOO' ] = CONSTANT_FOO;
  4. header( 'Content-type: application/x-javascript' );
  5. echo $_SESSION[ 'CONSTANT_FOO' ];
  6. ?>
952109 - constant after header: header constant define
  1. <?php
  2. define( "CONSTANT_FOO", 'bar' );
  3. $_SESSION[ 'CONSTANT_FOO' ] = CONSTANT_FOO;
  4. header( 'Content-type: application/x-javascript' );
  5. echo $_SESSION[ 'CONSTANT_FOO' ];
  6. ?>
952102 - constant after header: header constant define
  1. <?php
  2. define( "PATH_EXTERN", 'some path' );
  3. $_SESSION[ 'PATH_EXTERN_PHP' ] = PATH_EXTERN_PHP;
  4. header( 'Content-type: application/x-javascript' );
  5. echo $_SESSION[ 'PATH_EXTERN_PHP' ];
  6. ?>
worth-right
worth-right
fantasy-obligation