hey. i have been trying for a week to get this to work, but it just wont! can someone help me out with this one?? thank you! the problem is that this code wont redirect to a php page, only html pages!! i desparately need help! thank you! [code] <?php $url = "http://www.jedit.org/index.php?page=download"; $ch = curl_init(); curl_setopt ($ch, CURLOPT_URL, $url); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_setopt ($ch, CURLOPT_RETURNTRANSFER, 1); $result = curl_exec ($ch); curl_close ($ch); return $result; ?> [/code] Thank you!