Well trying it with 1.7.2 dont work pretty much. Its more a case of. Variables dont even exist.
PHP Notice: Undefined variable: done in /home/mc/vanilla/mc_items.php on line 47
PHP Notice: Undefined variable: no_mode in /home/mc/vanilla/mc_items.php on line 50
Those sound like innocuous PHP errors. They shouldn't affect anything. You just need to make sure rcon still works. I haven't tested this on the latest version of Minecraft.
You may have your PHP configured too strictly. A quick fix would be to define those variables with a null value. I really should have pre-defined them anyway.
running Two atm. Creative and Survival. Was running Vanilla but now using something else that allows to switch between servers. I might adapt your script into a relay system.
Those sound like innocuous PHP errors. They shouldn't affect anything. You just need to make sure rcon still works. I haven't tested this on the latest version of Minecraft.