Results 1 to 4 of 4
Threaded View
-
9th Aug 2011, 06:23 PM #1OPMemberWebsite's:
XtremeSharez.orgCurl IPB help
i need help with curl to login to ipb forum board ..please check ..problem with the code below ..the user is not logined in the output ..displays the login page
Code:<?php $User="*****"; $Pass="******"; $url="http:///****.com/forums/index.php?app=core&module=global§ion=login"; $ch = curl_init($url); @curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); @curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, "username=".$User."&password=".$Pass.""); curl_setopt ($ch, CURLOPT_COOKIEJAR, 'cookie.txt'); curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt'); $result= curl_exec ($ch); curl_close ($ch); print $result; ?>
xwarlordx Reviewed by xwarlordx on . Curl IPB help i need help with curl to login to ipb forum board ..please check ..problem with the code below ..the user is not logined in the output ..displays the login page <?php $User="*****"; $Pass="******"; $url="http:///****.com/forums/index.php?app=core&module=global§ion=login"; $ch = curl_init($url); @curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); @curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Curl to Uploaded.to
By skinner in forum Web Development AreaReplies: 18Last Post: 12th Feb 2012, 07:05 AM -
Need Help In cURL Progressbar
By saninokia in forum Web Development AreaReplies: 20Last Post: 20th Jan 2012, 08:14 AM -
Curl url file (I need help)
By spanero in forum Web Development AreaReplies: 3Last Post: 22nd Dec 2011, 04:23 PM -
cURL Pro Coders.
By kohkindachi in forum Completed TransactionsReplies: 2Last Post: 5th Dec 2010, 12:30 AM -
How to install CURL in WHM
By ken in forum Technical Help Desk SupportReplies: 2Last Post: 22nd Sep 2010, 01:46 PM
themaManager - edit and manage...
Version 4.19 released. Open older version (or...