Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can someone please tell me what this code does?


ckyshop.co.uk

Recommended Posts

    $hidden_get_variables = '';
   reset($HTTP_GET_VARS);
   while (list($key, $value) = each($HTTP_GET_VARS)) {
     if ( ($key != 'stylesheet') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) {
       $hidden_get_variables .= tep_draw_hidden_field($key, $value);
     }
 }

what does this do?

Thanks for any help/comments.

 

Regards,

 

Lewis Hill

Link to comment
Share on other sites

1. resets the array ptr of $HTTP_GET_VARS array

2. parses the array values of $HTTP_GET_VARS and under conditions appends a string of params representing an input field to $hidden_get_variables.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...