using a tutorial am learning how to create a shopping cart when on my machine its working fine but when hosted on a different server its not working.
this is the line i need help with
//current URL of the Page. cart_update.php redirects back to this URL
$current_url = base64_encode("http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']);
what do i need to change