$sXML = new SimpleXMLElement('<deletepicture />');
foreach($planspaceImages as $img)
{
$xImg = $sXML->addChild('img');
$xImg->addChild("id", $img["id"]);
$xImg->addChild("album_id", $img["album_id"]);
$xImg->addChild("personal_id", $img["personal_id"]);
$xImg->addChild("name", $img["name"]);
$xImg->addChild("description", $img["description"]);
}
//$this->picfilepath = sfConfig::get('app_deleteduser_rootdir');
$sXML->asXML("pic.xml");
i want to this xml data store in dynamic filepath$this->picfilepath = sfConfig::get('app_deleteduser_rootdir')."\".$personId;
the above code generated pic.xml in my project web directory,but i want to dynamic filepath.
plz hel me.
anybody plz help me.