View Single Post
  #2  
Old 08-08-2006, 02:39 PM
techguru techguru is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
techguru is on a distinguished road
Default

  1. I suggest you to read about the 'register_global off' issues. I guess that the php version is not involved but this guy just have a well configured php which doesn't allowed accessing POST and GET variable without a proper indexing of the form $_POSt / $_GET
  2. be carefull with your "if (isset($calculate))" which should be "if (isset($_GET['calculate']))". When hitting the submit button with the "enter" key, the submit value is not send by several browser therefore it shouldn't be used to identify wether the form was submitted or not.
  3. Well formed HTML must have all parameter quoted value=Calculate => value="Calculate"
  4. That wouldn't solve your issue but it would be way better =)

cheers
good luck -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
  Webmaster Forums - View Single Post - works o 4.4.1 but not on 5.1.4
View Single Post
  #2  
Old 08-08-2006, 02:39 PM
techguru techguru is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
techguru is on a distinguished road
Default

  1. I suggest you to read about the 'register_global off' issues. I guess that the php version is not involved but this guy just have a well configured php which doesn't allowed accessing POST and GET variable without a proper indexing of the form $_POSt / $_GET
  2. be carefull with your "if (isset($calculate))" which should be "if (isset($_GET['calculate']))". When hitting the submit button with the "enter" key, the submit value is not send by several browser therefore it shouldn't be used to identify wether the form was submitted or not.
  3. Well formed HTML must have all parameter quoted value=Calculate => value="Calculate"
  4. That wouldn't solve your issue but it would be way better =)

cheers
good luck -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote