I came across a new issue in curl request with php.
I need to fetch a document from other host http://xyz.com/content.html. I cannot view that page without login credentials. So I have given http://user:firstname.lastname@example.org/content.html?get1=x&get2=y.
I can send a successfull curl request to that page in a command line on my server.
So I have given in my code
(IM using 'simple_html_dom.php')
$html = file_get_html("http://user:email@example.com/content.html?get1=x&get2=y");
This one not yielding the result and doesnot even produce any errors.
Though I can yield the result by giving "php -f myfile.php" on my server host.
What is that am I missing here. ??
Any help will be much appreciated