Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Some session and POST_VARS problems


Recommended Posts



i have got a problem and i cannot solved it, maybe it a bad server configuration but:


when adding into cart, nothing is added.


i tryed to find why not and find this:


when some variable is send and taken as GET_VARS its ok, but when as

POST_VARS it returns emty string.


(the form to add item to cart has s post method, and when POST_VARS return emty string the condition

if (ereg('^[0-9]+$', $HTTP_POST_VARS['products_id']))


allways return false)


So whats wrong with POST_VARS? :?


Link to comment
Share on other sites


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

  • Create New...