Problem with creating php proxy
问题 I can't get this to work: <?php $url = 'http://someServer.com/save.asp?'; $count = 0; foreach($_POST as $key=>$value) { if( $count != 0 ) $url .= "&"; $url .= urlencode($key).'='.urlencode($value); $count++; } ?> <html> <head> <meta http-equiv="refresh" content="0;url=<?php echo $url;?>"> </head> <body> </body> </html> If I copy the output of the final $url string and paste it in directly in the browser, it works fine. So it looks like the $url gets built correctly, but there is some problem