Phishing Around
Check out d3 eMinistry's entry for tips on how NOT to be the next victim.
public string album;
public string artist;
public string song;
public string image;
string filepath = Server.MapPath("songout.xml");
System.Data.DataSet ds = new System.Data.DataSet("nowplaying");
ds.ReadXml(filepath,System.Data.XmlReadMode.InferSchema);
artist = ds.Tables[0].Rows[0]["artist"].ToString();
if (artist == "Stopped")
{
image = "nosong.jpg";
artist = "";
song = "";
album = "Not Listening";
}
else
{
image = "smsongout.jpg";
album = ds.Tables[0].Rows[0]["album"].ToString();
song = ds.Tables[0].Rows[0]["title"].ToString();
}
Live software taps into a growing trend for software to be delivered online, with relevant data and content held on back-end servers.
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.