Search found 5 matches

by deldadeh
Mon Nov 23, 2009 12:38 pm
Forum: PHP - Code
Topic: curl login
Replies: 7
Views: 689

Re: curl login

CURLOPT_FOLLOWLOCATION http://us2.php.net/manual/en/function.curl-setopt.php hi thanks but this error occurs. Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/mysite/public_html/curl/curl.php on line 58 an...
by deldadeh
Sun Nov 22, 2009 1:45 pm
Forum: PHP - Code
Topic: curl login
Replies: 7
Views: 689

Re: curl login

josh wrote:Follow the http header redirect
how?
please help me.
explain more...
:drunk:
by deldadeh
Sun Nov 22, 2009 12:20 pm
Forum: PHP - Code
Topic: curl login
Replies: 7
Views: 689

Re: curl login

i mean this the returned string is this HTTP/1.1 100 Continue HTTP/1.1 302 Found Date: Sun, 22 Nov 2009 18:11:01 GMT Server: Apache/2.2.11 (Debian) X-Powered-By: Cloob Framework/1.0.1 Set-Cookie: PHPSESSID=54e51bd64e40e6bf3541345ee-895609; path=/; HttpOnly Expires: Thu, 19 Nov 1981 08:52:00 GMT Cach...
by deldadeh
Sun Nov 22, 2009 5:51 am
Forum: PHP - Code
Topic: curl login
Replies: 7
Views: 689

Re: curl login

josh wrote:Turn on error reporting
i turned it on but there is no error.
also i user header parameter, and sent me the successfull header, but i need the full page not just the header.
thanks
by deldadeh
Sat Nov 21, 2009 1:29 pm
Forum: PHP - Code
Topic: curl login
Replies: 7
Views: 689

curl login

Hi i want to login a website with curl and this is code why it doesn't make any output and there is no result.   $id =""; // my username $password =""; // my pass $secfrdcodedvar =""; // some value i get from the page $frm-id=""; // some value i get from the p...