PHP Classes

some problem in this class

Recommend this page to a friend!

      Grab Gmail Address Book  >  All threads  >  some problem in this class  >  (Un) Subscribe thread alerts  
Subject:some problem in this class
Summary:cookies not created first time script running,
Date:2006-10-12 12:16:18
Update:2008-12-07 19:20:22


  1. some problem in this class   Reply   Report abuse  
manshipatil - 2006-10-12 12:16:18
It is good class but i have some problem.
i m trying this class on localhost machine.
when this script is running then cookies file is set
that time i have get not result(that mean address book list get empty).
when cookie file is created (i.e $cookieFileJar) then get correct
reulst importing addressbook of gmail.
i work on lot of but unable found error.

so plz help me.........

i think some error in this below lines.

//setting cookie file. make sure the file has write permission
$cookieFileJar = (isset($this->cookiePath))?($this->cookiePath. "/" . $cookieFileName) : ($_SERVER['DOCUMENT_ROOT'] . "/" . $cookieFileName);
$cookieFile = $cookieFileJar;
$refererUrl = $this->refererUrl;

$c = curl_init();
curl_setopt($c, CURLOPT_URL, $this->url);

  2. Re: some problem in this class   Reply   Report abuse  
Manoj More - 2007-01-12 11:37:28 - In reply to message 1 from manshipatil
I am also facing the same problem. I can not import the Address Book.
Please provide me more infomrmation to import Gmail address book.

  3. Re: some problem in this class   Reply   Report abuse  
Shumit Rehman - 2008-12-07 19:20:22 - In reply to message 2 from Manoj More

I cannot import anything out of googlemail. As I understand it, this is the same as gmail in the UK. Can u help