Posted by:
c2dan
(---.15-1.cable.virginmedia.com)
I have no problems at all with WAMP.
if your code on WAMP displays notices/errors then its your code at fault. Again your webhost has error reporting disabled and this is why you think everything is working fine on your website. If you checked your sites error logs you'll see the same errors are logged.
Some of the reason why your script on WAMP doesn't work could be
Your script relies on a setting called register_globals, then your script will not work as PHP has disabled this setting since PHP4.2. Unfortunately hosts tend to leave this setting enabled so older scripts to do not break. WAMP keeps this setting disabled, it soon to be removed completely as of PHP6. However this can be enabled via PHP > PHP Settings menu from the wamp task bar icon.
Another reason why your script doesn't work is because you use short tags (<? ?> or <?= ?>
. These are disabled by default however you can enable this via the PHP > PHP settings menu from the wamp taksbar icon.
You should also compare the php.ini settings for wamp and your website by running phpinfo on both. Your should set WAMP's PHP configuration as close to that of your webhosts.