Re: Creating user in google apps with zend works but hangs

23 views
Skip to first unread message
Message has been deleted

Tony

unread,
Aug 3, 2012, 4:35:28 PM8/3/12
to google-app...@googlegroups.com

On Friday, August 3, 2012 10:34:32 AM UTC-10, Tony wrote:
I'm suspecting that this happen because I haven't install the zend fw properly. All i did was extract zend folder and add to the same directory of my php file. It works but just takes a while (minutes) even with one entry and the page hangs forever. Any suggest or thought where i can do it without really installing the fw? Here is my code:
 
require_once 'Zend/Loader.php';
Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
Zend_Loader::loadClass('Zend_Gdata_Gapps');
$client= Zend_Gdata_ClientLogin::getHttpClient($email, $pass, Zend_Gdata_Gapps::AUTH_SERVICE_NAME);
$gdata=new Zend_Gdata_Gapps($client, $domain);
$gdata->createUser('test', 'user', 'dummy', 'password');
 
 
Reply all
Reply to author
Forward
0 new messages