Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Muhammad Arfeen  >  Zyb.com Contacts Importer  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example
Class: Zyb.com Contacts Importer
Retrieve contacts of Zyb.com users
Author: By
Last change:
Date: 4 years ago
Size: 597 bytes
 

Contents

Class file image Download
<?php

    
// example that pull the contacts details from zyb.com account

    
include "ZybImport.inc.php";
    
    
$Zyb = new ZYBImport("ZYB_UserName","ZYB_KEY") ;            // Get your username and key from settings page in zyb.com
    
    
$Contacts $Zyb->GetZybContacts();
                                            
                                            
                                            for(
$nIndex=0;$nIndex<count($Contacts);$nIndex++){
        
                                                            print 
"<br>Full Name     : " $Contacts[$nIndex]['Name'];        
                                                            print 
"<br>Phone Number: " $Contacts[$nIndex]['Phone'];        
                                                            
                                                            
                             
                                             }    
                        
                        
                        exit;
?>