PHP CURL Help please

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    PHP CURL Help please

    Im trying to grab a page with curl and then i try make the links post data back to the script when you click the link so you can browse the site but when i use
    ?page=http://example.com/nextpage.php
    the page just comes up blank
    any ideas?

    #2
    put:
    PHP Code:
    error_reporting  (E_ALL);
    ini_set ('display_errors'true); 
    on the top of your page to find your error :P

    Comment


      #3
      print_r();

      Comment


        #4
        i think its because the url i am scanning after the first page is trying to keep the session any ideas on how to do that properly ? i have looked at some tutorials but i cant seem to get it right

        Comment


          #5
          curl_setopt($ch, CURLOPT_COOKIEJAR, './cookies.txt');

          i use this curl function but when i check for the file it doesnt exist ? any suggestions ?

          Comment


            #6
            Post your curl code here and i will give you an answer or try with file_get_contents, some sites support to grab informations with curl other with file_get_contents ;)
            www.inbuzunar.mobi - Your mobile portal pocket

            Comment


              #7
              use Snoopy.class it will be easier to grab remote web pages.

              Comment

              Working...
              X