Can you give me some guide on how to determine whats the problem if the same piece of code works on guest os. And doesn’t work on the host os?
I’ve created the project on Windows 7 but now it seems to be working on XP only.
Here’s what I have installed on the host os(Windows 7):

And here’s what I got on the guest os:

And here’s the screenshot. The guest os and host os side by side:

Other things which are the same:
- php version
- mysql version
- apache
- same data stored on the database
Here’s the code of checkout.php:
http://cu.pastebin.com/YeBR9rTs
Forgive me if its messy.
All seems to be related to your pulling info from $_GET. The error on line 65 doesn’t find $_GET[‘ids’], which leads to the foreach error on line 86 which uses the variable set by $_GET[‘ids’] as an arguement. Then on line 355 you’re pulling $_GET[‘ini_pay’] on line 124 as $initpay. So, for some reason, either the $_GET superglobal isn’t being populated, or the link that goes to the page is malformed and doesn’t include the
?ids=x&ini_pay=ystuff.Post the
phpinfo();information from the host server.