Posted By

nicolaspar on 02/28/07


Tagged

fix php version old


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

vali29


PHP - Take care for older PHP versions


 / Published in: PHP
 

  1. #Simple
  2. if (isset($HTTP_GET_VARS) and ! empty ( $HTTP_GET_VARS ) ) {
  3. $_GET = $HTTP_GET_VARS;
  4. }
  5.  
  6. if ( isset( $HTTP_SERVER_VARS ) and ! empty( $HTTP_SERVER_VARS ) ) {
  7. $_SERVER = $HTTP_SERVER_VARS;
  8. }

Report this snippet  

You need to login to post a comment.