ng?? I guess that's what I'm trying to do
I have a curl script that when it runs, runs a page from megaupload via my premium account cookie
I want to pick through the source code with preg_matches to pull out what I need, and I have the code all figured out but I don't know how to search the returned page
I can't file_get_contents to my own server for some reason...so I don't know what to do.
I need a way to treat the result of a curl session as a stri
Moderator: General Moderators
Re: I need a way to treat the result of a curl session as a stri
there's a option to return the source code that you can set using...
...i think?
Code: Select all
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$source = curl_exec();