Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Grab page needs session

  1. #1
    Senior Member atef's Avatar
    Join Date
    Feb 2011
    Posts
    230
    Thanks
    10
    Thanked 10 Times in 9 Posts
    Rep Power
    3

    Default Grab page needs session

    How to grab page needs session plz some1 tell me the code

  2. #2
    Senior Member something else's Avatar
    Join Date
    Feb 2008
    Location
    if($something){echo 'Status code 404'; }else{ echo 'coding-talk.com';}
    Posts
    1,819
    Thanks
    209
    Thanked 447 Times in 202 Posts
    Rep Power
    0

    Default

    use Curl

    [Only registered and activated users can see links. Click Here To Register...]


  3. #3
    Senior Member atef's Avatar
    Join Date
    Feb 2011
    Posts
    230
    Thanks
    10
    Thanked 10 Times in 9 Posts
    Rep Power
    3

    Default

    I know i must use curl but how to set the session?
    Please tell me whats worng at that code
    PHP Code:
    <?
    $ch 
    curl_init('http://mig33.com/sites/index.php?c=chatroom&v=midlet&a=setup_moderators&roomName='.$room); 
    curl_setopt($chCURLOPT_HEADER0); 
    curl_setopt($chCURLOPT_USERAGENT'Googlebot/2.1 (http://www.googlebot.com/bot2.html)');
    curl_setopt($chCURLOPT_RETURNTRANSFER1); 
    $text curl_exec($ch); 
    curl_close($ch); 
    curl_setopt($chCURLOPT_HEADER0); 
    curl_setopt($chCURLOPT_COOKIEFILE"cookiefile"); 
    curl_setopt($chCURLOPT_COOKIEJAR"cookiefile"); 
    curl_setopt($chCURLOPT_COOKIEsession_name() . '=' session_id()); 
    echo 
    $text
    ?>

  4. #4
    Senior Member something else's Avatar
    Join Date
    Feb 2008
    Location
    if($something){echo 'Status code 404'; }else{ echo 'coding-talk.com';}
    Posts
    1,819
    Thanks
    209
    Thanked 447 Times in 202 Posts
    Rep Power
    0

    Default

    oh flooding tools for mig33 ..........

    Sorry but your going to have to figure this out on your own as im not contributing to such script

    [Only registered and activated users can see links. Click Here To Register...]


  5. #5
    Senior Member atef's Avatar
    Join Date
    Feb 2011
    Posts
    230
    Thanks
    10
    Thanked 10 Times in 9 Posts
    Rep Power
    3

    Default

    its not flooding tool,
    it showing room moderators for easy report

  6. #6
    Senior Member frostymarvelous's Avatar
    Join Date
    Jun 2010
    Location
    Accra, Ghana.
    Posts
    258
    Thanks
    3
    Thanked 20 Times in 17 Posts
    Rep Power
    3

    Default

    Set all the options before you call exec()

    Otherwise, the cookie settings won't be set.

    Move $text = curl_exec
    ($ch); to the the bottom just before echo.

    Already told you I could do this script easy.Well, goodluck!

  7. #7
    Senior Member atef's Avatar
    Join Date
    Feb 2011
    Posts
    230
    Thanks
    10
    Thanked 10 Times in 9 Posts
    Rep Power
    3

    Default

    that code not working too
    PHP Code:
    <?
    $ch 
    curl_init('http://mig33.com/sites/index.php?c=chatroom&v=midlet&a=setup_moderators&roomName=egypt-kisses'); 
    curl_setopt($chCURLOPT_HEADER0); 
    curl_setopt($chCURLOPT_USERAGENT'Googlebot/2.1 (http://www.googlebot.com/bot2.html)');
    curl_setopt($chCURLOPT_COOKIEFILE"cookiefile"); 
    curl_setopt($chCURLOPT_COOKIEJAR"cookiefile"); 
    curl_setopt($chCURLOPT_COOKIEsession_name() . '=' session_id()); 
    curl_setopt($chCURLOPT_RETURNTRANSFER1); 
    $text curl_exec($ch); 
    curl_close($ch); 
    echo 
    $text
    ?>
    please give me the right code
    its not flood tool or ileagl script...

  8. #8
    Senior Member atef's Avatar
    Join Date
    Feb 2011
    Posts
    230
    Thanks
    10
    Thanked 10 Times in 9 Posts
    Rep Power
    3

    Default

    please some1 help there

  9. #9
    Member soul_reaper's Avatar
    Join Date
    Oct 2010
    Posts
    83
    Thanks
    14
    Thanked 17 Times in 6 Posts
    Rep Power
    3

    Default

    Code:
    <?php 
    $strCookie = 'PHPSESSID=' . $_COOKIE['PHPSESSID'] . '; path=/';
    session_write_close();
    $ch = curl_init('http://mig33.com/sites/index.php?c=chatroom&v=midlet&a=setup_moderators&roomName=egypt-kisses');  
    curl_setopt($ch, CURLOPT_HEADER, 0);  
    curl_setopt($ch, CURLOPT_USERAGENT, 'Googlebot/2.1 (http://www.googlebot.com/bot2.html)'); 
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt( $ch, CURLOPT_COOKIE, $strCookie );
    $text = curl_exec($ch);  
    curl_close($ch);  
    echo $text; 
    ?>
    try this..

  10. #10
    Senior Member atef's Avatar
    Join Date
    Feb 2011
    Posts
    230
    Thanks
    10
    Thanked 10 Times in 9 Posts
    Rep Power
    3

    Default

    not working bro, it giving error
    Moved Permanently
    The document has moved here

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. direct to main page using header(session)
    By whitewingz in forum Coding Forum
    Replies: 10
    Last Post: 21-02-11, 14:12
  2. how to grab
    By atef201080 in forum Coding Forum
    Replies: 2
    Last Post: 08-02-11, 18:32
  3. Rockwap.net(FREE) grab now
    By KiLLeR_mAcHInE in forum Marketplace
    Replies: 11
    Last Post: 07-02-11, 14:21
  4. Grab Youtube Videos
    By StRiNg_MaStEr in forum General Discussion
    Replies: 0
    Last Post: 14-07-10, 18:56
  5. Cheap VPS : GRAB IT
    By spiderwebs in forum Domains - Hosting - Servers
    Replies: 4
    Last Post: 17-09-09, 15:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19