Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.
PHP cURL help
Hello all,
I know that I am probably stupid. (I certainly feel that way) I have not been quite able to grasp cURL from the php.net website enough to be able to make a simple page save to a folder on my ftp server. I know that I may be butchering syntaxes, have errors beyond imagination, etc. but I would like some advice on just getting this very very very simple code up and running. I really appreciate your help, and it would be best for me if the only criticism offered was constructive, as opposed to calling me retarded, etc. Also, there may be no problems with the code (I doubt it) but there is a possibility that I require some chmodding or other server stuff.
Here goes nothing:
$ch = curl_init("http://www.google.com");
$file = fopen(stuff/goog.html, a+);
curl_setopt($ch, CURLOPT_FILE, $file);
curl_setopt($ch, CURLOPT_HEADER, 1);
curl_close($ch);
fclose($file);
?>```
Thanks again for any help at all that you may be able to offer,
~t0xik
Also, if you want the errors that I get when I do this pm me, as I have been fiddling a lot with this and the errors I get change often, but there are always errors.