PHP - Take care for older PHP versions


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.