Stripping email addresses.
In category Geebin on 19 Oct 2005 @ 10:56 am
On the INFS3204 site there is a page containing everyone's personal info including email addresses. Seeing I'm going to make the effort to put in an official complaint about the course, I wanted to ask people if they had any issues that I hadn't thought of. To strip the email addresses from the page I used some very basic php.
Now I just need to ask if anyone has any issues. Happy hunting.
Maz
<?php
// MOSS - by Maz
$data = m_readFile("infs.txt");
$list = array();
preg_match_all("/s[0-9]+@student\.uq\.edu\.au/",$data,$list);
echo "<p>";
for($i=0;$i<count($list[0]);$i++)
{
echo $list[0][$i] ."; ";
}
echo "</p>";
?>
// MOSS - by Maz
$data = m_readFile("infs.txt");
$list = array();
preg_match_all("/s[0-9]+@student\.uq\.edu\.au/",$data,$list);
echo "<p>";
for($i=0;$i<count($list[0]);$i++)
{
echo $list[0][$i] ."; ";
}
echo "</p>";
?>
Now I just need to ask if anyone has any issues. Happy hunting.
Maz
With that kind of information someone could do a stat dec and sit an exam as you!! Just hope they a weebl bit smarter for ur sake. Although, wanting to sit a exam you don't have to= pretty dumb
Comment by Lisa on 19 Oct 2005 @ 04:05 pm
http://this one
Comment by Lisa on 19 Oct 2005 @ 04:05 pm
http://this one




That's 1000x worse than Shazia's INFS1200 effort
Comment by sef on 19 Oct 2005 @ 02:23 pm