this a php being called by flash while logged in... here is the php... close? may-be?
Code: Select all
<?php
$db=$this->GetDB();
$q="SELECT * FROM ".cms_db_prefix()."module_feusers_properties WHERE title=? AND userid=?";
$p=array($title,$userid);
$result=$db->Execute($q,$p);
echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\" standalone=\"yes\" ?>
<links>";
if ($result && $result->RecordCount()) {
$row=$result->FetchRow();
echo "<link name=\"" . $row["data"] . "\" ref=\"http://www.sjrmc.org/St_Joe_Core/upload/\"/>";
} else {
echo "<link name=\"Fail\" ref=\"http://www.sjrmc.org/St_Joe_Core/upload/\"/>";
}
echo "</links>";
/* echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\" standalone=\"yes\" ?>
<links>
<link name=\"Upload\" ref=\"http://www.zzzzzzzzz.org/upload/\"/>
<link name=\"Pictures & Videos\" ref=\"pictures.html\">
<inLink name=\"Image Gallery\" ref=\"pictures.html\"/>
<inLink name=\"Photoshop Tutorial\" ref=\"photoTut.html\"/>
</link>
<link name=\"Programming\" ref=\"xmlflash.html\">
<inLink name=\"XML flash tutorial\" ref=\"xmlflash.html\"/>
<inLink name=\"Nightshot Noise\" ref=\"nightShot.html\"/>
</link>
</links>";*/
?>