<?php
include('simple_html_dom.php');
include('webs-api.php');
$username="username";
$password="password";
$api-key="apikey";
$webs = new Webs($username, $password, $api-key);
$webs->listPages($type);
$webs->addPageContent($page_id,$title,$body);
$webs->addAlbumPhoto($page_id,$title,$caption,$imagesrc);
$webs->addBlogEntry($title,$body);
$webs->listFiles($path,$filter);
$webs->getFileInfo($path,$file);
$webs->uploadFile($file,$path);
$webs->renameFile($path,$file,$rename,$title,$tags,$description,$private);
?>
|