arbol Posted July 4, 2006 Share Posted July 4, 2006 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! Quote Link to comment https://forums.phpfreaks.com/topic/13679-need-curl-help-desparately/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.