Jump to content


Photo

need curl help desparately!


  • Please log in to reply
No replies to this topic

#1 arbol

arbol
  • New Members
  • Pip
  • Newbie
  • 8 posts

Posted 04 July 2006 - 11:06 PM

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!



<?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; ?>

Thank you!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users