Jump to content


This topic is now archived and is closed to further replies.


need curl help desparately!

Recommended Posts

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!

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.